优惠信息
更新时间:2022-03-21 11:31
描述

获取订单优惠信息

URL

{你的ERP域名}/api_v2/promotion/discount_info

HTTP请求方式

post

是否需要登录

true

请求参数
字段 必选 类型及范围 说明
appid true string(16) 应用ID(appId)
sign true string(32) 签名参数
order_code true string 订单号
type true string 订单类型 1线下 2线上
stores_id true int 门店id
返回字段说明
字段 类型及范围 说明
status string 状态 y=成功 n=失败
info html 提示信息
data array 返回的数据
data[][discount_type] string 优惠类型
data[][discount_money] string 优惠金额
data[][addtime] string 优惠时间
data[][details] string 优惠明细
TIPS

配送商城订单优惠明细