---
title: "SwapRules"
method: POST
path: "/api/RulesEngine/SwapRules"
tags: ["RulesEngine"]
---

# SwapRules

`POST /api/RulesEngine/SwapRules`

Use this call to change the executing order of the rules by swapping them with each other.
<b>Permissions Required: </b> GlobalPermissions.OrderBook.RulesEngineNode
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- RulesEngineSwapRulesRequest
  - `pkRuleId1` integer — The first rule id
  - `pkRuleId2` integer — The second rule id

## Response `204`

No Content

---

[API](https://skmtc.net/linnworks/apis/authenticate-api.md) · [All operations](https://skmtc.net/linnworks/apis/authenticate-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linnworks/authenticate-api/versions/0123569a22fb/schema)
