Skip to main content
object

Requires read_inventory_shipments access scope.

Represents an inventory shipment.

DateTime

The date the shipment was created in UTC.

DateTime

The date the shipment was initially received in UTC.

DateTime

The date the shipment was shipped in UTC.

ID!
non-null

A globally-unique ID.

InventoryShipmentLineItemConnection

The line items included in this shipment.

Arguments

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.

ShipmentLineItemSortKeys
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.

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 default
string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234

Count

The number of line items associated with the inventory shipment. Limited to a maximum of 10000 by default.

Arguments

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 default
string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Int
Default:10000

The upper bound on count value before returning a result. Use null to have no limit.


Anchor to lineItemTotalQuantitylineItemTotalQuantity
Int!
non-null

The total quantity of all items in the shipment.

String!
non-null

The name of the inventory shipment.

InventoryShipmentStatus!
non-null

The current status of the shipment.

Anchor to totalAcceptedQuantitytotalAcceptedQuantity
Int!
non-null

The total quantity of items accepted across all line items in this shipment.

Anchor to totalReceivedQuantitytotalReceivedQuantity
Int!
non-null

The total quantity of items received (both accepted and rejected) across all line items in this shipment.

Anchor to totalRejectedQuantitytotalRejectedQuantity
Int!
non-null

The total quantity of items rejected across all line items in this shipment.

InventoryShipmentTracking

The tracking information for the shipment.


Was this section helpful?

query

Retrieves an InventoryShipment by ID. Returns tracking details, InventoryShipmentLineItem objects with quantities, and the shipment's current InventoryShipmentStatus.

Arguments

ID!
required

The ID of the inventory shipment.



Was this section helpful?

mutation

Adds items to an inventory shipment.


Caution

As of 2026-01, this mutation supports an optional idempotency key using the @idempotent directive. As of 2026-04, the idempotency key is required and must be provided using the @idempotent directive. For more information, see the idempotency documentation.


Arguments

ID!
required

The ID of the inventory shipment to modify.

[InventoryShipmentLineItemInput!]!
required

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


mutation

Adds a draft shipment to an inventory transfer.


Caution

As of 2026-01, this mutation supports an optional idempotency key using the @idempotent directive. As of 2026-04, the idempotency key is required and must be provided using the @idempotent directive. For more information, see the idempotency documentation.


Arguments

InventoryShipmentCreateInput!
required

The input fields for the inventory shipment.


mutation

Adds an in-transit shipment to an inventory transfer.


Caution

As of 2026-01, this mutation supports an optional idempotency key using the @idempotent directive. As of 2026-04, the idempotency key is required and must be provided using the @idempotent directive. For more information, see the idempotency documentation.


Arguments

InventoryShipmentCreateInput!
required

The input fields for the inventory shipment.


mutation

Marks a draft inventory shipment as in transit.

Arguments

ID!
required

The ID of the inventory shipment to mark in transit.

DateTime

The date the shipment was shipped.


mutation

Receive an inventory shipment.


Caution

As of 2026-01, this mutation supports an optional idempotency key using the @idempotent directive. As of 2026-04, the idempotency key is required and must be provided using the @idempotent directive. For more information, see the idempotency documentation.


Arguments

ID!
required

The ID of the inventory shipment to receive.

[InventoryShipmentReceiveItemInput!]

The list of receive line items for the inventory shipment.

DateTime

The date the inventory shipment was initially received.

InventoryShipmentReceiveLineItemReason

The bulk receive action for the inventory shipment.


mutation

Remove items from an inventory shipment.

Arguments

ID!
required

The ID of the inventory shipment to remove items from.

[ID!]!
required

A list of inventory shipment line item ids representing the items to be removed from the shipment.


mutation

Edits the tracking info on an inventory shipment.

Arguments

ID!
required

The ID of the inventory shipment whose tracking info is being edited.

InventoryShipmentTrackingInput!
required

The tracking info to edit on the inventory shipment.


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.



Was this section helpful?

interface

Was this section helpful?