售后单确认(商--->美团)
接口说明: 商家通过此接口认责售后单,不进行申诉
接口提供方: 美团
请求地址: https://{$domain}/api/open/callback/common/aftersale/confirm
服务协议: HTTPS/POST
请求参数:
参数名称 | 类型 | 必选 | 说明 |
---|---|---|---|
channel | String | 是 | 分配的合作方的标识,每个合作方一个, 对应分配给合作方的client_id |
timestamp | Long | 是 | 请求时间,Unix Timestamp单位毫秒 |
sign | String | 是 | 签名 |
partnerId | Integer | 是 | 商ID |
afterSaleId | String | 是 | 售后单号 |
afterSaleType | Integer | 是 | 售后单类型 0:退款 1:赔付 |
响应参数:
参数名称 | 类型 | 必选 | 说明 |
---|---|---|---|
result | Integer | 是 | 服务响应状态 参考附录 |
message | String | 否 | 服务响应状态说明 参考附录 |
data | Object | 是 | |
data.afterSaleId | String | 是 | 售后单号 |
响应示例:
{
"result": 0,
"message": "SUCCESS",
"data": {
"afterSaleId": "xxxx"
}
}