订单售后状态推送
拥有此API的权限集并订阅此消息推送 |
---|
订单管理-查询 |
接口描述
- 当前只推送了创建售后单的状态消息
推送参数
参数名 | 是否必传 | 类型 | 说明 |
---|---|---|---|
type | 是 | string | 推送类型:after_sale-售后 |
app_id | 是 | String | 店铺id |
message_id | 是 | String | 消息ID |
retry_times | 是 | int | 重试次数 |
xe_data | 是 | Object | 业务数据 |
xe_data
参数结构
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
action | 是 | string | 事件类型:详情见下方action参数说明 |
version | 是 | string | 版本号 |
app_id | 是 | string | 店铺id |
order_id | 是 | string | 订单id |
aftersale_id | 是 | string | 售后id |
state | 是 | int | 售后单状态 |
备注
state参数说明
参数名 | 说明 |
---|---|
0 | 未受理申请中 |
action参数说明
参数名 | 说明 |
---|---|
create_aftersale | 推送类型:创建售后单 |
推送解密后示例
<doc>
<type>after_sale</type>
<app_id>appAKLWLitnxxxx</app_id>
<message_id>20230615_1669013687304xxxxxx</message_id>
<retry_times>0</retry_times>
<xe_data>
<action>create_aftersale</action>
<app_id>appAKLWLxxxxxx</app_id>
<order_id>E2021072914183xxxxxx</order_id>
<version>1.0.0</version>
<aftersale_id>A1624244852_xxxxxxxx</aftersale_id>
<state>0</state>
</xe_data>
</doc>