> ## 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.

# PreviewSubscriptionInput



**Kind**: `input`

## Fields

**`addons`**: `[SubscriptionAddonInput!]`

---

**`appliedCoupon`**: `SubscriptionCouponInput`

Coupon input

---

**`billableFeatures`**: `[BillableFeatureInput!]`

---

**`billingCountryCode`**: `String`

---

**`billingCycleAnchor`**: `SubscriptionBillingCycleAnchor`

Billing cycle anchor behavior for the subscription

---

**`billingInformation`**: `SubscriptionBillingInfo`

---

**`billingPeriod`**: `BillingPeriod`

---

**`charges`**: `[ChargeInput!]`

---

**`customerId`**: `String!` (required)

---

**`environmentId`**: `UUID`

---

**`payingCustomerId`**: `String`

The customer that will pay for the subscription

---

**`planId`**: `String!` (required)

---

**`promotionCode`**: `String`

---

**`resourceId`**: `String`

---

**`scheduleStrategy`**: `ScheduleStrategy`

---

**`startDate`**: `DateTime`

---

**`trialOverrideConfiguration`**: `TrialOverrideConfigurationInput`

trial configuration to override the default values from plan if exists

---

**`unitQuantity`**: `Float` = -1



## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [Python SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/python.md)
- [Ruby SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/ruby.md)
- [API Client (JS)](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/api-client-js.md)
- [.NET SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/dotnet.md)


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