# Get Orders After Sales Orders
# Interface call request specification
Http request method: POST
https://api.weixin.qq.com/shop/aftersale/get?access_token=xxxxxxxxx
# Request Parameter Sample
{
"order_id":32434234, // Order ID Initiated After Sales
"out_order_id": 'xxxxx';
"openid": "oTVP50O53a7jgmawAmxKukNlq3XI"
}
# Return Package Example
{
"errcode": 0,
"errmsg":"ok",
"aftersale_Infos ": [
{
"out_order_id": 'xxxxx';
"out_aftersale_id": ♪ Hey, hey, hey ♪
"openid": "oTVP50O53a7jgmawAmxKukNlq3XI",
"type": 1,
"create_time": "2020-12-01 00:00:00",
"path": "/pages/order.html?out_order_id=xxxxx",
"status": 1,
"refund": 100,
"product_Infos ": [
{
"out_product_id": "234245",
"out_sku_id": "23424",
"product_cnt": 5
},
...
]
}
]
}
# Request Parameter Dxplaination
parameter | type | Is it necessary to fill out | Introductions |
---|---|---|---|
out_order_id | string | no | Merchant custom order ID, and order_id Either way, |
openid | string | yes | User's openid |
# Return parameter specification
parameter | type | Introductions |
---|---|---|
Errcode | number | Error code |
errmsg | string | Error message |
aftersale_infos[].out_aftersale_id | string | Merchant custom after-sales ID, with aftersale_Id choose two |
aftersale_infos[].path | string | Business Mini Program the single page path, do not exist to use the order path |
aftersale_infos[].openid | string | User's openid |
aftersale_infos[].type | number | After sale type, 1: refund, 2: refund return, 3: exchange |
aftersale_infos[].status | number | 0: not accepted, 1: user cancellation, 2: business acceptance, 3: business overdue processing, 4: business refused to refund, 5: business rejected refund, 6: to buy after sale_infos[].home returns, 7: return refund closed, 8: to business receipt, 11: business refund 12: business overdue refund, 13: refund completed, 14: refund complete |
aftersale_infos[].product_infos | object array | List of Return Related Items |
aftersale_infos[].product_infos[].out_product_id | string | Custom Product ID |
aftersale_infos[].product_infos[].out_sku_id | string | Business custom sku ID |
aftersale_infos[].product_infos[].product_cnt | number | product_Required when infos exists |
aftersale_infos[].refund | number | Refund amount, in points |
aftersale_infos[].refund_reason | string | Refund reason |
aftersale_infos[].refund_address | string | Buyer receiving address |
aftersale_infos[]Orderamt | number | Refund amount |