PUT
/
api
/
v1
/
promotions
/
{id}
/
integration-account
/
assign
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "Beach House",
    "integrationAccountID": "123e4567-e89b-12d3-a456-426614174000",
    "externalID": "ext-123",
    "status": "ACTIVE",
    "description": "Beautiful beach house with ocean views",
    "thumbnailURL": "https://example.com/images/thumbnail.jpg",
    "pictures": [
      "https://example.com/images/pic1.jpg",
      "https://example.com/images/pic2.jpg"
    ],
    "latitude": 34.0522,
    "longitude": -118.2437,
    "bedroomCount": 3,
    "bathroomCount": 2
  }
]

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

ID of the promotion to assign listings to

Example:

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

Body

application/json

Response

200
application/json

Integration account listings assigned to promotion successfully

The response is of type object[].