Update a subscription by ID for a User within a Project
PUT/v1/organizations/:organizationId/projects/:projectId/platforms/android/subscriptions/:subscriptionId
Update a subscription by ID for a User within a Project
Request
Path Parameters
organizationId stringrequired
ID of the organization
projectId stringrequired
ID of the project
subscriptionId stringrequired
ID of the subscription
- application/json
Body
required
sku stringrequired
The unique identifier of the subscription.
name stringrequired
The name of the subscription.
description stringrequired
The description of the subscription.
Responses
- 200
- 404
The subscription has been successfully updated.
- application/json
- Schema
- Example (from schema)
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.
{
"id": "abc123",
"sku": "sku123",
"name": "Basic Plan",
"description": "This is a basic subscription plan.",
"legacy": true
}
Subscription not found.
Loading...