Upsert

Sets the caller org's default operations desk for a counterparty. The body must set exactly one of shipper_org_id (on-chrt shipper) / off_chrt_shipper_org_id (off-chrt shipper shell) (XOR). 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.
department_idstringRequired
schema_versionintegerRequired
off_chrt_shipper_org_idstringOptional
shipper_org_idstringOptional

Must be a string starting with org_

Response

Successful Response

Errors

422
Department Routing Rules Upsert V1request Unprocessable Entity Error