PromoCodes

Returns a list of promo codes.

Returns all existing promo codes that match given criteria.<br>You must have this scope: 'rateplans.read-corporate'.

get/rateplan/v1/promo-codes/codes

Query parameters

propertyIdstring

Return codes for a specific property

pageNumberinteger

Page number to retrieve. Default: 1. If the page has no items, the API returns 204 No Content.

pageSizeinteger

Items per page. Default: 500. Maximum: 500.

Response

A collection of promo codes.

countinteger required

Total count of items

Example response

{
  "promoCodes": [
    {
      "code": "APALEO",
      "relatedRateplanIds": [
        "BER-APALEO_FREE-SGL",
        "BER-APALEO_FREE-DBL",
        "MUC-APALEO_KING-SUITE"
      ]
    }
  ],
  "count": 5
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.