Skip to navigation

Set surcharges

Sets the surcharges switched on for an order (dangerous goods, equipment, after hours, weekend, holiday), replacing the list, then re-prices. Each applies the rule of the same type on every sheet that prices the order. | authz: allowed_org_types=[provider], min_org_role=operator | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrderSurchargesUpdateReq) -> (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.
enabled_surcharge_typeslist of enumsRequired
Allowed values:

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