stockCountLocationComplete
Complete a pending location assignment or replace the result of a counted location while its stock count is open. Submitted stock quantities and serial numbers are reconciled against the current stock. Existing stock identities omitted from the input are recorded as skipped and remain unchanged.
Arguments
idID!The pending or counted stock count location assignment ID.
expiryDateDateExpiry date identifying the stock, when applicable.
lotNumberStringLot number identifying the stock, when applicable.
productIdID!Product being counted.
quantityInt!Actual quantity counted for this product, lot number, and expiry date combination.
serialNumbers[StockCountLocationSerialNumberInput!]Serial numbers present in the counted stock. Required only for products that track serial numbers.
Returns
countedAtDateTimeTzWhen this location was counted.
hasDifferencesBoolean!Whether at least one counted product had a quantity difference.
idID!Unique primary key.
skipReasonStringReason supplied when this location was skipped.
skippedAtDateTimeTzWhen this location was skipped.
field[String!]messageString!