fulfillment Line Item Bins Set
Requires access scope, access scope or 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 reflects the new
breakdown right away.
This mutation is available only in the unstable API version and to development stores that have enabled the Physical inventory feature preview.
This mutation is available only in the unstable API version and to development stores that have enabled the Physical inventory feature preview.
Note: This mutation is available only in the unstable API version and to development stores that have enabled the <a href="https://shopify.dev/changelog/physical-inventory-feature-preview">Physical inventory feature preview</a>.
Arguments
- fulfillmentId (ID!)
- lineItems ([FulfillmentLineItemBinInput!]!)
- Anchor to fulfillmentIdfulfillment•ID!
Id required The ID of the successful fulfillment whose bins are being set.
- Anchor to lineItemsline•[Fulfillment
Items Line Item Bin Input!]! 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
- fulfillment (Fulfillment)
- userErrors ([FulfillmentLineItemBinsSetUserError!]!)
- Anchor to fulfillmentfulfillment•Fulfillment
The fulfillment with its updated bin quantities.
Show fields
- Anchor to userErrorsuser•[Fulfillment
Errors Line Item Bins Set User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields