SubscriptionBillingPolicy object

Represents a Subscription Billing Policy.

Required access

Requires either all_subscription_contracts or own_subscription_contracts scope.

On this page

Fields

  • anchors ([[SellingPlanAnchor!]!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplananchor))
    Specific anchor dates upon which the billing interval calculations should be made.
  • interval ([SellingPlanInterval!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplaninterval))
    The kind of interval that is associated with this schedule (e.g. Monthly, Weekly, etc).
  • intervalCount ([Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
    The number of billing intervals between invoices.
  • maxCycles ([Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
    Maximum amount of cycles after which the subscription ends.
  • minCycles ([Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
    Minimum amount of cycles required in the subscription.

Types that return SubscriptionBillingPolicy

  • [SubscriptionContract.billingPolicy](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptioncontract#billingpolicy-2021-01)
  • [SubscriptionDraft.billingPolicy](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptiondraft#billingpolicy-2021-01)