POST
/
parcel
/
intral
/
intral-city
curl --request POST \
  --url https://api.mervii.com/beta/parcel/intral/intral-city \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "destinations": [
    {
      "city": "Ojodu Berger",
      "contacts": {
        "email": "abdul@gmail.com",
        "name": "Olakunle Olayemi",
        "phone_number": "09020500177",
        "phone_number_2": "09020500177"
      },
      "country": "Nigeria",
      "country_code": "NG",
      "formattedAddress": "Olowora, Ojodu Berger 105102, Lagos, Nigeria",
      "lat": 6.6395189,
      "lng": 3.3710171,
      "local": "Kosofe",
      "neighborhood": "Olowora",
      "postal_code": "105102",
      "region": {
        "latitude": 6.6395189,
        "longitude": 3.3710171
      },
      "state": "Lagos",
      "state_code": "LA",
      "ward": "Isheri-Olowo-Ira/Shangisha/Magodo Phase I & II"
    }
  ],
  "pickup_origin": {
    "city": "Ikeja",
    "contacts": {
      "email": "abdul@gmail.com",
      "name": "Olakunle Olayemi",
      "phone_number": "09020500177",
      "phone_number_2": "09020500177"
    },
    "country_code": "NG",
    "region": {
      "latitude": 6.594019599999999,
      "longitude": 3.336365099999999
    },
    "state_code": "LA"
  }
}'
{
  "data": {
    "discount_description": "See the destination parcel details",
    "discount_type": "percentage",
    "status": "Pending",
    "total_amount": 1427,
    "total_amount_payable": 1427,
    "total_discount_amount": 0,
    "tracking_number": "202410082201832"
  },
  "message": "Parcel is successful",
  "status": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json
destinations
object[]
Example:
[
  {
    "city": "Ojodu Berger",
    "contacts": {
      "email": "abdul@gmail.com",
      "name": "Olakunle Olayemi",
      "phone_number": "09020500177",
      "phone_number_2": "09020500177"
    },
    "country": "Nigeria",
    "country_code": "NG",
    "formattedAddress": "Olowora, Ojodu Berger 105102, Lagos, Nigeria",
    "lat": 6.6395189,
    "lng": 3.3710171,
    "local": "Kosofe",
    "neighborhood": "Olowora",
    "postal_code": "105102",
    "region": {
      "latitude": 6.6395189,
      "longitude": 3.3710171
    },
    "state": "Lagos",
    "state_code": "LA",
    "ward": "Isheri-Olowo-Ira/Shangisha/Magodo Phase I & II"
  }
]
pickup_origin
object

Response

200
application/json
success
data
object
message
string
Example:

"Parcel is successful"

status
boolean
Example:

true

Was this page helpful?