v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Promotions Open Api

Assign Properties to a Promotion.

Assigns properties to participate in a promotion.

put/rm-promotions/promotions/{promotionId}/assign

Path parameters

promotionIdstring required
Example:63ee4b7e459ca31532f

The promotion ID.

Request body

listingsobject[] required

Listings to assign.

Example request

{
  "listings": [
    "63ee4b7e459ca31532f",
    "63ee4b7e459ca31532f"
  ]
}

Response

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

requestIdstring required

Id of request.

promotionIdstring required

Id of promotion.

assignedListingIdsobject[] required

Assigned listings in this request.

Example response

{
  "requestId": "123e4567-e89b-12d3-a456-426614174000",
  "promotionId": "63ee4b7e459ca31532f",
  "assignedListingIds": [
    "63ee4b7e459ca31532f",
    "63ee4b7e459ca31532f"
  ]
}