优惠券API / 获取某优惠券的详细信息
优惠券API / 获取某优惠券的详细信息
发布日期:2017-10-27
浏览次数:2686
1.1 说明
| 路径 | http://www.your_website_domain.com/FeiEditor/api_v1/shop/coupons/{id} |
| 方法 | GET/POST |
| 说明 | 根据优惠券的ID,获得优惠券的详细信息。 |
1.2 参数
1.3 返回结果
| 正确结果 |
| 返回格式:JSON |
| { "coupon": { "id": 1, "code": "new-coupon", "type": "percent", "created_at": "2017-01-01T19:05:27Z", "updated_at": "2017-01-01T19:05:27Z", "amount": "10.00", "individual_use": true, "product_ids": [], "exclude_product_ids": [], "usage_limit": null, "usage_limit_per_user": null, "limit_usage_to_x_items": 0, "usage_count": 0, "expiry_date": null, "enable_free_shipping": false, "product_category_ids": [], "exclude_product_category_ids": [], "exclude_sale_items": true, "minimum_amount": "100.00", "customer_emails": [], "description": "" } } |
