Xsolla-logoXsolla Developers
or
To Publisher Account

Toggle offer chainServer-sideAdmin

put/v2/project/{project_id}/admin/offer_chain/id/{offer_chain_id}/toggle

Enables or disables an offer chain.

When the offer chain is disabled, users temporarily lose access to it, but their progress is preserved.

After the offer chain is re-enabled, users can continue from the step where they left off.

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
offer_chain_id
required
integer

Offer chain ID.

Example: 101
Responses
204

The offer chain has been disabled/enabled.

401

Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.

404

The offer chain was not found.

Request samples
Response samples
application/json
{
  • "statusCode": 401,
  • "errorCode": 1020,
  • "errorMessage": "[0401-1020]: Error in Authentication method occurred"
}