Skip to main content
GET
/
v1
/
companies
/
{company-id}
/
add_ons
/
{id}
/
fuel_surcharge_rate
Retrieve fuel surcharge rate for an AddOn
curl --request GET \
  --url https://api.tread-horizon.com/v1/companies/{company-id}/add_ons/{id}/fuel_surcharge_rate \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "surcharge": "<string>",
    "surcharge_percentage": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tread.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string
default:en

The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.

Example:

"en"

Path Parameters

company-id
string<uuid>
required

Company ID

id
string<uuid>
required

AddOn ID

Query Parameters

filter[date]
string<date>

Date to fetch the fuel surcharge rate for. Defaults to current date if not provided.

Response

OK

data
AddOnFuelSurchargeRate-Read · object
required