Xsolla-logoXsolla Developers
or
To Publisher Account

Get Validity PeriodsServer-sideAdmin

get/merchants/{merchant_id}/promotions/{promotion_id}/periods

Gets date/time ranges when a promotion is valid.

Notice

This API call does not contain the project_id path-parameter, so you need to use the API key that is valid in all the company’s projects to set up authorization.

SecuritybasicAuth
Request
path Parameters
merchant_id
required
integer

Merchant ID.

promotion_id
required
integer

Promotion ID.

Responses
200

OK.

Request samples
Response samples
application/json
{
  • "id": 17840,
  • "periods": [
    ]
}