get
https://api.stg.plumguide.io/listings//discounts/lengthofstay/
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204No Length Of Stay discount for this ListingId/Length of stay
401Unauthorized ensure your access token is correct
