Skip to main content
PUT
/
products
/
{uid}
Update a product
curl --request PUT \
  --url https://api.qonversion.io/v3/products/{uid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": 1,
  "apple_product_id": "com.app.premium_monthly",
  "google_product_id": "com.app.premium_monthly",
  "duration": 1
}
'
{
  "uid": "premium_monthly",
  "project_id": 12345,
  "type": 1,
  "apple_product_id": "com.app.premium_monthly",
  "google_product_id": "com.app.premium_monthly",
  "google_base_plan_id": "monthly-base",
  "stripe_product_id": "prod_abc123",
  "duration": 1,
  "subscription_duration": "P1M",
  "created_at": 1665669916,
  "updated_at": 1665669916
}

Documentation Index

Fetch the complete documentation index at: https://documentation.qonversion.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use your Project Key from the Qonversion dashboard (Project Settings -> Project Keys -> Project Key).

Production keys have no prefix; keys prefixed with test_ target the sandbox environment.

Example (sandbox): Bearer test_PV77YHL7qnGvsdmpTs7gimsxUvY-Znl2 Example (production): Bearer JFPATc4VaaWYsfurml3qZ4zsmNw0VfWH

Path Parameters

uid
string
required

Qonversion product UID

Body

application/json
type
enum<integer>

Product type: 0 = Subscription With Promo Period, 1 = Regular Subscription, 2 = Non-Recurring (Consumable), 3 = Non-Consumable (Lifetime)

Available options:
0,
1,
2,
3
apple_product_id
string
google_product_id
string
google_base_plan_id
string
stripe_product_id
string
duration
enum<integer>
Available options:
0,
1,
2,
3,
4

Response

Product updated

uid
string

Unique identifier of the Qonversion product

Example:

"premium_monthly"

project_id
integer

Numeric ID of the Qonversion project owning this product

Example:

12345

type
enum<integer>

Product type:

  • 0 = Subscription With Promo Period
  • 1 = Regular Subscription
  • 2 = Non-Recurring (Consumable)
  • 3 = Non-Consumable (Lifetime)
Available options:
0,
1,
2,
3
Example:

1

apple_product_id
string

Product identifier in App Store Connect

Example:

"com.app.premium_monthly"

google_product_id
string

Product identifier in Google Play Console

Example:

"com.app.premium_monthly"

google_base_plan_id
string

Base plan identifier in Google Play Console

Example:

"monthly-base"

stripe_product_id
string

Product identifier in Stripe

Example:

"prod_abc123"

duration
enum<integer>

Duration: 0 = Weekly, 1 = Monthly, 2 = Three Monthly, 3 = Six Monthly, 4 = Annual

Available options:
0,
1,
2,
3,
4
Example:

1

subscription_duration
enum<string>

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

Available options:
P1W,
P1M,
P3M,
P6M,
P1Y
Example:

"P1M"

created_at
integer

Creation timestamp (Unix seconds)

Example:

1665669916

updated_at
integer

Last-update timestamp (Unix seconds)

Example:

1665669916