Set Listing Status

This API allows enabling or disabling a VRBO listing.

Endpoint

POST

https://connect-sandbox.su-api.com/SUAPI/jservice/vrbo/property/status/set

app-id: YOUR_APP_ID
Authorization: YOUR_API_KEY
Content-Type: application/json
Header
Type
Required
Description

app-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.


listing_id string (Required)

VRBO listing ID.


status string (Required)

Indicates whether to enable or disable the listing.


Request

{
  "hotel_id": "AWSTEST",
  "listing_id": "73384756",
  "status": "enable"
}

Response

Success Response

{
  "Status": "Success",
  "Data": [],
  "Message": "Listing Status update successfully",
  "Trace-ID": ""
}

Success Response - Body Elements

Status string

Indicates the result of the API call.

Will be "Success" for successful operations.


Data object

The response data, the root element.


Message string

The message in the response.


Trace-ID string

Unique ID for tracing the API request.


Error Response

{
  "Status": "Fail",
  "Errors": [
    {
      "Code": "400",
      "ShortText": "hotel_id: Invalid HotelCode (:hotelid)"
    },
    {
      "Code": "2004",
      "ShortText": "Listing Id is required"
    },
    {
      "Code": "731",
      "ShortText": "property_status - is not valid or not found!"
    }
  ],
  "Message": "",
  "Trace-ID": ""
}

Error Response - Body Elements

Status string

Indicates the result of the API call.

Will be always "Fail" in case of an error response.


Errors array

The response error, the root element.


Code string

Specific error code that helps identify the type of error.

For example: "400" indicates a bad request.


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?