prices
Door - Centre
Get Started
parcels > logistics services request
parcels > intral city
prices
Door - Centre
POST
/
price
/
door-centre
curl --request POST \
--url https://api.mervii.com/beta/price/door-centre \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pickup_origin": {
"country_code": "NG",
"state_code": "LA",
"city": "",
"region": {
"latitude": 7.427026700000001,
"longitude": 3.8900142
}
},
"destinations": [
{
"state_code": "",
"country_code": "",
"centre_code": "ibadan-sango",
"addresss": "",
"item_weight": 1
}
]
}'
"{\n \"status\": true,\n \"message\": \"get price\",\n \"data\": {\n \"pickup_origin\": {\n \"country_code\": \"NG\",\n \"state_code\": \"LA\",\n \"city\": null,\n \"region\": {\n \"latitude\": 7.427026700000001,\n \"longitude\": 3.8900142\n },\n \"pickup_centre\": {\n \"centre_code\": \"lagos-ojodu-berger\",\n \"centre_name\": \"Ojodu Berger Lagos\"\n }\n },\n \"destinations\": [\n {\n \"state_code\": null,\n \"country_code\": null,\n \"centre_code\": \"ibadan-sango\",\n \"addresss\": null,\n \"item_weight\": 1,\n \"dropoff_centre\": {\n \"centre_code\": \"ibadan-sango\",\n \"centre_name\": \"Sango Ibadan\"\n },\n \"price\": {\n \"amount\": 3000.98,\n \"discount_amount\": 0,\n \"amount_payable\": 3000.98,\n \"discount_type\": \"Percetage\",\n \"discount_description\": \"0% discount\",\n \"distance\": \" Kilometres to the drop off center \",\n \"duration\": \"1-4 days\"\n },\n \"weight\": \"1\"\n }\n ],\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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
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?
curl --request POST \
--url https://api.mervii.com/beta/price/door-centre \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pickup_origin": {
"country_code": "NG",
"state_code": "LA",
"city": "",
"region": {
"latitude": 7.427026700000001,
"longitude": 3.8900142
}
},
"destinations": [
{
"state_code": "",
"country_code": "",
"centre_code": "ibadan-sango",
"addresss": "",
"item_weight": 1
}
]
}'
"{\n \"status\": true,\n \"message\": \"get price\",\n \"data\": {\n \"pickup_origin\": {\n \"country_code\": \"NG\",\n \"state_code\": \"LA\",\n \"city\": null,\n \"region\": {\n \"latitude\": 7.427026700000001,\n \"longitude\": 3.8900142\n },\n \"pickup_centre\": {\n \"centre_code\": \"lagos-ojodu-berger\",\n \"centre_name\": \"Ojodu Berger Lagos\"\n }\n },\n \"destinations\": [\n {\n \"state_code\": null,\n \"country_code\": null,\n \"centre_code\": \"ibadan-sango\",\n \"addresss\": null,\n \"item_weight\": 1,\n \"dropoff_centre\": {\n \"centre_code\": \"ibadan-sango\",\n \"centre_name\": \"Sango Ibadan\"\n },\n \"price\": {\n \"amount\": 3000.98,\n \"discount_amount\": 0,\n \"amount_payable\": 3000.98,\n \"discount_type\": \"Percetage\",\n \"discount_description\": \"0% discount\",\n \"distance\": \" Kilometres to the drop off center \",\n \"duration\": \"1-4 days\"\n },\n \"weight\": \"1\"\n }\n ],\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}"