Xsolla-logo

Get list of item promotions

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
curl -i -X GET \
  -u <username>:<password> \
  'https://store.xsolla.com/api/v2/project/{project_id}/admin/promotion/item?limit=0&offset=0'
Response samples
application/json
{
  • "promotions": [
    ]
}