Skip to main content

Create a new subscription for a User within a Project

POST 

/v1/organizations/:organizationId/projects/:projectId/platforms/android/subscriptions

Create a new subscription for a User within a Project

Request

Path Parameters

    organizationId stringrequired

    ID of the organization

    projectId stringrequired

    ID of the project

Body

required
    sku stringrequired

    Possible values: <= 50 characters, Value must match regular expression /^[a-z0-9][a-zA-Z0-9_\.]*$/

    The unique identifier of the subscription.

    name stringrequired

    Possible values: <= 50 characters

    The name of the subscription.

    description stringrequired

    Possible values: <= 100 characters

    The description of the subscription.

    legacy booleanrequired

    Indicates if the subscription is legacy.

Responses

The subscription has been successfully created.

Schema
    id stringrequired

    The unique identifier of the subscription.

    sku stringrequired

    The stock keeping unit to avoid conflict with subscriptionId and id. It is unique per project.

    name stringrequired

    The name of the subscription.

    description stringrequired

    The description of the subscription.

    legacy booleanrequired

    Indicates if the subscription is legacy.

Loading...