GET LOS discount

Note that this will return for the specific length of stay entered, not necessarily one that would be applied during pricing.

E.g. during pricing, if a 6-day booking is being made, and a 5-day Length Of Stay discount of 10% is entered, the price would be discounted by 10% (assuming there is no specific 6-day discount also available).

However, querying this endpoint for a 6-day Length Of Stay will return no response. Only querying for a 5-day will return the discount.

To find out the discount that would be applied, call the listings/{listingId}/discounts/lengthofstay to see all current discounts.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Represents a unique identifier for a listing

int32
required

The length of stay you would like the discount for in days (1-600)

Responses

204

No Length Of Stay discount for this ListingId/Length of stay

401

Unauthorized ensure your access token is correct

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json