Page Summary
-
This content describes a deprecated part of the Orders version 2 API for generic orders not tied to a semantic type.
-
The Generic Extension object includes fields for locations and time.
-
OrderLocation specifies the type and actual location information for an order.
-
Time specifies the type of time indicator and its ISO 8601 representation for an order.
Extension for generic orders that are not tied to a semantic type.
| JSON representation | |
|---|---|
{ "locations": [ { object( |
|
| Fields | |
|---|---|
locations[] |
Locations associated with the order. Up to 2 locations. |
time |
Time indicator associated with the proposed order. |
OrderLocation
Location associated with an order.
| JSON representation | |
|---|---|
{ "type": enum( |
|
| Fields | |
|---|---|
type |
Address type. Determines icon and placement. Required. |
location |
Contains actual location info. |
Time
Time associated with an order.
| JSON representation | |
|---|---|
{
"type": enum( |
|
| Fields | |
|---|---|
type |
Type of time indicator. |
timeIso8601 |
ISO 8601 representation of time indicator: could be a duration, date or exact datetime. |