---
title: "Set Brand Hs Code Country Restrictions Enabled"
method: PATCH
path: "/brand/hs-code-country-restrictions/enabled"
---

# Set Brand Hs Code Country Restrictions Enabled

`PATCH /brand/hs-code-country-restrictions/enabled`

## Request body

- TogglePayload
  - `enabled` boolean, required

## Response `200`

Successful Response

- BrandHsCodeCountryRestrictionsResponse
  - `enabled` boolean
  - `rows` BrandHsCodeCountryRestriction[]
    - `id` integer, required
    - `brand_id` integer, required
    - `country_of_origin` string, required
    - `sku` string, nullable
    - `hs_code` string, required
    - `allowed_destination_countries` string[]
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/datesnrates/apis/fastapi.md) · [All operations](https://skmtc.net/datesnrates/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datesnrates/fastapi/revisions/43f2d92fc888/schema)
