Preview line items
Previews calculated line items for a driver based on a rate sheet and task group. Does not write to the database.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path Parameters
driver_id
Request
This endpoint expects an object.
courier_pay_driver_rate_sheet_id
ID of the courier pay driver rate sheet
task_group_id
ID of the task group
dangerous_goods
Whether the shipment contains dangerous goods
holiday
Whether the delivery is on a holiday
weekend
Whether the delivery is on a weekend
after_hours
Whether the delivery is after hours
Response
Successful Response
schema_version
driver_id
task_group_id
courier_org_id
Must be a string starting with org_
line_items
rate_sheet_id
order_cancelled

