> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# CustomerPortalSubscription



**Kind**: `object`

## Fields

**`addons`**: `[CustomerPortalAddon!]!`

List of add-ons currently attached to the subscription.

---

**`billingPeriodRange`**: `DateRange`

An object representing the current billing cycle’s start and end dates.

---

**`planId`**: `String!`

The internal ID of the subscribed plan.

---

**`planName`**: `String!`

The display name of the subscribed plan as shown to the customer.

---

**`previewNextInvoice`**: `SubscriptionInvoicePreview`

A period-scoped preview of the next upcoming invoice for this subscription, including the amount due and per-line usage quantities. Integration-aware (mirrors the previewNextInvoice mutation). Null when the preview could not be computed.

---

**`prices`**: `[CustomerPortalSubscriptionPrice!]!`

A list of individual price components.

---

**`pricing`**: `CustomerPortalSubscriptionPricing!`

The aggregated pricing structure.

> Deprecated: use prices field instead

---

**`pricingType`**: `PricingType!`

Indicates if the subscription is FREE or PAID.

---

**`scheduledUpdates`**: `[SubscriptionScheduledUpdate!]`

Any upcoming changes to the subscription that are scheduled to take effect.

---

**`status`**: `SubscriptionStatus!`

The current lifecycle status of the subscription.

---

**`subscriptionId`**: `String!`

Unique identifier for this specific subscription instance.

---

**`totalPrice`**: `CustomerSubscriptionTotalPrice`

The combined total price of the plan and all active add-ons, excluding taxes.

---

**`trialRemainingDays`**: `Int`

Number of days left in the free trial, if applicable.



## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [API Client (JS)](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/api-client-js.md)
- [CustomerPortalSubscriptionPrice](https://docs.stigg.io/graphql-reference/types/CustomerPortalSubscriptionPrice.md)
- [CustomerPortalSubscriptionPricing](https://docs.stigg.io/graphql-reference/types/CustomerPortalSubscriptionPricing.md)
- [Customer portal](https://docs.stigg.io/documentation/snap-in-widgets/customer-portal.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.