O
O
OCTo
Search…
Pickups
Adds pickup location details on the API
Add octo/pickups to your OCTO-Capabilities header to expose this capability
Products
Availability
Adds pickup location data to the products schema
1
{
2
//rest of the product schema
3
"pickupAvailable": true,
4
"pickupRequired": false,
5
"pickupPoints": [
6
{
7
"id": "98765",
8
"name": "Hilton Central Park - NYC",
9
"latitude": 40.764479,
10
"longitude" -73.977597,
11
"street": "W 57th Street",
12
"postal": "10019",
13
"city": "New York City",
14
"state": "NY",
15
"country": "USA"
16
},
17
{
18
"id": "845373",
19
"name": "Park Lane Hotel",
20
"latitude": 40.765162,
21
"longitude" -73.975113,
22
"street": "W 59th Street",
23
"postal": "10019",
24
"city": "New York City",
25
"state": "NY",
26
"country": "USA"
27
},
28
]
29
}
Copied!
Adds pickup location data to the availability schema.
1
{
2
//rest of the availability schema
3
"pickupAvailable": true,
4
"pickupRequired": false,
5
"pickupPoints": [
6
{
7
"id": "98765",
8
"name": "Hilton Central Park - NYC",
9
"latitude": 40.764479,
10
"longitude" -73.977597,
11
"street": "W 57th Street",
12
"postal": "10019",
13
"city": "New York City",
14
"state": "NY",
15
"country": "USA"
16
},
17
{
18
"id": "845373",
19
"name": "Park Lane Hotel",
20
"latitude": 40.765162,
21
"longitude" -73.975113,
22
"street": "W 59th Street",
23
"postal": "10019",
24
"city": "New York City",
25
"state": "NY",
26
"country": "USA"
27
},
28
]
29
}
Copied!
Last modified 5mo ago
Copy link