Xsolla-logo

Get list of coupon promotionsServer-sideAdmin

get/v2/project/{project_id}/admin/coupon

Gets the list of coupon promotions of a project.

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 coupons 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
{
  • "items": [
    ],
  • "total_promotions_count": 2,
  • "active_promotions_count": 2,
  • "inactive_promotions_count": 0
}