POST
/
parcel
/
logistics
/
door-centre
curl --request POST \
  --url https://api.mervii.com/beta/parcel/logistics/door-centre \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pickup_origin": {
    "region": {
      "latitude": 7.427026700000001,
      "longitude": 3.8900142
    },
    "state_code": "LA",
    "country_code": "NG",
    "city": "Lagos",
    "address": "Ikolaba Rd, Ibadan 200285, Oyo, Nigeria",
    "contacts": {
      "name": "Olakunle Olayemi",
      "email": "abdul@gmail.com",
      "phone_number": "09020500177",
      "phone_number_2": ""
    },
    "pickup_note": "",
    "pickup_date": "",
    "pickup_time": "",
    "vehicle": ""
  },
  "destinations": [
    {
      "centre_code": "ibadan-sango",
      "state_code": "LA",
      "country_code": "NG",
      "city": "Lagos",
      "address": "Ikolaba Rd, Ibadan 200285, Oyo, Nigeria",
      "contacts": {
        "name": "Olakunle Olayemi",
        "email": "abdul@gmail.com",
        "phone_number": "09020500177",
        "phone_number_2": ""
      },
      "delivery_note": "",
      "items": [
        {
          "name": "Book",
          "width": "",
          "length": "",
          "height": ""
        }
      ],
      "item_weight": 1
    }
  ]
}'
"{\n    \"status\": true,\n    \"message\": \"Parcel is successful\",\n    \"data\": {\n        \"tracking_number\": \"202410086789949\",\n        \"status\": \"Pending\",\n        \"total_amount\": 11192.940875080363,\n        \"total_discount_amount\": 0,\n        \"total_amount_payable\": 11192.940875080363,\n        \"discount_type\": \"Percetage\",\n        \"discount_description\": \"0% discount\"\n    }\n}"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
Cache-Control
string
Postman-Token
string
Content-Type
string
Content-Length
string
Host
string
User-Agent
string
Accept
string
Accept-Encoding
string
Connection
string
accept
string

Body

application/json · object

The body is of type object.

Response

200
text/plain
OK

The response is of type string.

Was this page helpful?