Upsert

Sets the caller org’s default operations desk for a counterparty (on-chrt shipper or off-chrt shipper shell). Upsert: one rule per (owner, counterparty). Returns the rule id. The mapping is a non-binding suggestion surfaced at Case creation. | authz: min_org_role=administrator | (DepartmentRoutingRuleClientCreate1) -> (PydanticObjectId)

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
schema_versionintegerRequired
counterparty_typeenumRequired
Allowed values:
counterparty_idstringRequired
department_idstringRequired

Response

Successful Response

Errors

422
Department Routing Rules Upsert V1request Unprocessable Entity Error