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_id
Request
This endpoint expects an object.
enabled_surcharge_types
Allowed values:
Response
Successful Response
order_billing_state
agreed_prices
Relationships priced by a bid or quote; filled when the order is re-priced, empty on a plain read.
invoice_line_items
task_group_ids
The order's task groups, in order.
unpriced_reasons
Errors
422
Unprocessable Entity Error