Xsolla-logo

Get coupon promotionServer-sideAdmin

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

Gets a specified coupon promotion.

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
external_id
required
integer

Promotion external ID. Unique promotion identifier within the project.

Example: coupon_44056_1
Responses
200

Coupon was successfully received.

401

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

404

Coupon not found. Make sure the external_id is correct.

Request samples
Response samples
application/json
{
  • "external_id": "summer20221",
  • "date_start": "2020-04-15T18:16:00+05:00",
  • "date_end": "2020-04-25T18:16:00+05:00",
  • "name": {
    },
  • "is_enabled": true,
  • "bonus": [
    ],
  • "redeem_user_limit": null,
  • "redeem_total_limit": 100,
  • "redeem_code_limit": null,
  • "total_limit_state": {
    }
}