Skip to main content
GET
/
api
/
v1
/
promotions
/
{id}
/
listings
Get listings for a promotion
curl --request GET \
  --url https://api.example.com/api/v1/promotions/{id}/listings \
  --header 'x-calry-api-key: <api-key>'
[
  {
    "id": "<string>",
    "integrationAccountID": "<string>",
    "name": "<string>",
    "description": "<string>",
    "thumbnailURL": "<string>",
    "pictures": [
      "<string>"
    ],
    "latitude": 123,
    "longitude": 123,
    "bedroomCount": 123,
    "bathroomCount": 123
  }
]

Authorizations

x-calry-api-key
string
header
required

Headers

x-calry-tenant-id
string

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
string
required

Promotion ID

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

200 - application/json

List of listings associated with the promotion

id
string
integrationAccountID
string
name
string
description
string
thumbnailURL
string
pictures
string[]
latitude
number
longitude
number
bedroomCount
number
bathroomCount
number