Skip to main content
Anchor to fulfillmentLineItemBinsSet

fulfillmentLineItemBinsSet

mutation

Requires write_assigned_fulfillment_orders access scope, write_merchant_managed_fulfillment_orders access scope or write_third_party_fulfillment_orders access scope. Also: The shop must have access to the physical inventory feature preview. The user must have fulfill_and_ship_orders permission.

Sets the bins that a successful fulfillment's line items were picked from, replacing the current breakdown for each line item in the input. Line items that aren't listed keep their current bins. The fulfillment itself and its committed quantities don't change: inventory moves between bins through compensating movements, and binQuantities reflects the new breakdown right away.


Note

This mutation is available only in the unstable API version and to development stores that have enabled the Physical inventory feature preview.


•ID!
required

The ID of the successful fulfillment whose bins are being set.

•[FulfillmentLineItemBinInput!]!
required

The complete bin breakdown for each fulfillment line item to update, one entry per line item and bin. At least one entry is required.

Show input fields

Was this section helpful?

Anchor to FulfillmentLineItemBinsSetPayload returnsFulfillmentLineItemBinsSetPayload returns

•Fulfillment

The fulfillment with its updated bin quantities.

Show fields
•[FulfillmentLineItemBinsSetUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?