Inventory Shipment
Requires access scope.
Represents an inventory shipment.
Anchor to FieldsFields
- Anchor to dateCreateddate•Date
Created Time The date the shipment was created in UTC.
- Anchor to dateReceiveddate•Date
Received Time The date the shipment was initially received in UTC.
- Anchor to dateShippeddate•Date
Shipped Time The date the shipment was shipped in UTC.
- •ID!non-null
A globally-unique ID.
- Anchor to lineItemsline•Inventory
Items Shipment Line Item Connection The line items included in this shipment.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Shipment
Key Line Item Sort Keys Default:ID Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to lineItemsCountline•Count
Items Count The number of line items associated with the inventory shipment. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to lineItemTotalQuantityline•Int!
Item Total Quantity non-null The total quantity of all items in the shipment.
- Anchor to namename•String!non-null
The name of the inventory shipment.
- Anchor to statusstatus•Inventory
Shipment Status! non-null The current status of the shipment.
- Anchor to totalAcceptedQuantitytotal•Int!
Accepted Quantity non-null The total quantity of items accepted across all line items in this shipment.
- Anchor to totalReceivedQuantitytotal•Int!
Received Quantity non-null The total quantity of items received (both accepted and rejected) across all line items in this shipment.
- Anchor to totalRejectedQuantitytotal•Int!
Rejected Quantity non-null The total quantity of items rejected across all line items in this shipment.
- Anchor to trackingtracking•Inventory
Shipment Tracking The tracking information for the shipment.
Anchor to QueriesQueries
- •query
- •ID!required
The ID of the inventory shipment.
Arguments
- •ID!
Anchor to MutationsMutations
- •mutation
Adds items to an inventory shipment.
CautionAs of 2026-01, this mutation supports an optional idempotency key using the
@idempotentdirective. As of 2026-04, the idempotency key is required and must be provided using the@idempotentdirective. For more information, see the idempotency documentation.- •ID!required
The ID of the 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
- •ID!
- •mutation
Adds a draft shipment to an inventory transfer.
CautionAs of 2026-01, this mutation supports an optional idempotency key using the
@idempotentdirective. As of 2026-04, the idempotency key is required and must be provided using the@idempotentdirective. For more information, see the idempotency documentation.- Anchor to inputinput•Inventory
Shipment Create Input! required The input fields for the inventory shipment.
Arguments
- •mutation
Adds an in-transit shipment to an inventory transfer.
CautionAs of 2026-01, this mutation supports an optional idempotency key using the
@idempotentdirective. As of 2026-04, the idempotency key is required and must be provided using the@idempotentdirective. For more information, see the idempotency documentation.- Anchor to inputinput•Inventory
Shipment Create Input! required The input fields for the inventory shipment.
Arguments
- •mutation
Marks a draft inventory shipment as in transit.
- •ID!required
The ID of the inventory shipment to mark in transit.
- Anchor to dateShippeddate•Date
Shipped Time The date the shipment was shipped.
Arguments
- •ID!
- •mutation
Receive an inventory shipment.
CautionAs of 2026-01, this mutation supports an optional idempotency key using the
@idempotentdirective. As of 2026-04, the idempotency key is required and must be provided using the@idempotentdirective. For more information, see the idempotency documentation.- •ID!required
The ID of the inventory shipment to receive.
- Anchor to lineItemsline•[Inventory
Items Shipment Receive Item Input!] The list of receive line items for the inventory shipment.
- Anchor to dateReceiveddate•Date
Received Time The date the inventory shipment was initially received.
- Anchor to bulkReceiveActionbulk•Inventory
Receive Action Shipment Receive Line Item Reason The bulk receive action for the inventory shipment.
Arguments
- •ID!
- •mutation
Remove items from an inventory shipment.
- •ID!required
The ID of the inventory shipment to remove items from.
- Anchor to lineItemsline•[ID!]!
Items required A list of inventory shipment line item ids representing the items to be removed from the shipment.
Arguments
- •ID!
- •mutation
Edits the tracking info on an inventory shipment.
- •ID!required
The ID of the inventory shipment whose tracking info is being edited.
- Anchor to trackingtracking•Inventory
Shipment Tracking Input! required The tracking info to edit on the inventory shipment.
Arguments
- •ID!
- •mutation
Updates items on an 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
- •ID!