Skip to main content
mutation

Requires write_inventory access scope. Also: The shop must have access to the physical inventory feature preview.

Creates, updates and deletes inventory bins in a single atomic operation. If any operation fails, no changes are applied.


Note

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


•[InventoryBinsEditInput!]!
required

The bin operations to apply. Each entry is exactly one of create, update or delete.

Show input fields

Was this section helpful?

Anchor to InventoryBinsEditPayload returnsInventoryBinsEditPayload returns

•[InventoryBin!]

The bins that were created.

Show fields
•[ID!]

The IDs of the bins that were deleted.

•[InventoryBin!]

The bins that were updated.

Show fields
•[InventoryBinsEditUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?