Admin API / Types
AdjustProductVariantQuantitiesInput
InputStock changes for 1 to 100 variants.
input AdjustProductVariantQuantitiesInputInput fields
| Field | Type | Description |
|---|---|---|
idempotencyKey | String! | A client-generated key, 1 to 200 characters after trim. A repeat with the same key and input within 24 hours returns the first result and changes nothing. The same key with another input returns IdempotencyConflictError. |
productVariants | [ProductVariantQuantityAdjustmentInput!]! | 1 to 100 changes, each for a different variant. None, more than 100, or a variant twice fails with VALIDATION_ERROR. |