Feedback

CustomerConfirmDelivery

POST /api/Customer/CustomerConfirmDelivery

Headers

NameValue

ClientID

Token

Body

OrderCode*

string

OrderCode

ConfirmID*

string

ConfirmID (detail)

Notes

string

Notes

DeliveryInfo

object

Delivery Info

ReceiverName

string

Recipient's name

ReceiverAddress

string

Recipient's full address (house number, Street name, Ward name, District name, Province name).

ReceiverPhone

string

Recipient's phone

DeliveryTime

DateTime

ReDelivery Time

Response

{
    "IsError": false,
    "Errors": [],
    "ErrorMessage": "",
    "ErrorCode": ""
}
NameTypeDescription

IsError

bool

IsError?

ErrorMessage

string

Error mesage

ErrorCode

string

Error code (detail)

Errors

array object

Array of Errors

Errors.PropertyName

string

Property name

Errors.ErrorMessage

string

Error mesage of property

ConfirmID

  • 1: Re-Delivery

  • 2: Return to sender address

  • 3: Return to other address

  • 4: Forward to order address

  • 5: Destroy

Errors Code

  • 1: Ward error

  • 2: District Error

  • 3: Province Error

  • 6: Was an exception

  • 13: OrderCode not found

  • 14: OrderCode's status is invalid

  • 15: OrderCode is not allow null

  • 17: ReceiverAddress is invalid

  • 22: ConfirmID is in valid

  • 23: DeliveryInfo is not allow null

  • 24: Delivery info is invalid

Example

{
    "OrderCode" : "HD00001",
    "ConfirmID" : 3,
    "DeliveryInfo" : {
        "ReceiverName" : "Thành",
        "ReceiverAddress" : "326 Võ Văn Kiệt, Cô Giang, Quận 1",
        "ReceiverPhone" : "09871111231"
    },
    "Notes": "Chuyển hoàn về kho"
}

Last updated