Types > OptionValueCreate
Commerce APITypesOptionValueCreate
OptionValueCreate

Description

Fields

id: String!

A unique human-readable option value identifier

Example: "small"

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

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


meta: String

Metadata of the option value

Example: "#FF0000"

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


name: String!

Name of the option value

Translatable

Example: "Small"

Valid when: name is not empty

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


Used By

Types

OptionCreate, OptionModify

Preview (typescript)

Loading module