Schema Documentation
AddonMultipleChoice
Description
"Multiple choice" addon field object.
Fields
Field Name | Description |
---|---|
choiceType - ProductAddonDisplayAsEnum | Method of selection for the addon. |
description - String | Field description |
fieldName - String! | Field unique name |
name - String | Field name |
options - [ProductAddonOption] | Addon options. |
price - Float | Addon's price |
priceType - ProductAddonPriceAdjustEnum | Addon's method of price adjustment |
required - Boolean | Is this field required? |
titleFormat - ProductAddonTitleFormatEnum | The way the title should be displayed. |
type - ProductAddonFieldEnum | Field type |
Example
{"choiceType":"DROPDOWNS","description":"xyz789","fieldName":"xyz789","name":"abc123","options":[ProductAddonOption],"price":123.45,"priceType":"FLAT_FEE","required":false,"titleFormat":"HEADING","type":"CHECKBOX"}