描述记录优惠信息
URL{你的ERP域名}/api_v2/promotion/discount_record
HTTP请求方式post
是否需要登录true
字段 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
appid | true | string(16) | 应用ID(appId) |
sign | true | string(32) | 签名参数 |
discounts | true | string | 优惠信息 json字符串 |
discounts[][discount_type] | true | int | 优惠类型 1满减 2赠送 3促销 4手动改价 5会员折扣 6整单折扣 7秒杀 8特价限购 99其他 |
discounts[][type] | true | int | 订单类型 1线下 2线上 |
discounts[][order_code] | true | string | 订单号 |
discounts[][discount_money] | true | string | 最终优惠金额 |
discounts[][stores_id] | true | int | 门店id |
discounts[][relevant_id] | false | int | 优惠相关id |
discounts[][details] | false | string | 优惠明细 json字符串 |
字段 | 类型及范围 | 说明 |
---|---|---|
status | string | 状态 y=成功 n=失败 |
info | html | 提示信息 |
TIPS记录优惠信息