Skip to main content
Anchor to SubscriptionBillingCycle

SubscriptionBillingCycle

object

Requires the read_own_subscription_contracts or write_own_subscription_contracts scope.

A subscription billing cycle.

Anchor to billingAttemptExpectedDatebillingAttemptExpectedDate
•DateTime!
non-null

The date on which the billing attempt is expected to be made.

•SubscriptionBillingAttemptConnection!
non-null

The list of billing attempts associated with the billing cycle.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•DateTime!
non-null

The end date of the billing cycle.

•Int!
non-null

The index of the billing cycle.

•DateTime!
non-null

The start date of the billing cycle.

•Boolean!
non-null

Whether this billing cycle was edited.

•SubscriptionBillingCycleEditedContract

The active edited contract for the billing cycle.

•Boolean!
non-null

Whether this billing cycle was skipped.

•SubscriptionContract!
non-null

The subscription contract that the billing cycle belongs to.

•SubscriptionBillingCycleBillingCycleStatus!
non-null

The status of the billing cycle.


Was this section helpful?

•query

Returns a subscription billing cycle found either by cycle index or date.

Arguments

•SubscriptionBillingCycleInput!
required

Input object used to select and use billing cycles.


•query

Retrieves the results of the asynchronous job for the subscription billing cycle bulk action based on the specified job ID. This query can be used to obtain the billing cycles that match the criteria defined in the subscriptionBillingCycleBulkSearch and subscriptionBillingCycleBulkCharge mutations.

Arguments

•ID!
required

The ID of the billing cycle bulk operation job.

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•query

Returns subscription billing cycles for a contract ID.

Arguments

•ID!
required

The ID of the subscription contract to retrieve billing cycles for.

Anchor to billingCyclesDateRangeSelectorbillingCyclesDateRangeSelector
•SubscriptionBillingCyclesDateRangeSelector

Select subscription billing cycles within a date range.

Anchor to billingCyclesIndexRangeSelectorbillingCyclesIndexRangeSelector
•SubscriptionBillingCyclesIndexRangeSelector

Select subscription billing cycles within an index range.

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•SubscriptionBillingCyclesSortKeys
Default:CYCLE_INDEX

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.



Was this section helpful?

•mutation

Delete the schedule and contract edits of the selected subscription billing cycle.

Arguments

•SubscriptionBillingCycleInput!
required

Input object used to select and use billing cycles.


•mutation

Delete the current and future schedule and contract edits of a list of subscription billing cycles.

Arguments

•ID!
required

The globally-unique identifier of the subscription contract that the billing cycle belongs to.

•SubscriptionBillingCyclesTargetSelection!
required

Select billing cycles to be deleted.


•mutation

Modify the schedule of a specific billing cycle.

Arguments

•SubscriptionBillingCycleInput!
required

Input object for selecting and using billing cycles.

•SubscriptionBillingCycleScheduleEditInput!
required

Data used to create or modify billing cycle schedule edit.


•mutation

Skips a Subscription Billing Cycle.

Arguments

•SubscriptionBillingCycleInput!
required

Input object for selecting and using billing cycles.


•mutation

Unskips a Subscription Billing Cycle.

Arguments

•SubscriptionBillingCycleInput!
required

Input object for selecting and using billing cycles.



Was this section helpful?