Inventory Count Create User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- code (InventoryCountCreateUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Inventory
Count Create User Error Code The error code.
Show enum values
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
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>.
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