# 获取优惠券 按代码获取有关优惠券的信息。 Endpoint: GET /projects/{project_id}/coupons/{code}/details Version: 2.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) 项目ID。 - `code` (string, required) 优惠券代码。 ## Response 200 fields (application/json): - `key` (string) 用户属性键值。 - `list_of_values` (array) enum 类型可能值的数组。 - `name` (object) 用户属性本地化名称的数组。 - `name.ar` (string) 阿拉伯语。 - `name.bg` (string) 保加利亚语。 - `name.cn` (string) 中文(简体)。 - `name.cs` (string) 捷克语。 - `name.de` (string) 德语。 - `name.en` (string) 英语。 - `name.es` (string) 西班牙语。 - `name.fr` (string) 法语。 - `name.he` (string) 希伯来语。 - `name.it` (string) 意大利语。 - `name.ja` (string) 日语。 - `name.ko` (string) 韩语。 - `name.pl` (string) 波兰语。 - `name.pt` (string) 葡萄牙语。 - `name.ro` (string) 罗马尼亚语。 - `name.ru` (string) 俄语。 - `name.th` (string) 泰语。 - `name.tr` (string) 土耳其语。 - `name.tw` (string) 中文(繁体)。 - `name.vi` (string) 越南语。 - `skip_condition_on_nonexistent_key` (boolean) 键值不存在时是否应跳过条件。 - `type` (string) 键类型。 Enum: "int", "string", "enum", "date" - `visible` (boolean)