Ana içeriğe geç

getAllSubscriptions

Get all available subscription markers. 🔐 This method requires authorization.

Description

This method returns the markers of all subscription plans available in the project. It returns a Promise that resolves to an array of strings (string[]).

Subscriptions.getAllSubscriptions(

);

Examples

Minimal example

const response = await Subscriptions.getAllSubscriptions();

Example response

[
"premium",
"pro",
"basic"
]

Response schema

Schema: string[]

[]: string
An array of available subscription markers.
example: "premium"