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
The managing entity associated with these metrics.
object
Unique identifier of the managing entity.
Key-value pair representing the city (GeoNames ID and ASCII name) where the entity is located.
object
The value that should be persisted.
English readable text of the value.
Key-value pair representing the country of the entity.
object
The value that should be persisted.
English readable text of the value.
Key-value pair representing the continent of the entity.
object
The value that should be persisted.
English readable text of the value.
Display name of the managing entity.
Full name of the managing entity owner.
URL-friendly slug identifying the entity in public profiles and links.
Human-friendly short unique identifier used in some public contexts.
Short description reflecting the entity’s brand and positioning.
Entity type: HOTEL, APPLICATION, TRAVEL_AGENT, INFLUENCER, etc.
Current lifecycle status of the managing entity.
Timestamp when the managing entity was created.
Timestamp of the most recent update to 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.
Cloudinary image identifier for the owner’s profile picture or company logo.
Online presence of entity.
object
List of all active accounts that could be used for selling or seeing a company’s reach.
The url, account name or phone number that identifies this user with the specified network.
The size of your audience.
How you would like to order your accounts.
Whether to disable this entry temporarily.
How much user or company spends on travel per year.
object
Monetary amount value
ISO 4217 currency code
Total aggregated sales metrics across all properties.
object
The dimension by which sales metrics are grouped.
Display name of the grouping entity.
Unique identifier of the grouping entity.
Total number of bookings in this metric set.
Total revenue from all bookings in the display currency.
Average booking value in the display currency.
Currency code for the monetary amounts.
Sales metrics grouped by individual property.
object
The dimension by which sales metrics are grouped.
Display name of the grouping entity.
Unique identifier of the grouping entity.
Total number of bookings in this metric set.
Total revenue from all bookings in the display currency.
Average booking value in the display currency.
Currency code for the monetary amounts.
Sales metrics grouped by country.
object
The dimension by which sales metrics are grouped.
Display name of the grouping entity.
Unique identifier of the grouping entity.
Total number of bookings in this metric set.
Total revenue from all bookings in the display currency.
Average booking value in the display currency.
Currency code for the monetary amounts.
Example
{ "managingEntity": { "identifier": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51", "city": { "key": "1609350", "value": "Bangkok" }, "country": { "key": "1605651", "value": "Thailand" }, "continent": { "key": "AS", "value": "AS" }, "name": "The Siam Residences", "ownerName": "Alexandra Beaumont", "urlName": "the-siam-residences", "uniqueId": "siam-bkk", "description": "Luxury boutique property on the Chao Phraya River.", "type": "HOTEL", "status": "ACTIVE", "createdDate": "2026-01-15T10:30:00", "lastUpdate": "2026-06-20T08:00:00", "travelAgent": null, "ownerImageId": "v1/property/the-siam-residences.jpg", "onlinePresence": [], "annualTravelSpendInDollars": null }, "total": { "type": "BY_TOTAL", "typeName": "All Properties", "typeIdentifier": "4d7c2b6e-9f3a-5b1c-8d0e-7a5b1c9d3e62", "bookings": 120, "totalPriceAmount": 54000, "averageBookingAmount": 450, "currencyCode": "USD" }, "byPropertyList": [ { "type": "BY_PROPERTY", "typeName": "The Siam Residences, Bangkok", "typeIdentifier": "5e8d3c7f-0a4b-6c2d-9e1f-8b6c2d0e4f73", "bookings": 85, "totalPriceAmount": 38250, "averageBookingAmount": 450, "currencyCode": "USD" } ], "byCountryList": [ { "type": "BY_COUNTRY", "typeName": "Thailand", "typeIdentifier": "6f9e4d8a-1b5c-7d3e-0f2a-9c7d3e1f5a84", "bookings": 120, "totalPriceAmount": 54000, "averageBookingAmount": 450, "currencyCode": "USD" } ]}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
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