inventory Count
Requires access scope. Also: The user must have permission to view inventory counts.
Returns an InventoryCount object by ID.
Arguments
- id (ID!)
- •ID!required
The ID of the inventory count.
Anchor to Possible returnsPossible returns
- InventoryCount (InventoryCount)
- Anchor to InventoryCountInventory•Inventory
Count Count Represents an inventory count operation for auditing and adjusting stock levels at a specific location.
NoteThis 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 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>.
Show fields
- Anchor to closedAtclosed•Date
At Time The date and time the count was closed. A count is closed when it's completed or canceled.
- Anchor to compareDigestcompare•String!
Digest non-null The data stored in the resource, represented as a digest.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time the count was created.
- Anchor to createdBycreated•Staff
By Member The staff member who created the count.
Show fields
- •ID!non-null
A globally-unique ID.
- Anchor to lineItemsline•Inventory
Items Count Line Item Connection! non-null The line items included in this count.
Show fields
- 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.- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to lineItemsCountline•Count
Items Count The number of line items in this count.
Show fields
- Anchor to locationSnapshotlocation•Location
Snapshot Snapshot! non-null A snapshot of the count's location.
Show fields
- Anchor to namename•String!non-null
The display name for the count.
- Anchor to notenote•String
A note about the count.
- Anchor to plannedAtplanned•Date
At Time The planned date for the count.
- Anchor to statusstatus•Inventory
Count Status! non-null The derived status of the count.
Show enum values
- •[String!]!non-null
A list of tags associated with the count.
- Anchor to titletitle•String
The title of the count.