Update status

Integration for customer using APIs. Partner using 247's service, provide the corresponding API below for 247 to return order status.

  • Use RESTful APIs

  • Content-Type: application/json

  • Supports one of the following authentication mechanisms:

    • Apikey

    • Basic Authentication

Update Order Status

POST /IntergrationAPI

Headers

Request Body

// Success
{
    "IsError": false,
    "ErrorMessage": ""
}
// Error
{
    "IsError": true,
    "ErrorMessage": "Mô tả lỗi"
 }

Example

{
  "ApiKey": "EBD2E298-20AC-483F-80EC-B51CF8D79A2A",
  "OrderCode": "HD000003",
  "ExternalCode": "HD000003",
  "ReferenceCode":"HD000003"
  "Status": "25",
  "StatusName": "DANGDIPHAT",
  "Description": "Change order status: DANGVANCHUYEN ==> DANGDIPHAT",
  "RequestFeedbackCount": 0,
  "DelayCode": null,
  "DelayNotes": null,
  "DeliveryNotes": null,
  "Mailman": null,
  "DeliveryDate": "2019-08-07 11:24:12",
  "ReceiverName": "THANH",
  "TransactionId": "e07147ce-ebdb-47c6-ac96-959222494dbe",
  "Time": "2019-08-07T11:24:12.4946223+07:00"
}

List of Statuses

  • 16: CHOXULY - PENDING_FOR_PROCEED

  • 18: HUY - CANCEL

  • 19: THATLAC - LOST

  • 21: DATIEPNHAN - ACCEPTED

  • 23: DALAYHANG - PICKED_UP

  • 24: DANGVANCHUYEN - IN_TRANSIT

  • 25: DANGDIPHAT - DELIVERING

  • 27: CHOCHUYENHOAN - PENDING_FOR_RETURN

  • 28: DACHUYENHOAN - RETURNED

  • 30: PHATTHANHCONG - DELIVERED

  • 32: TICHTHU - CONFISCATED

Last updated