Skip to main content
Anchor to inventoryShipmentAddItems

inventoryShipmentAddItems

mutation

Requires write_inventory_shipments access scope. Also: The user must have permission to manage inventory.

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.


•ID!
required

The ID of the inventory shipment to modify.

•[InventoryShipmentLineItemInput!]!
required

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


Was this section helpful?

Anchor to InventoryShipmentAddItemsPayload returnsInventoryShipmentAddItemsPayload returns

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


Was this section helpful?