---
title: "Update modifier"
method: PUT
path: "/modifiers/{id}"
tags: ["Modifiers"]
---

# Update modifier

`PUT /modifiers/{id}`

Admin role required. `client` is required in the body.
If `modifiers_group_ids` is sent, it replaces all group links (send every group id the modifier should belong to).
`selling_price` updates the price for the active/default filter.

## Request body

- UpdateModifierRequest — Update a modifier. Admin role required. If modifiers_group_ids is provided, it replaces all group links.
  - `client` integer, required — Wallet client id
  - `name` string
  - `official_name` string
  - `tax` integer
  - `tag` integer
  - `selling_price` integer — Updates price for active/default filter
  - `stock_price` integer
  - `modifiers_group_ids` integer[] — Replaces all group links when provided
  - `code` string
  - `color` string
  - `kitchen_name` string
  - `sku_code` integer
  - `unit` integer
  - `description` string
  - `is_favorite` integer
  - `image` integer
  - `imageUrl` string

## Response `200`

OK

- object
  - `data` Modifier
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `name` string
    - `official_name` string
    - `kitchen_name` string
    - `is_favourite` integer
    - `stock_price` integer
    - `selling_price` integer — Customer price in minor units (from active filter or default)
    - `takeaway_price` integer — Takeaway price in minor units when enabled for client
    - `code` string
    - `sku_code` string
    - `quantity` integer
    - `client_id` integer
    - `color` string
    - `weight` integer
    - `modifier_groups_ids` integer[] — Group uids this modifier belongs to (response field name)
    - `is_visible` integer
    - `not_kitchen` integer
    - `tax0` Tax
      - `uid` integer
      - `crdate` integer
      - `tstamp` integer
      - `crdate_formatted` string
      - `tstamp_formatted` string
      - `name` string
      - `enabled` integer
      - `percentage` integer
      - `client` integer
      - `standard_tax_codes` integer
      - `code` string
    - `tax_in_stay0` Tax
      - `uid` integer
      - `crdate` integer
      - `tstamp` integer
      - `crdate_formatted` string
      - `tstamp_formatted` string
      - `name` string
      - `enabled` integer
      - `percentage` integer
      - `client` integer
      - `standard_tax_codes` integer
      - `code` string
    - `tag0` ETag
      - `uid` integer
      - `crdate` integer
      - `tstamp` integer
      - `crdate_formatted` string
      - `tstamp_formatted` string
      - `name` string
      - `client` integer
      - `weight` integer
      - `not_kitchen` integer
      - `color` string
      - `product_count` integer
      - `is_visible` integer
      - `image` Image
        - `uid` integer
        - `crdate` integer
        - `tstamp` integer
        - `crdate_formatted` string
        - `tstamp_formatted` string
        - `path` string
        - `image_original` string
        - `image_large` string
        - `image_medium` string
        - `image_small` string
      - `integration_accounts` TagIntegrationAccount[]
        - `tag_id` integer
        - `account` integer
        - `tax_id` integer
        - `uid` integer
        - `crdate` integer
        - `tstamp` integer
        - `crdate_formatted` string
        - `tstamp_formatted` string
    - `unit0` Unit
      - `uid` integer
      - `crdate` integer
      - `tstamp` integer
      - `crdate_formatted` string
      - `tstamp_formatted` string
      - `name` string
    - `image0` Image
      - `uid` integer
      - `crdate` integer
      - `tstamp` integer
      - `crdate_formatted` string
      - `tstamp_formatted` string
      - `path` string
      - `image_original` string
      - `image_large` string
      - `image_medium` string
      - `image_small` string
    - `product_barcods` ProductBarCode[]
      - `uid` integer
      - `crdate` integer
      - `tstamp` integer
      - `crdate_formatted` string
      - `tstamp_formatted` string
      - `barcode` string

---

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