Overview
Returns the active pricing tiers used by the CleanLife pricing engine. Pricing tiers define pricing multipliers based on service duration (in minutes). Understanding these tiers allows you to replicate the price calculation logic on your own side or to display accurate pricing ranges to your customers.Endpoint
Authentication
Requires a valid API Key with thepartner_pricing_read permission.
Query Parameters
None.Example Request
Success Response
HTTP Status:200 OK
Response Fields
| Field | Type | Description |
|---|---|---|
id | UUID | Tier identifier |
minMinutes | integer | Minimum service duration (inclusive) in minutes for this tier to apply |
maxMinutes | integer / null | Maximum service duration (inclusive) in minutes. null means “no upper limit” |
factor | float | Price multiplier. 1.0 = no discount; 0.9 = 10% discount |
sorting | integer | Display ordering — lower values appear first |
Error Responses
| HTTP Status | Code | Description |
|---|---|---|
401 | UNAUTHORIZED | Missing or invalid API key |
403 | FORBIDDEN | Missing partner_pricing_read permission |
Notes
- Pricing tiers are updated infrequently. Cache this response with a TTL of at least 1 hour.
- The
factoris applied to the base service price to determine the final price. - Use
POST /partners/pricing/calculate-priceto get an exact price for a specific booking configuration rather than computing it manually from tiers.
Related Endpoints
POST /partners/pricing/calculate-price— Calculate exact price for a booking configuration