Routing Rules

Deactivate routing rule

Changed on

Deactivate an active routing rule mapping by routing algorithm ID for a merchant. The call is idempotent: if the algorithm exists but is already inactive for the merchant, the API returns success.

post/routing/deactivate

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/routing/deactivate
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Request body

created_bystring required
routing_algorithm_idstring required

Example request

{
  "created_by": "test_merchant",
  "routing_algorithm_id": "rule_abc123"
}

Response

Rule deactivated. The response body is empty.

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added