Door-centre
This API endpoint allows you to create a new logistics order for door-to-centre parcel delivery. The request should be sent as an HTTP POST to /parcel/logistics/door-centre.
Request Body
The request body should be sent in raw format and should include the following parameters:
-
pickup_origin
: Details of the pickup location including region, state code, country code, city, address, contacts, pickup note, pickup date, pickup time, and vehicle. -
destinations
: An array containing details of the destination centre, including centre code, state code, country code, city, address, contacts, delivery note, items, and item weight.
Response
Upon successful creation of the logistics order, the API will respond with the following parameters:
-
status
: A boolean indicating the status of the request. -
message
: An optional message related to the request. -
data
: An object containing details of the created order, including tracking number, status, total amount, total discount amount, total amount payable, discount type, and discount description.
Example Response:
{
"status": true,
"message": "",
"data": {
"tracking_number": "",
"status": "",
"total_amount": 0,
"total_discount_amount": 0,
"total_amount_payable": 0,
"discount_type": "",
"discount_description": ""
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
"no-cache"
"<calculated when request is sent>"
"<calculated when request is sent>"
"<calculated when request is sent>"
"PostmanRuntime/7.39.1"
"gzip, deflate, br"
"keep-alive"
Body
Response
success
The response is of type object
.