Xsolla-logo

Get item promotionServer-sideAdmin

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

Gets the promotion applied to particular items.

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

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

Item 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",
  • "is_enabled": true,
  • "discount": {
    },
  • "items": [
    ],
  • "name": {
    },
  • "limits": {
    },
  • "price_range_condition": {
    }
}