Xsolla-logoXsolla Developers
前往发布商帐户

获取优惠券Server-sideAdmin

get/projects/{project_id}/coupons/{code}/details

按代码获取有关优惠券的信息。

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

项目ID。

code
required
string

优惠券代码。

Responses
200

OK.

Request samples
Response samples
application/json
{
  • "key": "12",
  • "list_of_values": [ ],
  • "name": {
    },
  • "skip_condition_on_nonexistent_key": true,
  • "type": "int",
  • "visible": false
}