Ela Logistics
  1. Admin
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
        POST
      • update tax rate
        POST
      • update fee distance
        POST
      • update fee per kg
        POST
      • update value fee
        POST
      • update service fee
        POST
      • update service charge status
        POST
      • update tax
        POST
      • update value fee status
        POST
      • update base price
        POST
      • Errand staus
        GET
      • get interstate pricing
        GET
      • update inter state pricing
        PUT
    • 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. Admin

update fee distance

POST
/admin/update-fees-per-distance/{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}}
Body Params application/json
price
integer 
required
Example
{
    "price": 200
    
}

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 POST '/admin/update-fees-per-distance/' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "price": 200
    
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-11-18 13:03:36
Previous
update tax rate
Next
update fee per kg
Built with