The type of option: S (Select box), R (Radio button), C (Checkbox), I (Text), T (Text area), F (File), D (Date), etc.
option_name
string
The display name of the option
required
string
Whether this option is required: Y (Yes) or N (No)
position
number
The sorting position of this option
status
string
The status of the option: A (Active) or D (Disabled)
variants
array
An array of option variants/values
Variant Fields
Field
Type
Description
variant_id
string
The unique identifier of the variant
option_id
string
The ID of the parent option
position
number
The sorting position of this variant
modifier
string
The price modifier value
modifier_type
string
The type of price modifier: A (Absolute) or P (Percentage)
variant_name
string
The display name of the variant
status
string
The status of the variant: A (Active) or D (Disabled)
Tip: Product options allow customers to customize their purchases. The structure includes the option itself (e.g., "Size") and variants/values (e.g., "Small", "Medium", "Large"). Price modifiers can adjust the product price based on selected options.