Connect with Existing Advertiser
This endpoint is used to connect an existing advertiser ID with a specific property (hotel) on the VRBO platform.
Endpoint
POST

https://connect-sandbox.su-api.com/SUAPI/jservice/vrbo/advertiser/connectHeader
app-id: App Id
Authorization: Basic Authorization
Content-Type: application/jsonapp-id
string
Yes
Your application ID. Required for authentication.
Authorization
string
Yes
Your API key for authorization. Required for authentication.
Content-Type
string
Yes
Must be set to application/json.
Attributes
hotel_id string (Required)
The unique property ID as assigned by the provider upon creation of the property.
advertiser_id string (Required)
ID of the existing advertiser.
Request
{
"hotel_id": "AWSTEST",
"advertiser_id": "100001"
}Response
Success Response
{
"Status": "Success",
"Message": "Advertiser id is connect successfully",
"Data": {
"advertId": "100001"
},
"Trace-ID": ""
}{
"Status": "Success",
"Message": "Advertiser id is already mapped",
"Data": [],
"Trace-ID": ""
}Success Response - Body Elements
Status string
Indicates the result of the API call.
Message string
The message in the response.
Data object
The response data, the root element.
advertId string
The unique identifier generated for the advertiser.
Trace-ID string
Unique ID for tracing the API request.
Error Response
{
"Status": "Fail",
"Message": "Data is not valid",
"Errors": [],
"Trace-ID": ""
}{
"Status": "Fail",
"Errors": [
{
"Code": "400",
"ShortText": "hotelid: Invalid HotelCode (:hotelid)"
}
],
"Message": ""
}{
"Status": "Fail",
"Errors": [],
"Message": "No Parent Id Found With Id : 100001",
"Trace-ID": ""
}Error Response - Body Elements
Status string
Indicates the result of the API call.
Errors array
The response error, the root element.
Code string
Specific error code that helps identify the type of error.
ShortText string
A short description of the error.
Message string
The message in the response.
Trace-ID string
Unique ID for tracing the API request.
Last updated
Was this helpful?