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

# Update a product

`PUT /products/{uid}`

Replaces all product fields. Unlike PATCH, all fields must be provided — omitted fields are reset to defaults.

## Path parameters

- `uid` string, required

## Request body

- object
  - `type` 0 | 1 | 2 | 3 — Product type: `0` = Subscription With Promo Period, `1` = Regular Subscription, `2` = Non-Recurring (Consumable), `3` = Non-Consumable (Lifetime)
  - `apple_product_id` string
  - `google_product_id` string
  - `google_base_plan_id` string
  - `stripe_product_id` string
  - `duration` 0 | 1 | 2 | 3 | 4

## Response `200`

Product updated

- DashboardProduct
  - `uid` string — Unique identifier of the Qonversion product
  - `project_id` integer — Numeric ID of the Qonversion project owning this product
  - `type` 0 | 1 | 2 | 3 — Product type: - `0` = Subscription With Promo Period - `1` = Regular Subscription - `2` = Non-Recurring (Consumable) - `3` = Non-Consumable (Lifetime)
  - `apple_product_id` string — Product identifier in App Store Connect
  - `google_product_id` string — Product identifier in Google Play Console
  - `google_base_plan_id` string — Base plan identifier in Google Play Console
  - `stripe_product_id` string — Product identifier in Stripe
  - `duration` 0 | 1 | 2 | 3 | 4 — Duration: `0` = Weekly, `1` = Monthly, `2` = Three Monthly, `3` = Six Monthly, `4` = Annual
  - `subscription_duration` 'P1W' | 'P1M' | 'P3M' | 'P6M' | 'P1Y' — ISO 8601 subscription duration string derived from `duration`. Server-computed: `P1W` for Weekly, `P1M` for Monthly, `P3M` for Three Monthly, `P6M` for Six Monthly, `P1Y` for Annual. Present only for subscription products (`type` 0 or 1).
  - `created_at` integer — Creation timestamp (Unix seconds)
  - `updated_at` integer — Last-update timestamp (Unix seconds)

## Other responses

- `401` — Unauthorized
- `404` — Product not found

---

[API](https://skmtc.net/qonversion/apis/qonversion-rest-api-v4.md) · [All operations](https://skmtc.net/qonversion/apis/qonversion-rest-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qonversion/qonversion-rest-api-v4/versions/e3f72cf8951c/schema)
