---
title: "PATCH /prices"
method: PATCH
path: "/prices"
tags: ["prices"]
---

# PATCH /prices

`PATCH /prices`

## Query parameters

- `id` string, text
- `product_id` string, text
- `active` string, boolean
- `description` string, text
- `unit_amount` string, bigint
- `currency` string, text
- `type` string, public.pricing_type
- `interval` string, public.pricing_plan_interval
- `interval_count` string, integer
- `trial_period_days` string, integer
- `metadata` string, jsonb

## Headers

- `Prefer` 'return=representation' | 'return=minimal' | 'return=none'

## Request body

- Prices
  - `id` string, text, required — Note: This is a Primary Key.<pk/>
  - `product_id` string, text — Note: This is a Foreign Key to `products.id`.<fk table='products' column='id'/>
  - `active` boolean
  - `description` string, text
  - `unit_amount` integer
  - `currency` string, text
  - `type` 'one_time' | 'recurring', public.pricing_type
  - `interval` 'day' | 'week' | 'month' | 'year', public.pricing_plan_interval
  - `interval_count` integer
  - `trial_period_days` integer
  - `metadata` unknown

## Response `204`

No Content

---

[API](https://skmtc.net/revent-app/apis/standard-public-schema.md) · [All operations](https://skmtc.net/revent-app/apis/standard-public-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/revent-app/standard-public-schema/versions/90ce877204f2/schema)
