LogoLogo
  • OCTO Specification and Zaui
  • Glossary of Terms
  • Getting Started
  • Test Credentials
  • Headers
  • Errors
  • Rate Limits
  • Advanced Capabilities
  • FAQ's
  • Basic Capabilities
    • Supplier
    • Products
    • Availability
    • Booking
  • Advanced Capabilities (optional)
    • Content
    • Pricing
    • Pickups
    • GT-Locations
    • GT-Connections
    • Grouped-departures
Powered by GitBook
On this page

Was this helpful?

  1. Advanced Capabilities (optional)

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"
        },
    ]
}

Adds pickup location data to the availability schema.

{
    //rest of the availability 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"
        },
    ]
}
PreviousPricingNextGT-Locations

Last updated 4 years ago

Was this helpful?