Skip to main content
mutation

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

Creates or updates bins at a given location.


Note

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


•[InventoryBinInput!]!
required

The list of inventory bins to create or update at the given location.

•ID!
required

The ID of the location where these inventory bins reside.


Was this section helpful?

Anchor to InventoryBinUpsertPayload returnsInventoryBinUpsertPayload returns

•[InventoryBin!]

The list of inventory bins that were created or updated.

•[InventoryBinUpsertUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?