---
title: "Update a product"
method: PUT
path: "/api/v{version}/products/{id}"
tags: ["catalog"]
---

# Update a product

`PUT /api/v{version}/products/{id}`

Update a product

## Path parameters

- `version` string, required
- `id` string, uuid, required

## Headers

- `X-Tenant` string, required

## Request body

- UpdateProductRequest
  - `id` string, uuid
  - `name` string, nullable
  - `categoryId` string, uuid, nullable
  - `subCategoryId` string, uuid, nullable
  - `length` number, double, nullable
  - `purchasePrice` number, double, nullable
  - `width` number, double, nullable
  - `height` number, double, nullable
  - `weight` number, double, nullable
  - `sku` string, nullable

## Response `200`

OK

- UpdateProductResponse
  - `id` string, uuid, nullable

---

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