inventory Bin Upsert
Requires access scope. Also: The shop must have access to the physical inventory feature preview.
Creates or updates bins at a given location.
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
- inventoryBins ([InventoryBinInput!]!)
- locationId (ID!)
- Anchor to inventoryBinsinventory•[Inventory
Bins Bin Input!]! required The list of inventory bins to create or update at the given location.
- Anchor to locationIdlocation•ID!
Id required The ID of the location where these inventory bins reside.
- inventoryBins ([InventoryBin!])
- userErrors ([InventoryBinUpsertUserError!]!)
- Anchor to inventoryBinsinventory•[Inventory
Bins Bin!] The list of inventory bins that were created or updated.
- Anchor to userErrorsuser•[Inventory
Errors Bin Upsert User Error!]! non-null The list of errors that occurred from executing the mutation.