Skip to main content
Anchor to SubscriptionBillingCycleEditedContract

SubscriptionBillingCycleEditedContract

object

Requires the read_own_subscription_contracts or write_own_subscription_contracts scope.

Represents a subscription contract with billing cycles.

•App

The subscription app that the subscription contract is registered to.

Show fields
•URL

The URL of the subscription contract page on the subscription app.

•SubscriptionBillingCycleConnection!
non-null

The billing cycles that the edited contract belongs to.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

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

Show enum values

•DateTime!
non-null

The date and time when the subscription contract was created.

•CurrencyCode!
non-null

The currency that's used for the subscription contract.

Show enum values
•[Attribute!]!
non-null

A list of the custom attributes to be added to the generated orders.

Show fields
•Customer

The customer to whom the subscription contract belongs.

Show fields
Anchor to customerPaymentMethodcustomerPaymentMethod
•CustomerPaymentMethod

The customer payment method that's used for the subscription contract.

Show fields

Arguments

•Boolean
Default:false

Whether to show the customer's revoked payment method.


•SubscriptionDeliveryMethod

The delivery method for each billing of the subscription contract.

Show union types
•MoneyV2!
non-null

The delivery price for each billing of the subscription contract.

Show fields
•SubscriptionManualDiscountConnection!
non-null

The list of subscription discounts associated with the subscription contract.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•SubscriptionLineConnection!
non-null

The list of subscription lines associated with the subscription contract.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•Count

The number of lines associated with the subscription contract.

Show fields
•String

The note field that will be applied to the generated orders.

•OrderConnection!
non-null

A list of the subscription contract's orders.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•DateTime!
non-null

The date and time when the subscription contract was updated.

•Int!
non-nullDeprecated

Was this section helpful?

•mutation

Commits the updates of a Subscription Billing Cycle Contract draft.

Show payload

Arguments

•ID!
required

The gid of the Subscription Contract draft to commit.



Was this section helpful?


Was this section helpful?