Products & Subscriptions

Creating a Product

Learn how to create and configure products, set prices, and connect them to your checkout.

Products are the foundation of your billing setup. Each product defines what youโ€™re selling โ€” whether itโ€™s a subscription, a one-time purchase, or a usage-based service.

Navigate to Products

  1. Log in to your dashboard.

  2. Go to Products โ†’ Create New Product.

  3. Choose whether itโ€™s a subscription, one-time product, or usage-based service.

Define Basic Information

When creating a product, youโ€™ll need to provide:

  • Product name (e.g., Pro Plan, Annual License)

  • Description (optional but recommended)

  • Default currency (e.g., USD, EUR, GBP)

  • Pricing model (flat, tiered, usage-based, etc.)

Example JSON:

json

{
  "name": "Pro Plan",
  "description": "Access to premium features with unlimited projects.",
  "currency": "USD",
  "type": "subscription"
}

json

{
  "name": "Pro Plan",
  "description": "Access to premium features with unlimited projects.",
  "currency": "USD",
  "type": "subscription"
}

json

{
  "name": "Pro Plan",
  "description": "Access to premium features with unlimited projects.",
  "currency": "USD",
  "type": "subscription"
}

Set Pricing Options

You can attach one or more pricing options to a product.

Table example:

Plan Name

Interval

Price

Notes

Basic

Monthly

$10

Entry-level subscription

Pro

Monthly

$30

Includes advanced features

Business

Yearly

$299

Best value for enterprises

Tip: Products can have multiple pricing tiers โ€” useful for offering monthly and yearly billing side by side.

Add Metadata

You can attach metadata to products for custom logic in your app.

typescript

{
  "product_id": "prod_123",
  "metadata": {
    "feature_flag": "unlimited_projects",
    "support_level": "priority"
  }
}

typescript

{
  "product_id": "prod_123",
  "metadata": {
    "feature_flag": "unlimited_projects",
    "support_level": "priority"
  }
}

typescript

{
  "product_id": "prod_123",
  "metadata": {
    "feature_flag": "unlimited_projects",
    "support_level": "priority"
  }
}

Use cases: controlling feature access, grouping products, or applying internal tags.

Publish the Product

After defining details:

  1. Review product information.

  2. Save as draft if not ready to launch.

  3. Publish to make it available in checkout and APIs.

Draft products wonโ€™t be visible to customers until published.

Test in Sandbox

Always test new products in Sandbox before pushing live.

javascript

# Create a product in sandbox
curl -X POST https://api.saasapp.com/sandbox/v1/products \
  -H "Authorization: Bearer <SANDBOX_KEY>" \
  -d name="Test Product" \
  -d type="subscription"

javascript

# Create a product in sandbox
curl -X POST https://api.saasapp.com/sandbox/v1/products \
  -H "Authorization: Bearer <SANDBOX_KEY>" \
  -d name="Test Product" \
  -d type="subscription"

javascript

# Create a product in sandbox
curl -X POST https://api.saasapp.com/sandbox/v1/products \
  -H "Authorization: Bearer <SANDBOX_KEY>" \
  -d name="Test Product" \
  -d type="subscription"

Summary

  • Products define what youโ€™re selling

  • Each product can have multiple pricing options

  • Metadata allows customization for features and logic

  • Always test in Sandbox before publishing live

Need help? Contact Support

Questions? Contact Sales

On this page

Navigate

Select

New tab

Esc

Close

Navigate

Select

New tab

Esc

Close

Create a free website with Framer, the website builder loved by startups, designers and agencies.