AlmondTill/G3N API

AdjustStockInput

input type

Adjust-input for adjustStock. A negative adjust may drive the bucket negative — allowed + evented. Value at current WMA.

Fields

FieldTypeRequiredNotes
inventoryItemIdID ID!yes
quantityString String!yesThe signed delta (non-zero decimal string) — positive writes on, negative writes off.
bucketStockBucketnoThe adjusted bucket — on_hand | damaged | held; defaulted to on_hand when omitted.
reasonString String!yesRequired: the merchant adjustment reason.
captionStringno
refsString [String!]no

Used by