Admin API / Types
ProductVariantQuantityAdjustmentInput
InputOne stock change of one variant.
input ProductVariantQuantityAdjustmentInputInput fields
| Field | Type | Description |
|---|---|---|
delta | Int! | Units to add, or to remove when negative. Not 0, and from -100,000 to 100,000; other values fail with VALIDATION_ERROR. |
productVariantId | ID! | The variant. |
reason | String! | Why the stock changes, such as "Recounted the shelf" or "Two damaged in storage". 1 to 200 characters after trim; other values fail with VALIDATION_ERROR. ProductVariant.quantityHistory shows it. |