# 创建特别目录优惠促销活动 创建一个特别目录优惠促销活动。 Endpoint: POST /v3/project/{project_id}/admin/unique_catalog_offer Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) 项目ID。您可以在您的发布商帐户项目名称旁边找到。 Example: 44056 ## Request fields (application/json): - `date_end` (string,null) 促销活动结束日期。可以是null。如果date_end 为null,则促销活动无时间限制。 - `date_start` (string,null) 促销活动开始日期。 - `external_id` (string, required) 唯一促销活动ID。 external_id只能包含大小写英文字母和数字字符、句点、破折号和下划线。 Example: "coupon_external_id" - `items` (array) 使用特别目录优惠后可用的商品SKU列表。 Example: ["booster_mega_1"] - `name` (object, required) 促销活动名称。应包含键/值对, 其中键是"^[a-z]{2}-[A-Z]{2}$"格式的区域设置,值是字符串。 Example: {"de-DE":"Gutscheintitel","en-US":"Coupon title"} - `redeem_code_limit` (integer,null) 每个代码的兑换次数。 Example: 10 - `redeem_total_limit` (integer,null) 限制优惠券的总数。 Example: 10 - `redeem_user_limit` (integer,null) 限制单个用户兑换的优惠券总数。 Example: 10 ## Response 201 fields (application/json): - `external_id` (string) 唯一促销活动ID。 external_id只能包含大小写英文字母和数字字符、句点、破折号和下划线。 Example: "coupon_external_id" ## Response 401 fields (application/json): - `errorCode` (integer) Example: 1020 - `errorMessage` (string) Example: "[0401-1020]: Error in Authentication method occurred" - `statusCode` (integer) Example: 401 ## Response 422 fields (application/json): - `errorCode` (integer) Example: 1102 - `errorMessage` (string) Example: "[0401-1102]: Unprocessable Entity. The property `external_id` is required" - `statusCode` (integer) Example: 422