POST LOS discount

If there is an existing Length Of Stay discount for the specified Listing and Length Of Stay then it will be overwritten with the value specified here.

Note that Lengths of Stay apply in thresholds. E.g. if there are 2 discounts entered, one for 5 days and one for 30 days, then the 5-day discount will apply for all stays between 5 and 29 nights, and the 30-day discount will apply for all stays over 30 nights.

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

Body Params

The Discount percentage and Length Of Stay (number of nights) that it should apply to.

Represents the information needed to set a discount based on the length of stay for a booking

int32
required
1 to 600

Represents the length of stay at which to apply the discount

double
required
1 to 99

Represents the discount percentage to apply

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

400

Discount Percentage or Length of Stay out of range.

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