On this page
No Headings
Variant dimension structure with multiple options. Each variant can have multiple options, and only one variant can be marked as primary.
objectnamerequiredstring^.*$The name of the variant dimension (e.g., "Size", "Color").
primaryrequiredbooleanOnly one dimension has primary set to true. Only options in the primary dimension can have unit_amount.
optionsrequiredarrayList of option available.
itemsobjectOption available for the item.
labelrequiredstring^.*$The display label for this option (e.g., "Large").
unit_amountobjectUnit Price of this option, including value and currency code.
currency_coderequiredstringppaas_common_currency_code_v2The three-character ISO-4217 currency code that identifies the currency.
valuerequiredstring^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$The value, which might be:
JPY that are not typically fractional.TND that are subdivided into thousandths.