Pickups

Adds pickup location details on the API

Add octo/pickups to your OCTO-Capabilities header to expose this capability

Adds pickup location data to the products schema

{
    //rest of the product schema
    "pickupAvailable": true,
    "pickupRequired": false,
    "pickupPoints": [
        {
            "id": "98765",
            "name": "Hilton Central Park - NYC",
            "latitude": 40.764479,
            "longitude" -73.977597,
            "street": "W 57th Street",
            "postal": "10019",
            "city": "New York City",
            "state": "NY",
            "country": "USA"
        },
        {
            "id": "845373",
            "name": "Park Lane Hotel",
            "latitude": 40.765162,
            "longitude" -73.975113,
            "street": "W 59th Street",
            "postal": "10019",
            "city": "New York City",
            "state": "NY",
            "country": "USA"
        },
    ]
}

Last updated