Skip to main content
Anchor to InventoryShipmentLineItem

InventoryShipmentLineItem

object

Requires read_inventory_shipments access scope.

Represents a single line item within an inventory shipment.

Int!
non-null

The quantity of items that were accepted in this shipment line item.

ID!
non-null

A globally-unique ID.

InventoryItem

The inventory item associated with this line item.

Int!
non-null

The quantity of items in this shipment line item.

Int!
non-null

The quantity of items that were rejected in this shipment line item.

Int!
non-null

The total quantity of units that haven't been received (neither accepted or rejected) in this shipment line item.


Was this section helpful?

mutation

Adds items to an inventory shipment.

Arguments

ID!
required

The ID of the inventory shipment to modify.

[InventoryShipmentLineItemInput!]!
required

The list of line items to add to the inventory shipment.


Fields

[InventoryShipmentLineItem!]

The list of added line items.

InventoryShipment

The inventory shipment with the added items.

[InventoryShipmentAddItemsUserError!]!
non-null

The list of errors that occurred from executing the mutation.

mutation

Updates items on an inventory shipment.

Arguments

ID!
required

The ID of the inventory shipment to update item quantities.

[InventoryShipmentUpdateItemQuantitiesInput!]
Default:[]

The list of line items to be updated to the shipment.


Fields

InventoryShipment

The inventory shipment with updated item quantities.

[InventoryShipmentLineItem!]

The updated item quantities.

[InventoryShipmentUpdateItemQuantitiesUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

interface

Was this section helpful?