Inventory Count
Requires access scope, or access scope for the Physical inventory feature preview. 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 count was created.
- •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.
- 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 A snapshot of the count's location.
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:[] The line items to include in the count.
- Anchor to locationIdlocation•ID!
Id required The ID of the location for the count.
Arguments