Ela Logistics
  1. Logistics
Ela Logistics
  • Logistics
    • Admin
      • user
        • get rider delivery
        • Get user by id
        • Update rider state and city
      • transaction
        • get transactions
        • get transactions paystack status
      • transport
        • create transport price for state
        • update transport price for state
        • get transport price for state
      • Tax
        • create inter state tax
        • create intra state tax
        • update inter state tax
        • update intra state tax
        • update intra state tax Copy
        • update intra state tax Copy Copy
      • create state fee
      • update tax rate
      • update fee distance
      • update fee per kg
      • update value fee
      • update service fee
      • update service charge status
      • update tax
      • update value fee status
      • update base price
      • Errand staus
      • get interstate pricing
      • update inter state pricing
    • get fee by state id
      GET
    • get all fees
      GET
    • get operational states
      GET
    • get mode of transportation
      GET
    • delete account
      DELETE
    • checkout
      POST
    • calculate price
      POST
  1. Logistics

get operational states

GET
/operational-states

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 '/operational-states' \
--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:59
Previous
get all fees
Next
get mode of transportation
Built with