Callback

POST /callback/{store}

The callback endpoints of logistics, available provider haiku

Path parameters

  • store string Required

    ID of the logistics provider.

application/xml

Body Required

The callback body of logistics

Responses

  • 200

    The order confirmation of logistics has been processed successfully.

    Hide response attributes Show response attributes object
  • 400

    Invalid input.

    Hide response attributes Show response attributes object
  • 500

    Order confirmation failed.

    Hide response attributes Show response attributes object
POST /callback/{store}
curl \
 -X POST https://nomad.samarkand-global.cn/pilot/callback/{store} \
 -H "x-ca-key: $API_KEY" \
 -H "Content-Type: application/xml" \
 -d '{"deliveryOrder":{"deliveryOrderCode":"string","deliveryOrderId":"string","warehouseCode":"string","orderType":"string","status":"string","outBizCode":"string","confirmType":"string","orderConfirmTime":"string","operatorCode":"string","operatorName":"string","operateTime":"string","storageFee":"string","logisticsCode":"string","logisticsName":"string","expressCode":"string"}}'
Request example
{
  "deliveryOrder": {
    "deliveryOrderCode": "string",
    "deliveryOrderId": "string",
    "warehouseCode": "string",
    "orderType": "string",
    "status": "string",
    "outBizCode": "string",
    "confirmType": "string",
    "orderConfirmTime": "string",
    "operatorCode": "string",
    "operatorName": "string",
    "operateTime": "string",
    "storageFee": "string",
    "logisticsCode": "string",
    "logisticsName": "string",
    "expressCode": "string"
  }
}
Response examples (200)
{
  "success": "success",
  "errorcode": "string",
  "errormsg": "string"
}
Response examples (400)
{
  "success": "success",
  "errorcode": "string",
  "errormsg": "string"
}
Response examples (500)
{
  "success": "success",
  "errorcode": "string",
  "errormsg": "string"
}