Inventory Count Create Payload
Return type for mutation.
Anchor to FieldsFields
- inventoryCount (InventoryCount)
- userErrors ([InventoryCountCreateUserError!]!)
- Anchor to inventoryCountinventory•Inventory
Count Count The created inventory count.
Show fields
- Anchor to userErrorsuser•[Inventory
Errors Count Create User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Anchor to Mutations with this payloadMutations with this payload
- 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>.
Show payload
- Anchor to completecomplete•BooleanDefault:false
When true, the count is created already completed and its results are posted immediately and generate inventory adjustments. Defaults to false, which creates an open count to be worked on.
- Anchor to lineItemsline•[Inventory
Items Count Line Item Input!] Default:[] The line items to include in the count.
Show input fields
- Anchor to locationIdlocation•ID!
Id required The ID of the location for the count.
- Anchor to metadatametadata•Inventory
Count Metadata Input The metadata associated with the count.
Show input fields
Arguments