Inventory Bin
Requires access scope. Also: The shop must have access to the physical inventory feature preview.
A physical container (bin) at a location where inventory is stored.
This object is available only in the unstable API version and to development stores that have enabled the Physical inventory feature preview.
This object is available only in the unstable API version and to development stores that have enabled the Physical inventory feature preview.
Note: This object 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>.
Anchor to FieldsFields
- barcode (String)
- id (ID!)
- inventoryBinItemQuantities (InventoryBinItemQuantityConnection)
- name (String!)
- Anchor to barcodebarcode•String
The barcode of the bin. Unique within its location when present.
- •ID!non-null
A globally-unique ID.
- Anchor to inventoryBinItemQuantitiesinventory•Inventory
Bin Item Quantities Bin Item Quantity Connection A paginated list of the inventory item quantities stored in this bin.
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.
Arguments
- Anchor to namename•String!non-null
The name of the bin. Unique within its location.
Anchor to MutationsMutations
- inventoryBinUpsert (InventoryBinUpsertPayload)
- •mutation
Creates or updates bins at a given location.
NoteThis 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 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>.
- 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.
Arguments