Suppliers

Access details of the supplier(s) for a given API key.

Note that in Ventrata's implementation of OCTO, the API key provides access to a single supplier (see Authentication). This means that both Get Suppliers and Get Supplier will only return details for a single supplier your API key is for.

Get Suppliers

GET https://api.ventrata.com/octo/suppliers

Returns a list of suppliers and associated contact details based on the suppliers your API Key has access. This will be a single supplier per API key in Ventrata's implementation.

[
  {
    "id": "697e3ce8-1860-4cbf-80ad-95857df1f640",
    "name": "Edin Explore",
    "endpoint": "https://api.my-booking-platform.com/v1",
    "contact": {
      "website": "https://acme-tours.co.fake",
      "email": "info@edinexplore.com",
      "telephone": "+1 888-555-1212",
      "address": "123 Fake St. Springfield, USA"
    }
  }
]

Get Supplier

GET https://api.ventrata.com/octo/suppliers/{id}

Returns the supplier and associated details.

Path Parameters

Name
Type
Description

id*

string

In Ventrata's impelentation, use your API key or 0.

{
  "id": "697e3ce8-1860-4cbf-80ad-95857df1f640",
  "name": "Edin Explore",
  "endpoint": "https://api.my-booking-platform.com/v1",
  "contact": {
    "website": "https://acme-tours.co.fake",
    "email": "info@edinexplore.com",
    "telephone": "+1 888-555-1212",
    "address": "123 Fake St. Springfield, USA"
  }
}

Last updated