Show one
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/extranet/sales/affiliate/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/extranet/sales/affiliate/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69 \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Retrieve a single affiliate’s company details and booking sales metrics by identifier.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Managing entity identifier (UUID)
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Affiliate managing entity identifier (UUID)
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Company details and booking sales metrics for the requested affiliate
Booking sales metrics for a managing entity, broken down by property and country.
object
Sales metrics grouped by country.
object
Average booking value in the display currency.
Total number of bookings in this metric set.
Currency code for the monetary amounts.
Total revenue from all bookings in the display currency.
The dimension by which sales metrics are grouped.
Unique identifier of the grouping entity.
Display name of the grouping entity.
Sales metrics grouped by individual property.
object
Average booking value in the display currency.
Total number of bookings in this metric set.
Currency code for the monetary amounts.
Total revenue from all bookings in the display currency.
The dimension by which sales metrics are grouped.
Unique identifier of the grouping entity.
Display name of the grouping entity.
The managing entity associated with these metrics.
object
How much user or company spends on travel per year.
object
Monetary amount value
ISO 4217 currency code
Key-value pair representing the city (GeoNames ID and ASCII name) where the entity is located.
object
English readable text of the value.
The value that should be persisted.
Key-value pair representing the continent of the entity.
object
English readable text of the value.
The value that should be persisted.
Key-value pair representing the country of the entity.
object
English readable text of the value.
The value that should be persisted.
Timestamp when the managing entity was created.
Short description reflecting the entity’s brand and positioning.
Unique identifier of the managing entity.
Timestamp of the most recent update to the managing entity.
Display name of the managing entity.
Online presence of entity.
object
The size of your audience.
Whether to disable this entry temporarily.
The url, account name or phone number that identifies this user with the specified network.
How you would like to order your accounts.
List of all active accounts that could be used for selling or seeing a company’s reach.
Cloudinary image identifier for the owner’s profile picture or company logo.
Full name of the managing entity owner.
Current lifecycle status of the managing entity.
Travel agent-specific details; null for non-travel-agent entity types.
object
Whether the agent is in charge of charging the property.
Whether the agent is in charge of paying the property.
Entity type: HOTEL, APPLICATION, TRAVEL_AGENT, INFLUENCER, etc.
Human-friendly short unique identifier used in some public contexts.
URL-friendly slug identifying the entity in public profiles and links.
Total aggregated sales metrics across all properties.
object
Average booking value in the display currency.
Total number of bookings in this metric set.
Currency code for the monetary amounts.
Total revenue from all bookings in the display currency.
The dimension by which sales metrics are grouped.
Unique identifier of the grouping entity.
Display name of the grouping entity.
Example
{ "byCountryList": [ { "averageBookingAmount": 450, "bookings": 120, "currencyCode": "USD", "totalPriceAmount": 54000, "type": "BY_COUNTRY", "typeIdentifier": "6f9e4d8a-1b5c-7d3e-0f2a-9c7d3e1f5a84", "typeName": "Thailand" } ], "byPropertyList": [ { "averageBookingAmount": 450, "bookings": 85, "currencyCode": "USD", "totalPriceAmount": 38250, "type": "BY_PROPERTY", "typeIdentifier": "5e8d3c7f-0a4b-6c2d-9e1f-8b6c2d0e4f73", "typeName": "The Siam Residences, Bangkok" } ], "managingEntity": { "annualTravelSpendInDollars": null, "city": { "key": "1609350", "value": "Bangkok" }, "continent": { "key": "AS", "value": "AS" }, "country": { "key": "1605651", "value": "Thailand" }, "createdDate": "2026-01-15T10:30:00", "description": "Luxury boutique property on the Chao Phraya River.", "identifier": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51", "lastUpdate": "2026-06-20T08:00:00", "name": "The Siam Residences", "onlinePresence": [], "ownerImageId": "v1/property/the-siam-residences.jpg", "ownerName": "Alexandra Beaumont", "status": "ACTIVE", "travelAgent": null, "type": "HOTEL", "uniqueId": "siam-bkk", "urlName": "the-siam-residences" }, "total": { "averageBookingAmount": 450, "bookings": 120, "currencyCode": "USD", "totalPriceAmount": 54000, "type": "BY_TOTAL", "typeIdentifier": "4d7c2b6e-9f3a-5b1c-8d0e-7a5b1c9d3e62", "typeName": "All Properties" }}Bad Request — missing or invalid request parameter or body
object
object
Example
Unauthorized — authentication is required or the session has expired
object
object
Example
Forbidden — authenticated but lacking the required permission or scope
object
object
Example
Not Found — the requested resource does not exist
object
object
Example
Method Not Allowed — the HTTP verb is not supported on this endpoint
object
object
Example
Conflict — the resource was modified by someone else since you read it; re-read it and retry with the new version
object
object
Example
Unsupported Media Type — use application/json
object
object
Example
Internal Server Error — an unexpected failure occurred on the server
object
object
Example
Service Unavailable — a downstream dependency is unreachable
