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 fee by state id

GET
/fees/{state_id}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
state_id
string 
required
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

🟢200success
application/json
Body
data
object 
required
id
integer 
required
per_kg
integer 
required
value_fee
integer 
required
value_fee_enabled
integer 
required
service_charge
integer 
required
service_charge_enabled
integer 
required
tax_rate
number 
required
tax_rate_enabled
integer 
required
message
string 
required
Example
{
    "data": {
        "id": 1,
        "per_kg": 50,
        "value_fee": 10,
        "value_fee_enabled": 1,
        "service_charge": 1000,
        "service_charge_enabled": 1,
        "tax_rate": 0.075,
        "tax_rate_enabled": 1
    },
    "message": "Okay"
}
Modified at 2024-11-22 12:32:37
Previous
update inter state pricing
Next
get all fees
Built with