Schema Documentation
AddonShortText
Description
"Short text" addon field object.
Fields
Field Name | Description |
---|---|
characterLimit - ProductAddonIntegerRange | Input length limit on the addon. |
description - String | Field description |
fieldName - String! | Field unique name |
name - String | Field name |
price - Float | Addon's price |
priceType - ProductAddonPriceAdjustEnum | Addon's method of price adjustment |
required - Boolean | Is this field required? |
restrictions - ProductAddonShortTextRestrictionEnum | Input restrictions on the addon. |
titleFormat - ProductAddonTitleFormatEnum | The way the title should be displayed. |
type - ProductAddonFieldEnum | Field type |
Example
{"characterLimit":ProductAddonIntegerRange,"description":"xyz789","fieldName":"abc123","name":"abc123","price":123.45,"priceType":"FLAT_FEE","required":true,"restrictions":"ANY_TEXT","titleFormat":"HEADING","type":"CHECKBOX"}