Xsolla-logo

Get bonus promotionServer-sideAdmin

get/v2/project/{project_id}/admin/promotion/{promotion_id}/bonus

Gets the bonus promotion.

Promotion adds free bonus items to the purchase made by a user. The promotion can be applied to every purchase within a project or to a purchase that includes particular items.

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
promotion_id
required
integer

Promotion ID. Unique promotion identifier within the project.

Example: 111425
Responses
200

Bonus promotion was successfully received.

401

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

404

Promotion not found. Make sure promotion_id is correct.

Request samples
Response samples
application/json
{
  • "id": 1,
  • "date_start": "2020-04-15T18:16:00+05:00",
  • "date_end": "2020-04-25T18:16:00+05:00",
  • "name": {
    },
  • "is_enabled": true,
  • "condition": [
    ],
  • "bonus": [
    ],
  • "limits": {
    }
}