Xsolla-logo

Get list of bonus promotionsServer-sideAdmin

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

Gets the list of bonus promotions of a project.

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
query Parameters
limit
integer

Limit for the number of elements on the page.

Example: limit=50
offset
integer

Number of the element from which the list is generated (the count starts from 0).

Example: offset=0
Responses
200

List of bonus promotions was successfully received.

401

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

Request samples
Response samples
application/json
{
  • "promotions": [
    ],
  • "total_promotions_count": 2,
  • "active_promotions_count": 2,
  • "inactive_promotions_count": 0
}