Subscriptions Table

The Subscriptions table stores individual subscription records with lifecycle details. One row per subscription line item; subscriptions with multiple products produce multiple rows. Includes status, billing interval, cancellation data, and linked order info.

📋

Table Guide

What You Can Answer With This Table

  • What is the distribution of subscription statuses and cancellation reasons? — group by status, cancellation_reason
  • Which products and variants have the most subscriptions? — group by product_id or variant_id

Before You Query

  • This table is not time-series. No event_date filter is needed.

Key Relationships

TableJoin KeyUse This Join To
Ordersfirst_order_id to order_idAnalyze subscription signups by first-order products, discounts, and fulfillment
Customerscustomer_idSegment subscription behavior by customer attributes and lifetime metrics

When to Use a Different Table

  • Use Subscription Metrics table when you need daily subscription performance, such as new subscriptions, churn rates, or revenue trends. The Subscriptions table is for individual subscription records.

View the full Triple Whale Data Ontology →


Dimensions

Dimensions are immutable properties that can be used for grouping data.

TitleIDTypeDescription
Cancellation Commentscancellation_commentsstringAdditional comments given by the customer at the time of cancellation.Example values: No longer interested, Ordered two by mistake, Just taking a break
Cancellation Reasoncancellation_reasonstringThe reason for cancellation of the subscription, provided by the customer.Example values: Not the right fit, Issue with shipping, Other
Subscription Created Datecreated_attimestampThe time when the subscription was created. Formatted according to the ISO 8601 international standard.Example value: 2022-06-15T19:26:30.000Z
Customer IDcustomer_idstringThe unique ID for the customer associated with the subscription.Example value: 6784521634029
Subscription Ended Dateended_attimestampThe time when the subscription was canceled or expired. Formatted according to the ISO 8601 international standard .Example value: 2023-07-11T19:21:30.000Z
Subscription First Order Datefirst_order_datedateThe date when the first order within this subscription was placed.Example value: 2023-04-09
Subscription First Order IDfirst_order_idstringThe unique ID for the first order placed within this subscription.Example value: 5246165483756
Product IDproduct_idstringThe unique ID for each product within the subscription.Example value: 7809254686953
Shop IDshop_idstringThe unique ID of the shop (often corresponds to the shop domain). Can be used to group or filter data by shop in multi-store reports.Example values: example-US.myshopify.com, example-EU.myshopify.com
Shop Nameshop_namestringThe name of the shop. Can be used to group or filter data by shop in multi-store reports.Example values: example-US, example-EU
Subscription StatusstatusstringThe status of the subscription.Example values: active, cancelled, expired
Subscription IDsubscription_idstringThe unique ID for the subscription.Example value: 352106812
Subscription Intervalsubscription_intervalstringThe time unit that defines how often the subscription renews. This indicates the frequency of fulfillment cycles for the subscription. Used in combination with the Subscription Interval Count to determine the exact frequency of fulfillment (e.g., a value of week with an interval count of 2 means the subscription renews every two weeks).Example values: day, week, month
Variant IDvariant_idstringThe unique ID for each variant within the subscription.Example value: 43151194915045

Measures

Measures are numeric fields that can be aggregated and/or combined to calculate new metrics.

TitleIDTypeDescription
Product PricepricenumericThe price of each product in the subscription.
Product QuantityquantitynumericThe number of products included in the subscription.
Subscription Interval Countsubscription_interval_countnumeric

The number of intervals between each subscription renewal. Used in combination with the Subscription Interval to determine the exact frequency of fulfillment (e.g., a value of 2 with an interval of week means the subscription renews every two weeks).

Example values: 1, 2, 4