---
title: "Update a product price"
method: PATCH
path: "/product-prices/{id}"
tags: ["Product Prices"]
---

# Update a product price

`PATCH /product-prices/{id}`

## Request

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

## Request body

- UpdateProductPriceRestInput
  - `id` string
  - `productsId` string
  - `unitPrice` number
  - `unitPriceInstallment` number
  - `pricingModelId` string
  - `billingTypesId` string
  - `recurringUsageTypesId` string
  - `billingPeriodId` string
  - `recurringMeteredUsageId` string
  - `currencyId` string
  - `internalDescription` string
  - `description` string
  - `recurringTrialPeriodDays` number
  - `priceTiers` ProductPriceTierDto[]
    - `id` string, required
    - `productPricesId` string, required
    - `flatPrice` number, required
    - `unitPrice` number, required
    - `upTo` number, required
  - `metadata` ProductMetadata[]
    - `key` string, required
    - `value` string, required
  - `features` object[]
  - `isActive` boolean, required

## Response `200`

---

[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)
