Checking features and limitations

Checking features and limitations for a supplier

Supported API features vary by supplier. E.g a low cost carrier is unlikely to support held ticketing. Furthermore, even when a feature is supported it may have a limitation. E.g not being able to select and delete ancillaries at the same time.

To help solve this our API has a features endpoint which lists what features a supplier supports and any limitations. You can use this to avoid hardcoding supplier specific logic.

Example:

GET /v1/servicing/features?supplierCode=ABC

{
  "supportedFeatures": [
    "RETRIEVE_ORDER","ANCILLARY_SERVICES"
  ],
  "limitations": {
    "ancillaryServices": [
      "CANNOT_DELETE"
    ]
  }
}

The above shows that for supplier ABC:

  • API features of “retrieve order” and “ancillary services” are supported
  • However, you cannot delete ancillary services (only select)