Inventory Count
Requires access scope. Also: The user must have permission to view inventory counts.
Represents an inventory count operation for auditing and adjusting stock levels at a specific location.
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
- createdAt (DateTime!)
- id (ID!)
- lineItems (InventoryCountLineItemConnection!)
- locationSnapshot (LocationSnapshot!)
- Anchor to createdAtcreated•Date
At Time! non-null The date and time the inventory count was created.
- •ID!non-null
A globally-unique ID.
- Anchor to lineItemsline•Inventory
Items Count Line Item Connection! non-null The items included in this count with their counted quantities and review status.
- 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 locationSnapshotlocation•Location
Snapshot Snapshot! non-null Snapshot of the count location (name, address, when snapped) with an optional link to the live Location object. If the original location is deleted, the snapshot data will still be available but the location link will be nil.
Anchor to MutationsMutations
- inventoryCountCreate (InventoryCountCreatePayload)
- •mutation
Creates an inventory count for auditing and adjusting stock levels at a specific 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 lineItemsline•[Inventory
Items Count Line Item Input!] Default:[] Items to include in the count, each optionally with a counted quantity.
- Anchor to locationIdlocation•ID
Id The ID of the location for the count.
Arguments