- Logistics
- Admin
- get fee by state idGET
- get all feesGET
- get operational statesGET
- get mode of transportationGET
- delete accountDELETE
- checkoutPOST
- calculate pricePOST
get all fees
GET
/fees
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Authorization
string
optional
Example:
Bearer {{token}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/fees' \
--header 'Authorization: Bearer {{token}}'
Responses
🟢200OK
application/json
Body
data
array [object {10}]
required
id
integer
optional
per_kg
integer
optional
value_fee
integer
optional
value_fee_enabled
integer
optional
service_charge
integer
optional
service_charge_enabled
integer
optional
tax_rate
number
optional
tax_rate_enabled
integer
optional
pickup_center_id
null
optional
hub
null
optional
message
string
required
Examples
{
"data": {
"id": 2,
"per_kg": 50,
"value_fee": 300,
"value_fee_enabled": 1,
"service_charge": 100,
"service_charge_enabled": 1,
"tax_rate": 7.5,
"tax_rate_enabled": 1,
"hub": {
"id": 1,
"name": "Lagos 1",
"address": "Ikeja, Lagos, Nigeria",
"state": "Lagos",
"city": "ObiomaVille",
"contact_no": "0813 735 7156",
"status": "active",
"latitude": "6.601838",
"longitude": "3.3514863"
}
},
"message": "Okay"
}
Modified at 2024-11-22 12:32:47