---
title: "Update a product"
method: PATCH
path: "/v1/products/{productId}"
tags: ["Products"]
---

# Update a product

`PATCH /v1/products/{productId}`

Update one or more fields of an existing product.

## Path parameters

- `productId` string, uuid, required

## Request body

- UpdateProductRequest
  - `name` string
  - `description` string
  - `amount` number, nullable — Set to `null` to remove the default price.
  - `isActive` boolean
  - `metadata` object

## Response `200`

Product updated.

- object
  - `product` Product
    - `id` string, uuid
    - `name` string
    - `description` string
    - `amount` number
    - `externalId` string
    - `isActive` boolean
    - `createdAt` string, date-time
  - `message` string

## Other responses

- `400` — Validation error.
- `401` — Missing or invalid authentication token.
- `404` — Resource not found.

---

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