Skip to content

List the offers of an App

GET
/apps/{appId}/offers
curl --request GET \
--url https://api.passion.io/v1/apps/example/offers
appId
required

The id of the App, as Studio shows it.

string
/^[1-9][0-9]*$/

OK

Media typeapplication/json
object
offers
required
Array<object>
object
id
required
string
name
required
string
description
required
Any of:
string
benefits
required

What the offer gives, in the creator’s words and order.

Array<string>
price
required
object
netCents
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
currency
required

ISO 4217 code, for example USD.

string
recurring
required

True when members pay again every billing period.

boolean
billingPeriod
required
Any of:
string
Allowed values: OneWeek OneMonth ThreeMonths SixMonths OneYear
trialPeriod
required
Any of:
string
Allowed values: ThreeDays OneWeek TwoWeeks OneMonth
access
required

Public: every member of the App gets it when they sign in, free. Restricted: members buy it.

string
Allowed values: Public Restricted
availability
required
object
native
required

Sold inside the iOS and Android apps.

boolean
web
required

Listed in the web price list of the App.

boolean
products
required

What the offer gives access to. A course id here is the id the course list answers.

Array<object>
object
id
required
string
type
required
string
Allowed values: Course Community AiChatBot Tracking CheckIn
Example
{
"offers": [
{
"billingPeriod": "OneWeek",
"trialPeriod": "ThreeDays",
"access": "Public",
"products": [
{
"type": "Course"
}
]
}
]
}