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.
schema_versionintegerRequired
department_idstringRequired
shipper_org_idstring or nullOptional

Must be a string starting with org_

off_chrt_shipper_org_idstring or nullOptional

Response

Successful Response

Errors

422
Department Routing Rules Upsert V1request Unprocessable Entity Error