Xsolla-logoXsolla Developers
or
To Publisher Account

Get PromotionServer-sideAdmin

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

Retrieves a promotion.

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
{
  • "description": {
    },
  • "enabled": false,
  • "id": 17890,
  • "label": {
    },
  • "name": {
    },
  • "project_id": 40544,
  • "read_only": false,
  • "show_banner": true,
  • "technical_name": "Sale promotion"
}