Create rate sheet

Creates a new driver rate sheet for calculating courier payments.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
schema_versionintegerRequired
courier_org_idstringRequired

Must be a string starting with org_

base_mileage_distance_milesdoubleRequired
base_mileage_rate_usd_per_instancedoubleRequired
additional_mileage_rate_usd_per_miledoubleRequired
applies only to the additional miles
long_distance_surcharge_miles_before_surchargedoubleRequired
long_distance_surcharge_rate_usd_per_miledoubleRequired
applies only to the additional miles
fuel_surcharge_rate_usd_per_miledoubleRequired
wait_time_before_charge_minutesdoubleRequired
wait_time_rate_usd_per_minutedoubleRequired
extra_stop_rate_usddoubleRequired
dangerous_goods_rate_usd_per_instancedoubleRequired
after_hoursdoubleRequired
weekenddoubleRequired
holidaydoubleRequired
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

Response

Successful Response

Errors