StorefrontCustomVariableOptionDto
is_defaultbooleanRequired
Whether this option is selected by default when the custom variable is presented.
Only one option per custom variable should be marked as default.
namestringRequired
Display name shown to customers for this option.
priceintegerRequired
Additional price in the lowest denominator (e.g. cents) when this option is selected.
sort_orderintegerRequired
Sort order for displaying options to customers.
Lower numbers appear first.
valuestringRequired
Internal value used for product command variable replacement, without brackets.
Example
{
"is_default": true,
"name": "string",
"price": 0,
"sort_order": 0,
"value": "string"
}