Show marker
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/map/marker/9b7e4c3a-1f6d-4e8a-b2f9-5d3c0a8e7b61';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/studio/map/marker/9b7e4c3a-1f6d-4e8a-b2f9-5d3c0a8e7b61 \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Retrieve the map marker for a specific channel inventory item.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”UUID of the managing entity that owns the inventory.
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69UUID of the channel inventory item to display as a marker.
Example
9b7e4c3a-1f6d-4e8a-b2f9-5d3c0a8e7b61Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”Map marker for the specified channel inventory item
Represents a single inventory item displayed as a marker on a map
object
Unique identifier of the channel inventory or list item represented by this marker
Geographic location coordinates as a GeoJSON Point (longitude, latitude)
object
UUID of the supplier (hotel or property) owning this inventory
Display name of the supplier property
UUID of the specific inventory item (e.g., room type or add-on)
Classification of the inventory (e.g., GUEST_ROOM, ADD_ON, RESTAURANT, ACTIVITY)
Human-friendly name of the inventory item
Lowest available price for this inventory in the user’s requested currency
object
Monetary amount value
ISO 4217 currency code
Example
{ "channelInventoryIdentifier": "7a0c5d9e-2f6b-4c1a-8e4d-3b9f1a0c6d52", "point": { "type": "Point", "coordinates": [ 100.5581533, 13.7370197 ] }, "supplierIdentifier": "e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18", "supplierName": "The Siam Residences", "inventoryIdentifier": "8b1d6e0f-3a7c-4d2b-9e5a-1c8f0b4d6e29", "inventoryType": "GUEST_ROOM", "inventoryName": "Deluxe Ocean View Suite", "lowestDisplayPrice": { "amount": 4500, "currency": "THB" }}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