Query for a pageable list of discounts.
Changed onDiscounts are the reusable discount templates (length-of-stay, promotions, and other reductions) applied to bookings.
Request
- Base URLhttps://api.ownerrez.com
- URLhttps://api.ownerrez.com/v2/discounts
- Auth
- HTTP bearer
- or HTTP basic
Query parameters
Filter for records created or changed since a specific date (UTC).
Filter by active status.
Filter by type (comma-separated, e.g. CleaningFee, LengthOfStayDiscount).
Filter by income category.
Filter by mode (Automatic, Optional, Manual, Code, Offline).
Filter to records applicable to a specific property.
Maximum records to return. Default 20, maximum 100.
Deprecated: rejected above 0 from 2027-01-05. Follow next_page_url instead. Records to skip from the start of the collection. Default 0.
Opaque cursor from a previous response's next_page_url. Prefer following that link over computing offsets: a cursor pages by record id, so rows inserted while you page are not skipped or repeated. A cursor issued under different filters is ignored and paging falls back to offset.
Response
A pageable list of view models.
Changes
- info
added the new optional
queryrequest parametercursor - info
queryrequest parameteroffsetwas deprecated
- info
- warning
added the new
stay_dateenum value to the/////////////response property for the response status - warning
added the new
stay_dateenum value to the/////////response property for the response status
- warning