Assign listings to promotion
Assigns specific listings to a promotion
Documentation Index
Fetch the complete documentation index at: https://ota-docs.calry.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Headers
Optional tenant ID to specify which tenant to operate as. Controls access to promotions and their associated listings. If not provided, the default tenant will be used.
Path Parameters
ID of the promotion to assign listings to
"123e4567-e89b-12d3-a456-426614174000"
Body
Array of listing IDs to assign to the promotion
[
"123e4567-e89b-12d3-a456-426614174000",
"223e4567-e89b-12d3-a456-426614174000"
]Response
Listings assigned to promotion successfully
Unique identifier for the listing
"123e4567-e89b-12d3-a456-426614174000"
Name of the listing
"Beach House"
ID of the integration account this listing belongs to
"123e4567-e89b-12d3-a456-426614174000"
External ID for the listing
"ext-123"
Status of the listing
ACTIVE, INACTIVE "ACTIVE"
Description of the listing
"Beautiful beach house with ocean views"
URL for the listing thumbnail
"https://example.com/images/thumbnail.jpg"
Pictures of the listing
[
"https://example.com/images/pic1.jpg",
"https://example.com/images/pic2.jpg"
]Latitude coordinate of the listing
34.0522
Longitude coordinate of the listing
-118.2437
Number of bedrooms in the listing
3
Number of bathrooms in the listing
2