v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Promotions Open Api

Get promotion listings

Get listing IDs assigned to a promotion.

get/rm-promotions/promotions/{promotionId}/listings

Path parameters

promotionIdstring required
Example:63ee4b7e459ca31532f

The promotion ID.

Query parameters

includeChildrenboolean required
Example:true

Include children listings.

Response

Returns listing IDs assigned to the promotion.

promotionIdstring required

ID of promotion.

listingIdsstring[] required

Listing IDs assigned to the promotion.

limitnumber required

Maximum number of promotions that can be returned in the response.

skipnumber required

Number of promotions that should be skipped from the result set.

countnumber required

Number of listings in the result set.

requestIdstring required

ID of request.

Example response

{
  "promotionId": "63ee4b7e459ca31532f",
  "listingIds": [
    "63ee4b7e459ca31532f",
    "63ee4b7e459ca31532f"
  ],
  "limit": 10,
  "count": 10,
  "requestId": "123e4567-e89b-12d3-a456-426614174000"
}