Page Summary
-
OrderOptions are settings linked to an order within the deprecated Orders version 2 API.
-
The
requestDeliveryAddressfield is a boolean that determines if a delivery address is needed for an order. -
The
customerInfoOptionsfield, if set, allows the app to request customer information and will be displayed for user confirmation in the ProposedOrderCard. -
CustomerInfoOptions contain a list of
customerInfoPropertieswhich are specific customer information items.
Options associated with an order.
| JSON representation | |
|---|---|
{
"requestDeliveryAddress": boolean,
"customerInfoOptions": {
object( |
|
| Fields | |
|---|---|
requestDeliveryAddress |
If true, delivery address is required for the associated Order. |
customerInfoOptions |
The app can request customer info by setting this field. If set, the corresponding field will show up in ProposedOrderCard for user's confirmation. |
CustomerInfoOptions
Options regarding customer info.
| JSON representation | |
|---|---|
{
"customerInfoProperties": [
enum( |
|
| Fields | |
|---|---|
customerInfoProperties[] |
List of customer info properties. |