Cannot Service
Update Date: 2024-03-26 Recommendatory Online test(Sandbox)
Summary
- This interface is used to inform Ctrip that cannot provide service for specific order and request dispatch the order to other vendor.
- If the Vendor does not receive the return message from Ctrip, the vendor should retry 3 times in 5 seconds.
API address
API address Format: {Domain}/JNT-{vendorID}/order/cancel/2.0/{ctripPurchaseOrderID}/{timeStamp}/{sign}
Request Payload
CancelOrderRequest
Parameter | Type | Required | Description | Example | Note |
---|---|---|---|---|---|
ctripPurchaseOrderID | Long | Y | Ctrip Purchase Order ID | 881823967638342968 | 18 digital |
vendorOrderID | String | Y | Vendor's Order ID | Provide by Vendor |
Response Payload
CancelOrderResponse
Parameter | Type | Required | Description | Example | Note |
---|---|---|---|---|---|
msgCode | String | Y | Response Code | OK | Response Code |
message | String | N | Response Detail | Success | Response Code |
Request Example
{
"ctripPurchaseOrderID": 881824212456774814,
"vendorOrderID": "1232423"
}
Response Example
{
"msgCode": "OK",
"massage": "成功"
}
Error Example
{
"msgCode": "Error",
"massage": ""
}