Patch Rate Sheet

Update a rate sheet

Path parameters

rate_sheet_idstringRequired

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
namestring or nullOptional
cargo_typeslist of enums or nullOptional
vehicle_typeslist of enums or nullOptional
route_typeslist of enums or nullOptional
Allowed values:
driver_idslist of strings or nullOptional
commentsstring or nullOptional
base_mileage_distance_milesdouble or nullOptional
base_mileage_rate_usd_per_instancedouble or nullOptional
additional_mileage_rate_usd_per_miledouble or nullOptional
long_distance_surcharge_miles_before_surchargedouble or nullOptional
long_distance_surcharge_rate_usd_per_miledouble or nullOptional
fuel_surchage_rate_usd_per_miledouble or nullOptional
wait_time_before_charge_minutesdouble or nullOptional
wait_time_rate_usd_per_minutedouble or nullOptional
extra_stop_rate_usddouble or nullOptional
dangerous_goods_rate_usd_per_instancedouble or nullOptional
after_hoursdouble or nullOptional
weekenddouble or nullOptional
holidaydouble or nullOptional

Response

Successful Response
schema_versioninteger
namestring or null
cargo_typeslist of enums or null
vehicle_typeslist of enums or null
route_typeslist of enums or null
Allowed values:
driver_idslist of strings or null
courier_org_idstring

Must be a string starting with org_

commentsstring or null
base_mileage_distance_milesdouble
base_mileage_rate_usd_per_instancedouble
additional_mileage_rate_usd_per_miledouble
applies only to the additional miles
long_distance_surcharge_miles_before_surchargedouble
long_distance_surcharge_rate_usd_per_miledouble
applies only to the additional miles
fuel_surchage_rate_usd_per_miledouble
wait_time_before_charge_minutesdouble
wait_time_rate_usd_per_minutedouble
extra_stop_rate_usddouble
dangerous_goods_rate_usd_per_instancedouble
after_hoursdouble
weekenddouble
holidaydouble
_idstring

Errors