Add a tier: a name, free or paid, a price and a period (month, year or once)
post/members/tiers
Before you call
- Credential
Authorization: Bearer $KEY- Scope
content:admin- Sdk
content.tier.create- Cli
content tier create
Request bodyapplication/json, required
- namestringrequiredAt most 120 characters.
- slugstringrequiredPattern: ^[a-z0-9][a-z0-9-]{0,62}$.
- kindstringOne of: free, paid. Default: paid.
- priceMinorintegerDefault: 0. At least 0. At most 10000000.
- currencystringDefault: eur. Pattern: ^[a-z]{3}$.
- periodstringOne of: month, year, once. Default: month.
- descriptionstringDefault: . At most 1000 characters.
- positionintegerDefault: 0. At least 0. At most 1000.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring