退单同步
POST
/fast-service/v1/0.0/api/trade/refund/sync
销售场景
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-vpjq75s2e4.kylin.shuyun.com/fast-service/v1/0.0/api/trade/refund/sync' \
--header 'Authorization;' \
--header 'X-Caller-Service: ' \
--header 'X-Caller-sign: ' \
--header 'X-Caller-Timestamp: ' \
--header 'X-Caller-Sign: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"bizCode": "CTFCN",
"requestChannel": "WECHAT",
"requestSystem": "WECHAT_MALL",
"transactionId": "TX2024030490569",
"identify": {
"memberId": "string",
"channel": "string",
"userId": "wxd678efh567hg6787_oGPAG5rdBP78jh_3cmJ1en8FvZlo"
},
"refund": {
"memberId": "string",
"extData": {
"property1": "string",
"property2": "string"
},
"orderId": "087989aaf6af4e58897794d18axxxxx",
"salesOrderNo": "087989aaf6af4e58897794d18axxxxx",
"originOrderId": "087989aaf6af4e58897794d18axxxxx",
"cardNo": "T000001",
"shopCode": "100",
"orderSourceBranch": "100",
"orderSourceOrder": "20241022024-1",
"totalQuantity": 1,
"totalFee": 100.2,
"payment": 1,
"orderArea": "CTFCN",
"exchangeRate": 0.8,
"grade": "CTFCN",
"payMode": [
{
"payWayCode": "1",
"payWayName": "现金",
"payment": 1
}
],
"operationType": "lntestorder",
"couponFee": 99,
"guideCode": "001",
"orderSource": "lntestorder",
"orderSourceDesc": "lntestorder",
"description": "无",
"orderTime": "2019-08-24T14:15:22.123Z",
"stockoutTime": "2019-08-24T14:15:22.123Z",
"refundOrderItems": [
{
"extData": {
"property1": "string",
"property2": "string"
},
"orderItemId": "bf3a654f1afa4859bb5c0e8846bxxxxx",
"originOrderItemId": "bf3a654f1afa4859bb5c0e8846bxxxxx",
"orderId": "087989aaf6af4e58897794d18axxxxx",
"productCode": "P001",
"productName": "P001",
"productSeries": "P001",
"jewelryType": "P001",
"materialNatureSume": "P001",
"marketSegmentation": "P001",
"productBrand": "P001",
"promotionPriceFlag": "P001",
"stockType": "P001",
"stockGroup": "P001",
"stockCreateDomain": "P001",
"stockNo": "P001",
"mouldType": "P001",
"mouldNo": "P001",
"shopCode": "SHOP001",
"shopName": "SHOP001",
"couponNo": "85",
"payment": 85,
"saleMode": "lntestorder",
"status": "FINISHED",
"updateTime": "2019-08-24T14:15:22.123Z",
"shopTypeCode": "TAOBAO",
"finishTime": "2019-08-24T14:15:22.123Z",
"quantity": 1,
"skuId": "S001",
"picture": "[\"https://allpro.saas.top/FsB-uzzX4WtCzpDu-Vuwqp2OdNbQ?e=1547742055&token=yNjhOp7gnH4St9yP72OlwuQ6JUNQf49pxAuGWYFt:1eZIUjRKIekGuMGG-c-s7UqNF1Y=;\"]"
}
],
"freight": 10,
"receiverName": "abc",
"receiverMobile": "18900000000",
"receiverTelephone": "18900000000",
"receiverProvince": "上海",
"receiverCity": "上海",
"receiverDistrict": "浦东新区",
"receiverAddress": "南京东路100号",
"receiverZipCode": "200000",
"pointFlag": 1,
"refundTime": "2019-08-24T14:15:22.123Z",
"finishTime": "2019-08-24T14:15:22.123Z",
"isInternal": "N"
}
}'
响应示例响应示例
{
"success": true,
"code": "string",
"message": "string",
"data": {}
}
请求参数
Header 参数
Authorization
string
必需
默认值:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJicmFuY2hfMzgxMCIsImF1ZCI6InNtYXJ0X3BvcnRhbF91YXQiLCJpc3MiOiJzc28iLCJpcF9hZGRyZXNzIjoiMTAuMjAwLjE4MC43NiIsImV4cCI6MTczOTc5ODIzMCwiYnJhbmNoIjoiMzgxMCIsImlhdCI6MTczOTc5MTAzMH0.jqwTnQ0ah3k94Yjpn7hw91QtmKwsvXhjyibZpXDrGifaBcvzPdz8MjCg66FUohyKTS4ciZILl6xXJ5a1pQ_iIg
X-Caller-Service
string
可选
默认值:
{{caller}}
X-Caller-sign
string
可选
默认值:
{{sign}}
X-Caller-Timestamp
string
可选
默认值:
{{currentTime}}
X-Caller-Sign
string
网关签名
默认值:
{{sign}}
Body 参数application/json