Skip to content

订单售后状态推送

拥有此API的权限集并订阅此消息推送
订单管理-查询

接口描述

  • 当前只推送了创建售后单的状态消息

推送参数

参数名是否必传类型说明
typestring推送类型:after_sale-售后
app_idString店铺id
message_idString消息ID
retry_timesint重试次数
xe_dataObject业务数据

xe_data 参数结构

参数名必选类型说明
actionstring事件类型:详情见下方action参数说明
versionstring版本号
app_idstring店铺id
order_idstring订单id
aftersale_idstring售后id
stateint售后单状态
备注

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>