Inventory Count Line Item
Requires access scope, or access scope for the Physical inventory feature preview. Also: The user must have permission to view inventory counts.
Represents a line item on an inventory count.
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
- expectedQuantity (Int)
- id (ID!)
- invalidated (Boolean!)
- inventoryItem (InventoryItem)
- productTitle (String)
- sku (String)
- stale (Boolean!)
- totalCountedQuantity (Int)
- variance (Int)
- variantTitle (String)
- Anchor to expectedQuantityexpected•Int
Quantity The quantity expected for this item at the count's location.
- •ID!non-null
A globally-unique ID.
- Anchor to invalidatedinvalidated•Boolean!non-null
Whether this line's counted result has been invalidated.
- Anchor to inventoryIteminventory•Inventory
Item Item The inventory item being counted.
Show fields
- Anchor to productTitleproduct•String
Title The product title for the inventory item being counted.
- •String
The SKU for the inventory item being counted.
- Anchor to stalestale•Boolean!non-null
Whether the item's expected quantity has gone out of date because its on-hand quantity changed during the count.
- Anchor to totalCountedQuantitytotal•Int
Counted Quantity The total counted quantity for this item.
- Anchor to variancevariance•Int
The difference between the counted and expected quantities.
- Anchor to variantTitlevariant•String
Title The variant title for the inventory item being counted.
Anchor to MutationsMutations
- inventoryCountAddItems (InventoryCountAddItemsPayload)
- inventoryCountRecordObservations (InventoryCountRecordObservationsPayload)
- •mutation
Adds inventory items to an existing inventory count.
Show payload
- •ID!required
The ID of the inventory count.
- Anchor to lineItemsline•[Inventory
Items Count Line Item Input!]! required The line items to add to the count.
Show input fields
Arguments
- •ID!
- •mutation
Records observations for items in an inventory count as counted quantities. Each observation input identifies an inventory item by its ID; if the item is not yet on the count, a line is created for it. Each delta quantity for an observation adds to the item's total quantity.
Show payload
- •ID!required
The ID of the inventory count.
- Anchor to observationsobservations•[Inventory
Count Observation Input!]! required The observations to record.
Show input fields
Arguments
- •ID!