---
title: "Update a single routing rule"
method: PATCH
path: "/fiscal-document/v1/fiscalization/routing/{countryCode}/{channelCode}/{flowId}"
tags: ["Fiscal Connection Config"]
---

# Update a single routing rule

`PATCH /fiscal-document/v1/fiscalization/routing/{countryCode}/{channelCode}/{flowId}`

## Path parameters

- `countryCode` string, required
- `channelCode` string, required
- `flowId` string, required

## Headers

- `X-Property-ID` integer, required

## Request body

- FiscalRoutingRulePatch
  - `connection` integer, nullable
  - `enabled` boolean

## Response `200`

OK

- FiscalRoutingRule
  - `channel` object
    - `country` string, required
    - `code` string, required
  - `flow` string, required
  - `connection` integer, nullable
  - `enabled` boolean, required
  - `inherits` string, nullable
  - `source` 'manual' | 'seeded' | 'inherited'
  - `updatedAt` string, date-time

## Other responses

- `404` — Not found

---

[API](https://skmtc.net/cloudbeds/apis/cloudbeds-api.md) · [All operations](https://skmtc.net/cloudbeds/apis/cloudbeds-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudbeds/cloudbeds-api/revisions/2faa857793e8/schema)
