OrderOptions

  • OrderOptions are settings linked to an order within the deprecated Orders version 2 API.

  • The requestDeliveryAddress field is a boolean that determines if a delivery address is needed for an order.

  • The customerInfoOptions field, if set, allows the app to request customer information and will be displayed for user confirmation in the ProposedOrderCard.

  • CustomerInfoOptions contain a list of customerInfoProperties which are specific customer information items.

Options associated with an order.

JSON representation
{
  "requestDeliveryAddress": boolean,
  "customerInfoOptions": {
    object(CustomerInfoOptions)
  }
}
Fields
requestDeliveryAddress

boolean

If true, delivery address is required for the associated Order.

customerInfoOptions

object(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(CustomerInfoProperty)
  ]
}
Fields
customerInfoProperties[]

enum(CustomerInfoProperty)

List of customer info properties.