CreateOrderRequestModifier

October 23, 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. Note: This model is deprecated.

Properties

NameTypeDescriptionNotes
catalogObjectIdStringThe 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]
basePriceMoneyMoneyThe 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]