Skip to main content
Anchor to InventoryCountLineItem

InventoryCountLineItem

object

Requires read_inventory_counts access scope, or read_inventory 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.


Note

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


•Int

The quantity expected for this item at the count's location.

•ID!
non-null

A globally-unique ID.

•Boolean!
non-null

Whether this line's counted result has been invalidated.

•InventoryItem

The inventory item being counted.

Show fields
•String

The product title for the inventory item being counted.

•String

The SKU for the inventory item being counted.

•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 totalCountedQuantitytotalCountedQuantity
•Int

The total counted quantity for this item.

•Int

The difference between the counted and expected quantities.

•String

The variant title for the inventory item being counted.


Was this section helpful?

•mutation

Adds inventory items to an existing inventory count.

Show payload

Arguments

•ID!
required

The ID of the inventory count.

•[InventoryCountLineItemInput!]!
required

The line items to add to the count.

Show input fields

•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

Arguments

•ID!
required

The ID of the inventory count.

•[InventoryCountObservationInput!]!
required

The observations to record.

Show input fields


Was this section helpful?

•interface

Was this section helpful?