Anchor to inventoryCountRecordObservationsinventory
mutationinventory Count Record Observations
Requires access scope. Also: The user must have permission to perform an inventory count.
Records observations for items in an inventory count as counted quantities. Each observation input identifies an inventory item by its ID; if the item is not yet on the count, a line is created for it. Each delta quantity for an observation adds to the item's total quantity.
Anchor to Arguments
Arguments
- id (ID!)
- observations ([InventoryCountObservationInput!]!)
- •ID!required
The ID of the inventory count.
- Anchor to observationsobservations•[Inventory
Count Observation Input!]! required The observations to record.
Show input fields
Was this section helpful?
Anchor to InventoryCountRecordObservationsPayload returnsInventory Count Record Observations Payload returns
- inventoryCount (InventoryCount)
- observedItems ([InventoryCountLineItem!])
- userErrors ([InventoryCountRecordObservationsUserError!]!)
- Anchor to inventoryCountinventory•Inventory
Count Count The updated inventory count.
Show fields
- Anchor to observedItemsobserved•[Inventory
Items Count Line Item!] The line items the observations were recorded against.
Show fields
- Anchor to userErrorsuser•[Inventory
Errors Count Record Observations User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Was this section helpful?