POST
/
v1
/
quotes
/
ground-transport
curl --request POST \
  --url https://carbon-engine.onrender.com/v1/quotes/ground-transport \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "distance_km": 123,
  "vehicle_type": "<string>",
  "portfolio_id": "<string>"
}'
{
  "amount_kg": 123,
  "price_sar_halalas": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Fetched ground freight quote successfully

The response is of type object.