---
title: "Update a Commodity"
method: PUT
path: "/public/v3/Commodities/{commodityId}"
tags: ["Commodities"]
---

# Update a Commodity

`PUT /public/v3/Commodities/{commodityId}`

Update a commodity within the specified account.

## Path parameters

- `commodityId` integer, required

## Headers

- `x-tive-account-id` integer, required

## Request body

- CommodityRequest
  - `name` string, required — The name of the commodity.
  - `categoryId` integer, required

## Response `200`

The commodity has been updated

## Other responses

- `400` — The commodity was not updated
- `401` — Unauthorized

---

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