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

NameTypeDescription

Content-Type

string

Content type

Request Body

NameTypeDescription

Time

object

Event occurrence time

TransactionId

string

Transaction ID

DeliveryDate

object

Delivery date

ReceiverName

string

Recipient's name

Mailman

string

Mail man

DeliveryNotes

string

Delivery notes

DelayNotes

string

Reason for failed delivery

RequestFeedbackCount

integer

Number of request for feedback

Description

string

Description status

StatusName

string

Status name

Status

string

Status ID (detail)

OrderCode

string

Order Code

ApiKey

string

API key for authentication between 2 parties

DelayCode

string

Delay Code (detail)

ExternalCode

string

External Code (Order code entered by customer)

ReferenceCode

string

Customer reference code

// 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