Documentation Index
Fetch the complete documentation index at: https://docs.elivaas.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Promotion Groups API returns all active promotions for a specific property, grouped by promotion type. This is useful for displaying promotions in categorized sections on your booking interface.Retrieving Promotion Groups
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| propertyId | string | Yes | Identifier of the property |
Example Request
Example Response
Response Format
The response is a JSON object where:- Keys are promotion type strings (
COUPON,EARLY_BOOKER,LAST_MINUTE,FREE_NIGHT,BASIC, orUNKNOWN) - Values are arrays of promotion objects (same schema as the Promotions Retrieve endpoint)
UNKNOWN key.
Use Cases
- Display categorized offers: Show coupons, early bird deals, and free night offers in separate sections on your booking page
- Highlight specific promotion types: Feature early booker or last-minute deals prominently based on the user’s booking timeline
- Filter by category: Allow users to browse promotions by type
Authentication
All requests must include the following headers:Api-Key: Your API key for authenticationChannel-Id: Identifier for the channel making the request
Error Handling
The API returns standard HTTP status codes:- 200: Success
- 401: Unauthorized
- 404: Property not found
- 500: Internal Server Error

