Xsolla-logoXsolla Developers
or
To Publisher Account

Toggle PromotionServer-sideAdmin

put/merchants/{merchant_id}/promotions/{promotion_id}/toggle

Toggles the status of a promotion from enabled to disabled and vice versa.

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
204

No content.

Request samples