---
title: "Assign Properties to a Promotion."
method: PUT
path: "/rm-promotions/promotions/{promotionId}/assign"
tags: ["Promotions Open Api"]
---

# Assign Properties to a Promotion.

`PUT /rm-promotions/promotions/{promotionId}/assign`

## Request

- Base URL: `https://open-api.guesty.com/v1`
- URL: `https://open-api.guesty.com/v1/rm-promotions/promotions/{promotionId}/assign`
- Auth: API key in header `authorization`

Assigns properties to participate in a promotion.

## Path parameters

- `promotionId` string, required

## Request body

- object
  - `listings` object[], required: Listings to assign.

## Response `202`

Request for assigning properties to the promotion has been accepted and is being processed.

- object
  - `requestId` string, required: Id of request.
  - `promotionId` string, required: Id of promotion.
  - `assignedListingIds` object[], required: Assigned listings in this request.

## Other responses

- `400`: Validation error.
- `401`: Authorization error.
- `403`: Feature is not enabled for this accountId.
- `404`: Promotion was not found.
- `500`: Internal server error.

---

[API](https://skmtc.dev/guesty/apis/guesty-open-api.md) - [All operations](https://skmtc.dev/guesty/apis/guesty-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/guesty/apis/guesty-open-api/revisions/3122b8618183?raw)
