Deactivate Routing Algorithm
July 28, 2026 ยท View on GitHub
Use /routing/deactivate to remove the active mapping for a merchant-scoped routing algorithm without deleting the algorithm itself.
Request
curl --location "$BASE_URL/routing/deactivate" \
--header "$AUTH_HEADER" \
--header "Content-Type: application/json" \
--data '{
"created_by": "merchant_demo",
"routing_algorithm_id": "routing_e641380c-6f24-4405-8454-5ae6cbceb7a0"
}'
Response
Success returns HTTP 200 with an empty response body.
Behavior
- If the routing algorithm exists and is active for the merchant, the active mapping is deleted.
- If the routing algorithm exists but is already inactive, the request still succeeds.
- If the routing algorithm ID does not exist, the request fails with
400.