---
title: "Update a product"
method: PUT
path: "/products/{id}"
tags: ["Products"]
---

# Update a product

`PUT /products/{id}`

## Request

- Base URL: `https://api.fanheroapi.com`
- URL: `https://api.fanheroapi.com/products/{id}`
- Auth: API key in header `apiKey`

## Request body

- UpdateProductRestInput
  - `name` string, required
  - `description` string, required
  - `statementDescriptor` string, required
  - `unitLabel` string, required
  - `metadata` ProductMetadata[], required
    - `key` string, required
    - `value` string, required
  - `isActive` boolean, required
  - `productPrices` ProductPrice[], required
    - `id` string, required
    - `unitPrice` number, required
    - `unitPriceInstallment` number, required
    - `pricingModelId` string, required
    - `billingTypesId` string, required
    - `recurringUsageTypesId` string, required
    - `billingPeriodId` string, required
    - `recurringMeteredUsageId` string, required
    - `currencyId` string, required
    - `internalDescription` string, required
    - `recurringTrialPeriodDays` number, required
    - `priceTiers` ProductPriceTier[], required
      - `id` string, required
      - `productPricesId` string, required
      - `flatPrice` number, required
      - `unitPrice` number, required
      - `upTo` number, required

## Response `200`

Product updated.

---

[API](https://skmtc.dev/fanhero/apis/customer-billing-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/customer-billing-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/customer-billing-endpoints/revisions/585dc71f8eaa?raw)
