CreateItemSelectionVariationCommandRequestInput
Adds a selection variation with its values to an item. Selection variations are only possible for some kinds and roles: refused with 409 SELECTION_VARIATION_NOT_ALLOWED_FOR_ITEM_TYPE and the reasons in blockers[] (see the design, section 5m). - Request
CreateItemSelectionVariationCommandRequestInputFields
The ID of the item.
Display name in the default language.
The display name in further languages.
How the shop shows the variation. The style is one of DROPDOWN, RADIO_BUTTONS, IMAGE_SWATCHES or TEXT_SWATCHES. It changes how the axis is shown in the shop, not which fields exist. The list can grow with the shops; a client treats a value it does not know like DROPDOWN.
The values in their order. At least one.
Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?