This guide explains how to export hotel mapping data using a webhook integration.
Configuration Steps
- Log in to the Cupid platform using your credentials
- Click your user icon in the top-right corner and select Settings from the dropdown. Go to the Data Export tab
- Choose Webhook from the available export options
- Enter the destination URL, optional authentication, any required custom headers, and define the retry policy.
Webhook Payload
Once configured, the system sends a POST request to your URL when new mapping data is ready.
Request Body (JSON)
{
"mapping_id": "1234",
"partner_id": "1234",
"inventory_id": "1234",
"file_url": "https\://cupid-catalogs/mapping.csv"
}
mapping_id
: Unique ID for the mapping
partner_id
: The ID for the partner
inventory_id
: The inventory ID
file_url
: Direct link to the exported CSV file