Skip to main content
query

Requires read_inventory_shipments access scope. Also: The user must have permission to view products.

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

•ID!
required

The ID of the inventory shipment.


Was this section helpful?

•InventoryShipment

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?