Skip to main content
Anchor to inventoryCountCreate

inventoryCountCreate

mutation

Requires write_inventory_counts access scope, or write_inventory access scope for the Physical inventory feature preview. Also: The user must have permission to manage inventory counts.

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


Note

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


•[InventoryCountLineItemInput!]
Default:[]

The line items to include in the count.

•ID!
required

The ID of the location for the count.


Was this section helpful?

Anchor to InventoryCountCreatePayload returnsInventoryCountCreatePayload returns

•InventoryCount

The created inventory count.

•[InventoryCountCreateUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?