Admin API / Types

AdjustProductVariantQuantitiesInput

Input

Stock changes for 1 to 100 variants.

input AdjustProductVariantQuantitiesInput

Input fields

FieldTypeDescription
idempotencyKeyString!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.