Inventory Shipment Line Item
Requires access scope.
Represents a single line item within an inventory shipment.
Anchor to FieldsFields
- Anchor to acceptedQuantityaccepted•Int!
Quantity non-null The quantity of items that were accepted in this shipment line item.
- •ID!non-null
A globally-unique ID.
- Anchor to inventoryIteminventory•Inventory
Item Item The inventory item associated with this line item.
- Anchor to quantityquantity•Int!non-null
The quantity of items in this shipment line item.
- Anchor to rejectedQuantityrejected•Int!
Quantity non-null The quantity of items that were rejected in this shipment line item.
- Anchor to unreceivedQuantityunreceived•Int!
Quantity non-null The total quantity of units that haven't been received (neither accepted or rejected) in this shipment line item.
Anchor to MutationsMutations
- •mutation
Adds items to a draft inventory shipment.
- •ID!required
The ID of the draft inventory shipment to modify.
- Anchor to lineItemsline•[Inventory
Items Shipment Line Item Input!]! required The list of line items to add to the inventory shipment.
Arguments
- Anchor to addedItemsadded•[Inventory
Items Shipment Line Item!] The list of added line items.
- Anchor to inventoryShipmentinventory•Inventory
Shipment Shipment The inventory shipment with the added items.
- Anchor to userErrorsuser•[Inventory
Errors Shipment Add Items User Error!]! non-null The list of errors that occurred from executing the mutation.
Fields
- •ID!
- •mutation
Updates items on a draft inventory shipment.
- •ID!required
The ID of the inventory shipment to update item quantities.
- Anchor to itemsitems•[Inventory
Shipment Update Item Quantities Input!] Default:[] The list of line items to be updated to the shipment.
Arguments
- Anchor to shipmentshipment•Inventory
Shipment The inventory shipment with updated item quantities.
- Anchor to updatedLineItemsupdated•[Inventory
Line Items Shipment Line Item!] The updated item quantities.
- Anchor to userErrorsuser•[Inventory
Errors Shipment Update Item Quantities User Error!]! non-null The list of errors that occurred from executing the mutation.
Fields
- •ID!