Skip to main content
object

Requires read_inventory_shipments access scope.

Represents an inventory shipment.

Anchor to Fields and connectionsFields and connections

•ID!non-null

A globally-unique ID.

•Int!non-null

The number of items associated with the shipment.

•InventoryShipmentLineItemConnection

The line items included in this shipment.

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

Returns an inventory shipment by ID.


Was this section helpful?

•mutation

Adds items to a draft inventory shipment.

Arguments

•ID!required

The ID of the draft 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

Marks a draft inventory shipment as in transit.

Arguments

•ID!required

The ID of the inventory shipment to mark in transit.


Fields

•InventoryShipment

The marked in transit inventory shipment.

•[InventoryShipmentMarkInTransitUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Receive an inventory shipment.

Arguments

•InventoryShipmentReceiveLineItemReason

The bulk receive action for the inventory shipment.

•ID!required

The ID of the inventory shipment to receive.

•[InventoryShipmentReceiveItemInput!]

The list of receive line items for the inventory shipment.


Fields

•InventoryShipment

The inventory shipment with received items.

•[InventoryShipmentReceiveUserError!]!non-null

The list of errors that occurred from executing the mutation.

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


Fields

•InventoryShipment

The inventory shipment with items removed.

•[InventoryShipmentRemoveItemsUserError!]!non-null

The list of errors that occurred from executing the mutation.

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


Fields

•InventoryShipment

The inventory shipment with the edited tracking info.

•[InventoryShipmentSetTrackingUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Updates items on a draft 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.

•mutation

Adds a draft shipment to an inventory transfer.

Arguments

•InventoryTransferAddShipmentInput!required

The input fields for the inventory shipment.


Fields

•InventoryShipment

The created inventory shipment.

•[InventoryTransferAddDraftShipmentUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Adds an in-transit shipment to an inventory transfer.

Arguments

•InventoryTransferAddShipmentInput!required

The input fields for the inventory shipment.


Fields

•InventoryShipment

The created inventory shipment.

•[InventoryTransferAddInTransitShipmentUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

•interface

Was this section helpful?