Order Confirm

Update Date: 2024-03-26 Mandatory Online test(Sandbox)


Summary

  1. This interface is used to confirm that the vendor agree to offer service for this order. If the Vendor does not receive the return message from Ctrip, the vendor should retry 3 times in 5 seconds.
  2. Ctrip will verify the correctness of the country code and phone number in the request content.

API address

API address Format:  {Domain}/JNT-{vendorID}/order/confirm/2.0/{ctripPurchaseOrderID}/{timeStamp}/{sign}

Request Payload

ConfirmOrderRequest

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
connectTel String Y Customer Service Phone Number    
connectTelCode String Y Customer Service Phone Country Calling Code +86  

Response Payload

ConfirmOrderResponse

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": 881824251234568435,
    "vendorOrderID": "424323432",
    "pickUpLocationDesc": "",
    "pickUpLocationImgUrl": "",
    "connectTel": "3434245665",
    "connectTelCode": "+86"
}

Response Example

{
    "msgCode": "OK",
    "massage": "成功"
}

Error Example

{
    "msgCode": "ERROR_URL_PARAM",
    "massage": "错误的URL格式"
}

results matching ""

    No results matching ""