Skip to navigation

Choose rate sheet

Chooses the rate sheet for one billing relationship on one segment of an order, overriding the default, or marks it not billed (rate_sheet_id null), then re-prices. | authz: allowed_org_types=[provider], min_org_role=operator | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrderRateSheetSelectionUpdateReq) -> (OrderPricingRes)

Authentication

AuthorizationBearer

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

Path parameters

order_idstringRequired

Request

This endpoint expects an object.
rate_sheet_idstring or nullRequired
relationship_typeenumRequired
Allowed values:
task_group_idstringRequired
counterparty_driver_idstring or nullOptional
counterparty_off_chrt_org_data_idstring or nullOptional
counterparty_org_idstring or nullOptional

Response

Successful Response
order_billing_stateobject or null
agreed_priceslist of objectsOptional

Relationships priced by a bid or quote; filled when the order is re-priced, empty on a plain read.

invoice_line_itemslist of objectsOptional
task_group_idslist of stringsOptional
The order's task groups, in order.
unpriced_reasonslist of objectsOptional

Errors

422
Unprocessable Entity Error