---
title: "PUT /ProductGroup"
method: PUT
path: "/ProductGroup"
tags: ["ProductGroupCommand"]
---

# PUT /ProductGroup

`PUT /ProductGroup`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/ProductGroup`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Query parameters

- `id` string, uuid

## Request body

- KhaasFoodProductsDTOsProductGroupsCreateUpdateProductGroupDto
  - `name` string, required
  - `slug` string, required
  - `discountPercent` number, double, nullable
  - `iconUrl` string, nullable
  - `image` KhaasFoodProductsDTOsImageDto
    - `url` string, nullable
    - `alt` string, nullable
    - `title` string, nullable
    - `caption` string, nullable
    - `description` string, nullable
  - `webBannerImage` KhaasFoodProductsDTOsImageDto
    - `url` string, nullable
    - `alt` string, nullable
    - `title` string, nullable
    - `caption` string, nullable
    - `description` string, nullable
  - `displayOrder` integer
  - `isActive` boolean
  - `isWithAllProduct` boolean

## Response `200`

Success

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
