SquareConnect::CreateOrderRequestModifier

February 13, 2019 ยท View on GitHub

Description

Deprecated: Please use the OrderLineItemModifier type instead. Represents a modifier applied to a single line item. Modifiers can reference existing objects in a merchant catalog or be constructed ad hoc at the time of purchase by providing a name and price.

Properties

NameTypeDescriptionNotes
catalog_object_idStringThe catalog object ID of a CatalogModifier.[optional]
nameStringOnly used for ad hoc modifiers. The name of the modifier. `name` cannot exceed 255 characters. Do not provide a value for `name` if you provide a value for `catalog_object_id`.[optional]
base_price_moneyMoneyThe base price for the modifier. `base_price_money` is required for ad hoc modifiers. If both `catalog_object_id` and `base_price_money` are set, `base_price_money` will override the predefined CatalogModifier price.[optional]