Skip to main content
Connecting a supplier enables mapping.travel to run ID-to-ID mappings between your hotel inventory and that supplier’s dataset. Your billing plan grants a permanent budget of distinct suppliers your organization may ever connect: connecting a new supplier consumes one unit of that budget, disconnecting does not restore it, and reconnecting a supplier you have used before is free. Disconnecting removes the active connection but does not delete historical mapping results.
Both endpoints require authentication. Include your API key in the X-API-Key header for all requests.

POST /api/v1/suppliers//connect

Connect your organization to a supplier.

Path parameters

string
required
UUID of the supplier to connect. Retrieve supplier IDs from GET /api/v1/suppliers.

Response

Returns 201 Created with the supplier connection details.
string
required
UUID of the connected supplier.
string
required
Short code of the connected supplier (e.g. expedia).
string
required
Display name of the connected supplier.
string
Short description of the supplier, if available.
string
URL of the supplier logo image, if available.
string
required
ISO 8601 timestamp of when the connection was created.

Errors

Example

Check your remaining supplier budget before connecting. GET /api/v1/suppliers/my-suppliers returns a rateLimitRemaining field with the number of new distinct suppliers you can still connect on your plan.

DELETE /api/v1/suppliers//disconnect

Disconnect your organization from a supplier.

Path parameters

string
required
UUID of the supplier to disconnect.

Response

Returns 204 No Content on success. The response body is empty.

Errors

Example