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

# POST /prices

`POST /prices`

## Query parameters

- `select` string

## Headers

- `Prefer` 'return=representation' | 'return=minimal' | 'return=none' | 'resolution=ignore-duplicates' | 'resolution=merge-duplicates'

## 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 `201`

Created

---

[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/revisions/90ce877204f2/schema)
