Skip to main content
query

Requires read_inventory_counts access scope. Also: The user must have permission to view inventory counts.

Returns an InventoryCount object by ID.

•ID!
required

The ID of the inventory count.


Was this section helpful?

•InventoryCount

Represents an inventory count operation for auditing and adjusting stock levels at a specific location.


Note

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


Show fields
•DateTime

The date and time the count was closed. A count is closed when it's completed or canceled.

•String!
non-null

The data stored in the resource, represented as a digest.

•DateTime!
non-null

The date and time the count was created.

•StaffMember

The staff member who created the count.

Show fields
•ID!
non-null

A globally-unique ID.

•InventoryCountLineItemConnection!
non-null

The line items included in this count.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•Count

The number of line items in this count.

Show fields
•LocationSnapshot!
non-null

A snapshot of the count's location.

Show fields
•String!
non-null

The display name for the count.

•String

A note about the count.

•DateTime

The planned date for the count.

•InventoryCountStatus!
non-null

The derived status of the count.

Show enum values
•[String!]!
non-null

A list of tags associated with the count.

•String

The title of the count.


Was this section helpful?