Skip to main content
Subscription products support recurring billing with configurable billing periods and multi-currency pricing. Products can be organized into groups for shared trial management and tiered pricing plans.

Billing Periods

PeriodFrequency
weeklyEvery 7 days
monthlyEvery calendar month
quarterlyEvery 3 months
yearlyEvery 12 months

Group Object

Product groups organize related subscription products (e.g., Free, Pro, Enterprise plans) and enable shared trial management across products within a group. Each group exists per environment — one row for test and one for production.
{
  "id": "d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f9a",
  "storeId": "STO_2D5F8G3H1K4M6N9P",
  "name": "Pricing Plans",
  "description": "Free, Pro, and Enterprise tiers",
  "rules": { "sharedTrial": true },
  "productIds": [
    "PROD_3F7H2J5L8N1Q4S6U",
    "PROD_8B4D6F9H2K5M7P1R",
    "PROD_1C3E5G7J0L2N4Q6S"
  ],
  "environment": "test",
  "createdAt": "2026-03-30T10:30:00.000Z",
  "updatedAt": "2026-03-30T10:30:00.000Z"
}
Group IDs are in UUID format, not Short ID format. This is the only entity in the API that uses raw UUIDs.
FieldTypeDescription
idstringGroup ID (UUID format)
storeIdstringStore ID (STO_xxx format)
namestringGroup name (unique per store + environment)
descriptionstring | nullGroup description
rulesobjectGroup rules (see below)
productIdsstring[]List of product IDs (PROD_xxx format)
environmentstringtest or prod
createdAtstringISO 8601 timestamp
updatedAtstringISO 8601 timestamp

Rules

FieldTypeDefaultDescription
sharedTrialbooleanfalseWhen true, trial usage is shared across all products in the group. Prevents customers from signing up for repeated free trials by switching between products in the same group.

Endpoints

Create Product

Create a subscription product with billing period and multi-currency pricing.

Update Product

Update a subscription product’s content. Creates a new immutable version if content changed.

Publish Product

Publish a subscription product from test to production (first-publish only).

Update Status

Activate or deactivate a subscription product.

Create Group

Create a product group to organize related subscription products.

Update Group

Update a product group’s name, description, rules, or product list.

Delete Group

Permanently delete a product group.

Publish Group

Publish a product group from test to production (supports repeated UPSERT).