Update status

Updates the status of a courier driver statement with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired

Request

This endpoint expects an object.
statement_statusenum or nullOptional
Allowed values:
statement_completed_at_timestampstring or nullOptionalformat: "date-time"
statement_completed_by_user_idstring or nullOptional

Response

Successful Response
schema_versioninteger
courier_pay_driver_line_item_group_idslist of strings
_idstring
driver_idstring
courier_org_idstring

Must be a string starting with org_

task_group_idslist of strings
statement_amountdouble
statement_created_at_timestampstringformat: "date-time"
statement_created_by_user_idstring

Must be a string starting with user_

statement_statusenum or null
Allowed values:
statement_completed_at_timestampstring or nullformat: "date-time"
statement_completed_by_user_idstring or null

Errors