---
title: "Creates or updates a brand"
method: POST
path: "/api/v1/languages/{language_id}/brands"
tags: ["Brands"]
---

# Creates or updates a brand

`POST /api/v1/languages/{language_id}/brands`

Creates a new brand or updates an existing brand based on the brand's `id`. When `product_ids` is set, each product in `product_ids` is linked to this brand. When a product in `product_ids` does not exist, a stub product is created.

## Path parameters

- `language_id` string, required

## Request body

- object
  - `brand` Brand
    - `id` union, required
      - string
      - integer
    - `name` string, required
    - `url` string, url
    - `content` string
    - `product_ids` union[] — A list of product identifiers which belong to this brand.
      - union
        - string
        - integer
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Response `200`

Brand successfully saved

- object
  - `brand` Brand
    - `id` union, required
      - string
      - integer
    - `name` string, required
    - `url` string, url
    - `content` string
    - `product_ids` union[] — A list of product identifiers which belong to this brand.
      - union
        - string
        - integer
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `message` string

## Other responses

- `400` — Missing required parameters or unknown parameters
- `401` — Not authorized
- `404` — Language not found
- `500` — Unexpected error

---

[API](https://skmtc.dev/reloadify/apis/reloadify-api.md) · [All operations](https://skmtc.dev/reloadify/apis/reloadify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/reloadify/reloadify-api/revisions/a5697c4fb1c3/schema)
