Admin API / Types
ProductVariantChangesInput
InputChanges to some variants of a listing. A variant that no list names keeps its stored values.
input ProductVariantChangesInputInput fields
| Field | Type | Description |
|---|---|---|
add | [ProductVariantInput!] | New variants, after the stored variants, in this order. productVariantId gives VARIANT_NOT_FOUND. |
change | [ProductVariantChangeInput!] | Stored variants to change. |
remove | [ID!] | Stored variants to remove, with their stock. An ID that is not a variant of the listing gives VARIANT_NOT_FOUND. |