Skip to main content
POST
/
offerings
Create an offering
curl --request POST \
  --url https://api.qonversion.io/v4/offerings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "premium_monthly",
  "tag": 123,
  "product_ids": [
    "<string>"
  ]
}
'
{
  "object": "offering",
  "id": "premium_monthly",
  "url": "/v4/offerings/premium_monthly",
  "tag": 123,
  "product_ids": [
    "<string>"
  ],
  "created_at": "2025-09-15T12:30:00Z",
  "updated_at": "2025-11-03T10:26:40Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication using the project Secret Key (prefixed with sk_, or test_sk_ for sandbox). All v4 public endpoints require the Secret Key — see Authentication. Never expose the Secret Key in client-side code.

Headers

Idempotency-Key
string

Body

application/json
id
string
required

1-256 chars of [a-zA-Z0-9._-]. Immutable after create.

Example:

"premium_monthly"

tag
integer<int16> | null
product_ids
string[]

Response

Offering created

object
enum<string>
required
Available options:
offering
id
string
required
Example:

"premium_monthly"

url
string
required
Example:

"/v4/offerings/premium_monthly"

tag
integer<int16> | null
required

0 = default offering, 1 = A/B test variant. Null for offerings without a tag.

product_ids
string[]
required

Product UIDs that belong to this offering, in display order.

created_at
string<date-time>
required
Example:

"2025-09-15T12:30:00Z"

updated_at
string<date-time>
required
Example:

"2025-11-03T10:26:40Z"