Xsolla-logo

Get list of item promotionsServer-sideAdmin

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

Get the list of item promotions of a project.

Promotions provide a discount (%) on items. The discount will be applied to all prices of the specified items.

SecuritybasicAuth
Request
path Parameters
project_id
required
integer
Default: 59080

Project ID.

query Parameters
limit
integer

Limit for the number of elements on the page.

offset
integer

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

Responses
200

List of item 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": 4,
  • "active_promotions_count": 4,
  • "inactive_promotions_count": 0
}