Xsolla-logo

Get unique catalog offer promotionServer-sideAdmin

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

Gets the specified unique catalog offer 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

Unique catalog offer 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": "secret_shop",
  • "date_start": "2020-04-15T18:16:00+05:00",
  • "date_end": "2020-04-25T18:16:00+05:00",
  • "name": {
    },
  • "items": [
    ],
  • "is_enabled": true,
  • "redeem_user_limit": 1,
  • "redeem_total_limit": 100,
  • "redeem_code_limit": 1,
  • "total_limit_state": {
    }
}