# After-sales updates

Only update after-sales status

# Interface call request specification

Http request method: POST
https://api.weixin.qq.com/shop/aftersale/update?access_token=xxxxxxxxx

# Request Parameter Sample

{
    "out_order_id": 'xxxxx';
    "openid": "oTVP50O53a7jgmawAmxKukNlq3XI",
    "out_aftersale_id": ♪ Hey, hey, hey ♪   // Merchant after-sales Id
    "status": 1,       // 0: not accepted, 1: user cancellation, 2: merchant acceptance, 3: merchant overdue processing, 4: merchant refused to refund, 5: businesses refused to return refund, 6: to be returned by buyers, 7: refund closed, 8: to receive business, 11: business refund 12: business overdue refund, 13: refund completed, 14: return refund complete, 15: replacement completed, 16: to be shipped to businesses, 17: to confirm receipt, 18: businesses refused to exchange, 19: businesses have received goods
    "finish_all_aftersale": 0, // 0: the sale is not over, 1: End of after-sales and order status flow
}

# Return Package Example

{
    "errcode": 0,
    "errmsg":"ok"
}

# Request Parameter Dxplaination

parameter type Is it necessary to fill out Introductions
out_order_id string yes Merchant custom order ID, and order_id Either way,
out_aftersale_id string yes Custom after-sales ID
openid string yes User's openid
status number yes 0: not accepted, 1: user cancellation, 2: merchant acceptance, 3: merchant overdue processing, 4: merchant refused to refund, 5: businesses refused to return refund, 6: to be returned by buyers, 7: refund closed, 8: to receive business, 11: business refund 12: business overdue refund, 13: refund completed, 14: return refund complete, 15: replacement completed, 16: to be shipped to businesses, 17: to confirm receipt, 18: businesses refused to exchange, 19: businesses have received goods
finish_all_aftersale number yes 0: the sale is not over, 1: End of after-sales and order status flow

# Return parameter specification

parameter type Introductions
Errcode number Error code
errmsg string Error message