Xsolla-logoXsolla Developers
or
To Publisher Account

Get RewardsServer-sideAdmin

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

Gets the list of rewards associated with 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
{
  • "id": 17840,
  • "item": {
    },
  • "package": {
    },
  • "purchase": {
    },
  • "subscription": {
    }
}