Packages
List price rules for a package
Returns all PriceRules configured on the given Package. Price rules determine the price the customer pays based on when the package is booked — peak vs off-peak, weekday vs weekend, seasonal overrides. The first rule whose conditions match the booking wins; when no rule matches, the package falls back to a sensible default.
Results are paginated. Requires read access to the package's site.
get/shop/packages/{packageId}/price-rules
Query parameters
pageinteger
The page to retrieve results from
per_pageinteger
The number of results to return per page
Response
A paginated list of price rules for a package.
Example response
{
"data": [
{
"price": 4800
}
],
"meta": {
"from": 1,
"to": 2,
"total": 2,
"current_page": 1,
"last_page": 2,
"per_page": 15,
"path": "http://example.com/api"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.