Connect API

Offer

An offer holds the itinerary, the bundles and the services a traveller can choose from, with their prices.

Create an offer.

Create an offer for an itinerary of the search (air shopping) response. POST to the web_address_url of the itinerary exactly as the search returned it: the search API builds and signs its query parameters, the caller does not.

POST
/new
apikey<token>

In: header

Query Parameters

resRes

Residency. Also accepted as residency. Comes with the web_address_url of the search response, send it unchanged.

currCurr

Currency of display. Also accepted as currency. Comes with the web_address_url of the search response, send it unchanged.

lang?Lang

Language. Also accepted as language.

Default"en"
mbs_partnerMbs Partner

Partner name. Comes with the web_address_url of the search response, send it unchanged.

comboCombo

example: 0-1. Comes with the web_address_url of the search response, send it unchanged.

Match^[0-9]+(-[0-9]+)*$
faresFares

example: a-21.99-EUR-1336--b-27.95-CHF-1336. Comes with the web_address_url of the search response, send it unchanged.

outOut

Outbound itineraries, example: BCNGVA202111191445016250140U21408---GVAAMS202111191845020300145U21357. Comes with the web_address_url of the search response, send it unchanged.

home?Home

Homebound itineraries. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
fee?Fee

Dohop connection fee. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
total_fee?Total Fee

Total Dohop fee quoted by the search, as amount-currency, example: 12.50-EUR. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
n_adults?N Adults

n_adults or passenger_ages must be set, but they can not be used together. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
passenger_ages?Passenger Ages

Can not be used with n_adults or youngsters_ages. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
youngsters_ages?Youngsters Ages

Can only be used with n_adults, not with passenger_ages. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
issued_at?Issued At

When the search API issued the URL. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
sig?Sig

Signature of the URL. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
distributor?Distributor

Not read by this API. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
ticketing-partner?Ticketing-Partner

Not read by this API. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
utm_source?Utm Source

Not read by this API. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
version?Version

Not read by this API. Comes with the web_address_url of the search response, send it unchanged.

Defaultnull
tracking_id?Tracking Id

Referrer tracking id, stored on the order

Defaultnull
customer_ip?Customer Ip

IP address of the end customer, used for card risk checks. Defaults to the IP of the caller.

Defaultnull
Formatipvanyaddress

Response Body

curl -X POST "https://api.staging.dohop.io/connect_api/v1/new?res=string&curr=string&lang=en&mbs_partner=string&combo=string&fares=string&out=string"
{
  "offer_id": "string",
  "expires_at": "2019-08-24T14:15:22Z",
  "passengers": [
    {
      "passenger_id": "string",
      "date_of_birth": "2019-08-24",
      "first_name": "string",
      "gender": "m",
      "last_name": "string",
      "passport_country": "string",
      "passport_expiration": "string",
      "passport_number": "string",
      "nationality": "string",
      "title": "string",
      "expected_type": "a",
      "traveling_with": "string"
    }
  ],
  "requirements": [
    "passport_required"
  ],
  "visa_requirements": {
    "visa_not_required": [
      "string"
    ]
  },
  "itinerary": {
    "itinerary_tags": [
      "overnight"
    ],
    "outbound": [
      {
        "item_type": "leg",
        "active_leg": {
          "leg_id": "string",
          "origin": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "destination": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "duration_in_seconds": 0,
          "departure_date": "2019-08-24T14:15:22Z",
          "arrival_date": "2019-08-24T14:15:22Z",
          "flight_number": "string",
          "aircraft_id": "string",
          "marketing_carrier": {
            "code": "string",
            "name": "string"
          },
          "operating_carrier": {
            "code": "string",
            "name": "string"
          },
          "arrival_terminal": "string"
        }
      }
    ],
    "homebound": [
      {
        "item_type": "leg",
        "active_leg": {
          "leg_id": "string",
          "origin": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "destination": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "duration_in_seconds": 0,
          "departure_date": "2019-08-24T14:15:22Z",
          "arrival_date": "2019-08-24T14:15:22Z",
          "flight_number": "string",
          "aircraft_id": "string",
          "marketing_carrier": {
            "code": "string",
            "name": "string"
          },
          "operating_carrier": {
            "code": "string",
            "name": "string"
          },
          "arrival_terminal": "string"
        }
      }
    ]
  },
  "bundle_groups": [
    {
      "bundles": [
        {
          "all_services": [
            {
              "bundle_code": "string",
              "quantity": 0,
              "service_class": "luggage_personal",
              "dimensions": {
                "length": 0,
                "width": 0,
                "height": 0
              },
              "weight": 0
            }
          ],
          "bundle_id": "string",
          "bundle_codes": [
            "string"
          ],
          "is_selected": true,
          "price": {
            "currency": "str",
            "amount": 0
          },
          "services": [
            {
              "bundle_code": "string",
              "quantity": 0,
              "service_class": "luggage_personal",
              "dimensions": {
                "length": 0,
                "width": 0,
                "height": 0
              },
              "weight": 0
            }
          ]
        }
      ],
      "carrier_codes": [
        "string"
      ],
      "leg_ids": [
        "string"
      ]
    }
  ],
  "service_groups": [
    {
      "carrier_codes": [
        "string"
      ],
      "leg_ids": [
        "string"
      ],
      "passenger_id": "string",
      "services": [
        {
          "service_id": "string",
          "service_class": "luggage_personal",
          "quantity": 0,
          "price": {
            "currency": "str",
            "amount": 0
          },
          "can_increment": true,
          "can_decrement": true,
          "dimensions": {
            "length": 0,
            "width": 0,
            "height": 0
          },
          "passenger_id": "string",
          "weight": 0,
          "price_per_leg": {
            "currency": "str",
            "amount": 0
          }
        }
      ]
    }
  ],
  "summary": {
    "leg_summaries": [
      {
        "additional_services": [
          {
            "service_id": "string",
            "service_class": "luggage_personal",
            "quantity": 0,
            "price": {
              "currency": "str",
              "amount": 0
            },
            "can_increment": true,
            "can_decrement": true,
            "dimensions": {
              "length": 0,
              "width": 0,
              "height": 0
            },
            "passenger_id": "string",
            "weight": 0,
            "price_per_leg": {
              "currency": "str",
              "amount": 0
            }
          }
        ],
        "bundle": {
          "code": "string",
          "price": {
            "currency": "str",
            "amount": 0
          }
        },
        "included_services": [
          {
            "bundle_code": "string",
            "quantity": 0,
            "service_class": "luggage_personal",
            "dimensions": {
              "length": 0,
              "width": 0,
              "height": 0
            },
            "weight": 0
          }
        ],
        "leg_ids": [
          "string"
        ]
      }
    ],
    "fees": [
      {
        "fee_type": "dohop_service_fee",
        "price": {
          "currency": "str",
          "amount": 0
        }
      }
    ],
    "total": {
      "currency": "str",
      "amount": 0
    },
    "ticket_price": {
      "total_tax": {
        "currency": "str",
        "amount": 0
      },
      "total_fare": {
        "currency": "str",
        "amount": 0
      }
    }
  },
  "errors": [
    {
      "initial_price": {
        "currency": "str",
        "amount": 0
      },
      "new_price": {
        "currency": "str",
        "amount": 0
      }
    }
  ],
  "services_need_fetching": true
}
{
  "errors": [
    {
      "status_text": "Incomplete",
      "error_code": "string",
      "response_code": 0,
      "description": "string",
      "recoverable": true
    }
  ]
}

Get an offer.

Get the offer and extend its expiry.

GET
/{offer_id}
apikey<token>

In: header

Path Parameters

offer_idOffer Id

Id of offer

Response Body

curl -X GET "https://api.staging.dohop.io/connect_api/v1/string"
{
  "offer_id": "string",
  "expires_at": "2019-08-24T14:15:22Z",
  "passengers": [
    {
      "passenger_id": "string",
      "date_of_birth": "2019-08-24",
      "first_name": "string",
      "gender": "m",
      "last_name": "string",
      "passport_country": "string",
      "passport_expiration": "string",
      "passport_number": "string",
      "nationality": "string",
      "title": "string",
      "expected_type": "a",
      "traveling_with": "string"
    }
  ],
  "requirements": [
    "passport_required"
  ],
  "visa_requirements": {
    "visa_not_required": [
      "string"
    ]
  },
  "itinerary": {
    "itinerary_tags": [
      "overnight"
    ],
    "outbound": [
      {
        "item_type": "leg",
        "active_leg": {
          "leg_id": "string",
          "origin": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "destination": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "duration_in_seconds": 0,
          "departure_date": "2019-08-24T14:15:22Z",
          "arrival_date": "2019-08-24T14:15:22Z",
          "flight_number": "string",
          "aircraft_id": "string",
          "marketing_carrier": {
            "code": "string",
            "name": "string"
          },
          "operating_carrier": {
            "code": "string",
            "name": "string"
          },
          "arrival_terminal": "string"
        }
      }
    ],
    "homebound": [
      {
        "item_type": "leg",
        "active_leg": {
          "leg_id": "string",
          "origin": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "destination": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "duration_in_seconds": 0,
          "departure_date": "2019-08-24T14:15:22Z",
          "arrival_date": "2019-08-24T14:15:22Z",
          "flight_number": "string",
          "aircraft_id": "string",
          "marketing_carrier": {
            "code": "string",
            "name": "string"
          },
          "operating_carrier": {
            "code": "string",
            "name": "string"
          },
          "arrival_terminal": "string"
        }
      }
    ]
  },
  "bundle_groups": [
    {
      "bundles": [
        {
          "all_services": [
            {
              "bundle_code": "string",
              "quantity": 0,
              "service_class": "luggage_personal",
              "dimensions": {
                "length": 0,
                "width": 0,
                "height": 0
              },
              "weight": 0
            }
          ],
          "bundle_id": "string",
          "bundle_codes": [
            "string"
          ],
          "is_selected": true,
          "price": {
            "currency": "str",
            "amount": 0
          },
          "services": [
            {
              "bundle_code": "string",
              "quantity": 0,
              "service_class": "luggage_personal",
              "dimensions": {
                "length": 0,
                "width": 0,
                "height": 0
              },
              "weight": 0
            }
          ]
        }
      ],
      "carrier_codes": [
        "string"
      ],
      "leg_ids": [
        "string"
      ]
    }
  ],
  "service_groups": [
    {
      "carrier_codes": [
        "string"
      ],
      "leg_ids": [
        "string"
      ],
      "passenger_id": "string",
      "services": [
        {
          "service_id": "string",
          "service_class": "luggage_personal",
          "quantity": 0,
          "price": {
            "currency": "str",
            "amount": 0
          },
          "can_increment": true,
          "can_decrement": true,
          "dimensions": {
            "length": 0,
            "width": 0,
            "height": 0
          },
          "passenger_id": "string",
          "weight": 0,
          "price_per_leg": {
            "currency": "str",
            "amount": 0
          }
        }
      ]
    }
  ],
  "summary": {
    "leg_summaries": [
      {
        "additional_services": [
          {
            "service_id": "string",
            "service_class": "luggage_personal",
            "quantity": 0,
            "price": {
              "currency": "str",
              "amount": 0
            },
            "can_increment": true,
            "can_decrement": true,
            "dimensions": {
              "length": 0,
              "width": 0,
              "height": 0
            },
            "passenger_id": "string",
            "weight": 0,
            "price_per_leg": {
              "currency": "str",
              "amount": 0
            }
          }
        ],
        "bundle": {
          "code": "string",
          "price": {
            "currency": "str",
            "amount": 0
          }
        },
        "included_services": [
          {
            "bundle_code": "string",
            "quantity": 0,
            "service_class": "luggage_personal",
            "dimensions": {
              "length": 0,
              "width": 0,
              "height": 0
            },
            "weight": 0
          }
        ],
        "leg_ids": [
          "string"
        ]
      }
    ],
    "fees": [
      {
        "fee_type": "dohop_service_fee",
        "price": {
          "currency": "str",
          "amount": 0
        }
      }
    ],
    "total": {
      "currency": "str",
      "amount": 0
    },
    "ticket_price": {
      "total_tax": {
        "currency": "str",
        "amount": 0
      },
      "total_fare": {
        "currency": "str",
        "amount": 0
      }
    }
  },
  "errors": [
    {
      "initial_price": {
        "currency": "str",
        "amount": 0
      },
      "new_price": {
        "currency": "str",
        "amount": 0
      }
    }
  ],
  "services_need_fetching": true
}
{
  "errors": [
    {
      "status_text": "Incomplete",
      "error_code": "string",
      "response_code": 0,
      "description": "string",
      "recoverable": true
    }
  ]
}

Select a bundle.

Select a bundle. Resets the selected services of the bookings the bundle affects, selections on other bookings are kept.

PATCH
/{offer_id}/bundles
apikey<token>

In: header

Path Parameters

offer_idOffer Id

Id of offer

Query Parameters

bundle_idBundle Id

Id of bundle to select

Response Body

curl -X PATCH "https://api.staging.dohop.io/connect_api/v1/string/bundles?bundle_id=string"
{
  "offer_id": "string",
  "expires_at": "2019-08-24T14:15:22Z",
  "passengers": [
    {
      "passenger_id": "string",
      "date_of_birth": "2019-08-24",
      "first_name": "string",
      "gender": "m",
      "last_name": "string",
      "passport_country": "string",
      "passport_expiration": "string",
      "passport_number": "string",
      "nationality": "string",
      "title": "string",
      "expected_type": "a",
      "traveling_with": "string"
    }
  ],
  "requirements": [
    "passport_required"
  ],
  "visa_requirements": {
    "visa_not_required": [
      "string"
    ]
  },
  "itinerary": {
    "itinerary_tags": [
      "overnight"
    ],
    "outbound": [
      {
        "item_type": "leg",
        "active_leg": {
          "leg_id": "string",
          "origin": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "destination": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "duration_in_seconds": 0,
          "departure_date": "2019-08-24T14:15:22Z",
          "arrival_date": "2019-08-24T14:15:22Z",
          "flight_number": "string",
          "aircraft_id": "string",
          "marketing_carrier": {
            "code": "string",
            "name": "string"
          },
          "operating_carrier": {
            "code": "string",
            "name": "string"
          },
          "arrival_terminal": "string"
        }
      }
    ],
    "homebound": [
      {
        "item_type": "leg",
        "active_leg": {
          "leg_id": "string",
          "origin": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "destination": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "duration_in_seconds": 0,
          "departure_date": "2019-08-24T14:15:22Z",
          "arrival_date": "2019-08-24T14:15:22Z",
          "flight_number": "string",
          "aircraft_id": "string",
          "marketing_carrier": {
            "code": "string",
            "name": "string"
          },
          "operating_carrier": {
            "code": "string",
            "name": "string"
          },
          "arrival_terminal": "string"
        }
      }
    ]
  },
  "bundle_groups": [
    {
      "bundles": [
        {
          "all_services": [
            {
              "bundle_code": "string",
              "quantity": 0,
              "service_class": "luggage_personal",
              "dimensions": {
                "length": 0,
                "width": 0,
                "height": 0
              },
              "weight": 0
            }
          ],
          "bundle_id": "string",
          "bundle_codes": [
            "string"
          ],
          "is_selected": true,
          "price": {
            "currency": "str",
            "amount": 0
          },
          "services": [
            {
              "bundle_code": "string",
              "quantity": 0,
              "service_class": "luggage_personal",
              "dimensions": {
                "length": 0,
                "width": 0,
                "height": 0
              },
              "weight": 0
            }
          ]
        }
      ],
      "carrier_codes": [
        "string"
      ],
      "leg_ids": [
        "string"
      ]
    }
  ],
  "service_groups": [
    {
      "carrier_codes": [
        "string"
      ],
      "leg_ids": [
        "string"
      ],
      "passenger_id": "string",
      "services": [
        {
          "service_id": "string",
          "service_class": "luggage_personal",
          "quantity": 0,
          "price": {
            "currency": "str",
            "amount": 0
          },
          "can_increment": true,
          "can_decrement": true,
          "dimensions": {
            "length": 0,
            "width": 0,
            "height": 0
          },
          "passenger_id": "string",
          "weight": 0,
          "price_per_leg": {
            "currency": "str",
            "amount": 0
          }
        }
      ]
    }
  ],
  "summary": {
    "leg_summaries": [
      {
        "additional_services": [
          {
            "service_id": "string",
            "service_class": "luggage_personal",
            "quantity": 0,
            "price": {
              "currency": "str",
              "amount": 0
            },
            "can_increment": true,
            "can_decrement": true,
            "dimensions": {
              "length": 0,
              "width": 0,
              "height": 0
            },
            "passenger_id": "string",
            "weight": 0,
            "price_per_leg": {
              "currency": "str",
              "amount": 0
            }
          }
        ],
        "bundle": {
          "code": "string",
          "price": {
            "currency": "str",
            "amount": 0
          }
        },
        "included_services": [
          {
            "bundle_code": "string",
            "quantity": 0,
            "service_class": "luggage_personal",
            "dimensions": {
              "length": 0,
              "width": 0,
              "height": 0
            },
            "weight": 0
          }
        ],
        "leg_ids": [
          "string"
        ]
      }
    ],
    "fees": [
      {
        "fee_type": "dohop_service_fee",
        "price": {
          "currency": "str",
          "amount": 0
        }
      }
    ],
    "total": {
      "currency": "str",
      "amount": 0
    },
    "ticket_price": {
      "total_tax": {
        "currency": "str",
        "amount": 0
      },
      "total_fare": {
        "currency": "str",
        "amount": 0
      }
    }
  },
  "errors": [
    {
      "initial_price": {
        "currency": "str",
        "amount": 0
      },
      "new_price": {
        "currency": "str",
        "amount": 0
      }
    }
  ],
  "services_need_fetching": true
}
{
  "errors": [
    {
      "status_text": "Incomplete",
      "error_code": "string",
      "response_code": 0,
      "description": "string",
      "recoverable": true
    }
  ]
}

Update the selected quantity of a luggage service.

Update the selected quantity of a luggage service. Other services cannot be selected.

PATCH
/{offer_id}/services
apikey<token>

In: header

Path Parameters

offer_idOffer Id

Id of offer

service_idService Id
quantityQuantity
Range0 <= value

Response Body

curl -X PATCH "https://api.staging.dohop.io/connect_api/v1/string/services" \  -H "Content-Type: application/json" \  -d '{    "service_id": "string",    "quantity": 0  }'
{
  "offer_id": "string",
  "expires_at": "2019-08-24T14:15:22Z",
  "passengers": [
    {
      "passenger_id": "string",
      "date_of_birth": "2019-08-24",
      "first_name": "string",
      "gender": "m",
      "last_name": "string",
      "passport_country": "string",
      "passport_expiration": "string",
      "passport_number": "string",
      "nationality": "string",
      "title": "string",
      "expected_type": "a",
      "traveling_with": "string"
    }
  ],
  "requirements": [
    "passport_required"
  ],
  "visa_requirements": {
    "visa_not_required": [
      "string"
    ]
  },
  "itinerary": {
    "itinerary_tags": [
      "overnight"
    ],
    "outbound": [
      {
        "item_type": "leg",
        "active_leg": {
          "leg_id": "string",
          "origin": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "destination": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "duration_in_seconds": 0,
          "departure_date": "2019-08-24T14:15:22Z",
          "arrival_date": "2019-08-24T14:15:22Z",
          "flight_number": "string",
          "aircraft_id": "string",
          "marketing_carrier": {
            "code": "string",
            "name": "string"
          },
          "operating_carrier": {
            "code": "string",
            "name": "string"
          },
          "arrival_terminal": "string"
        }
      }
    ],
    "homebound": [
      {
        "item_type": "leg",
        "active_leg": {
          "leg_id": "string",
          "origin": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "destination": {
            "airport_iata": "str",
            "airport_name": "string",
            "city_iata": "string",
            "city_name": "string",
            "country_code": "st",
            "country_name": "string",
            "transport_type": "AIRPORT",
            "terminal": "string"
          },
          "duration_in_seconds": 0,
          "departure_date": "2019-08-24T14:15:22Z",
          "arrival_date": "2019-08-24T14:15:22Z",
          "flight_number": "string",
          "aircraft_id": "string",
          "marketing_carrier": {
            "code": "string",
            "name": "string"
          },
          "operating_carrier": {
            "code": "string",
            "name": "string"
          },
          "arrival_terminal": "string"
        }
      }
    ]
  },
  "bundle_groups": [
    {
      "bundles": [
        {
          "all_services": [
            {
              "bundle_code": "string",
              "quantity": 0,
              "service_class": "luggage_personal",
              "dimensions": {
                "length": 0,
                "width": 0,
                "height": 0
              },
              "weight": 0
            }
          ],
          "bundle_id": "string",
          "bundle_codes": [
            "string"
          ],
          "is_selected": true,
          "price": {
            "currency": "str",
            "amount": 0
          },
          "services": [
            {
              "bundle_code": "string",
              "quantity": 0,
              "service_class": "luggage_personal",
              "dimensions": {
                "length": 0,
                "width": 0,
                "height": 0
              },
              "weight": 0
            }
          ]
        }
      ],
      "carrier_codes": [
        "string"
      ],
      "leg_ids": [
        "string"
      ]
    }
  ],
  "service_groups": [
    {
      "carrier_codes": [
        "string"
      ],
      "leg_ids": [
        "string"
      ],
      "passenger_id": "string",
      "services": [
        {
          "service_id": "string",
          "service_class": "luggage_personal",
          "quantity": 0,
          "price": {
            "currency": "str",
            "amount": 0
          },
          "can_increment": true,
          "can_decrement": true,
          "dimensions": {
            "length": 0,
            "width": 0,
            "height": 0
          },
          "passenger_id": "string",
          "weight": 0,
          "price_per_leg": {
            "currency": "str",
            "amount": 0
          }
        }
      ]
    }
  ],
  "summary": {
    "leg_summaries": [
      {
        "additional_services": [
          {
            "service_id": "string",
            "service_class": "luggage_personal",
            "quantity": 0,
            "price": {
              "currency": "str",
              "amount": 0
            },
            "can_increment": true,
            "can_decrement": true,
            "dimensions": {
              "length": 0,
              "width": 0,
              "height": 0
            },
            "passenger_id": "string",
            "weight": 0,
            "price_per_leg": {
              "currency": "str",
              "amount": 0
            }
          }
        ],
        "bundle": {
          "code": "string",
          "price": {
            "currency": "str",
            "amount": 0
          }
        },
        "included_services": [
          {
            "bundle_code": "string",
            "quantity": 0,
            "service_class": "luggage_personal",
            "dimensions": {
              "length": 0,
              "width": 0,
              "height": 0
            },
            "weight": 0
          }
        ],
        "leg_ids": [
          "string"
        ]
      }
    ],
    "fees": [
      {
        "fee_type": "dohop_service_fee",
        "price": {
          "currency": "str",
          "amount": 0
        }
      }
    ],
    "total": {
      "currency": "str",
      "amount": 0
    },
    "ticket_price": {
      "total_tax": {
        "currency": "str",
        "amount": 0
      },
      "total_fare": {
        "currency": "str",
        "amount": 0
      }
    }
  },
  "errors": [
    {
      "initial_price": {
        "currency": "str",
        "amount": 0
      },
      "new_price": {
        "currency": "str",
        "amount": 0
      }
    }
  ],
  "services_need_fetching": true
}
{
  "errors": [
    {
      "status_text": "Incomplete",
      "error_code": "string",
      "response_code": 0,
      "description": "string",
      "recoverable": true
    }
  ]
}