Types > VariantOptionCreate
Commerce APITypesVariantOptionCreate
VariantOptionCreate

Description

Fields

option_id: String!

A unique human-readable option identifier

Example: "size"

Valid when: option_id matches regexp pattern: ^[0-9a-z_]+$

Valid when: option_id's length doesn't exceed 250 characters


option_value_id: String!

A unique human-readable option value identifier

Example: "small"

Valid when: option_value_id matches regexp pattern: ^[0-9a-z_]+$

Valid when: option_value_id's length doesn't exceed 250 characters


Used By

Types

ProductVariantCreate, ProductVariantModify

Preview (typescript)

Loading module