Skip to main content
Anchor to SubscriptionContract

SubscriptionContract

object

A Subscription Contract.

Anchor to Fields and connectionsFields and connections

•DateTime!non-null

The date and time when the subscription contract was created.

•ID!non-nullPre-auth accessible

A globally-unique ID.

•SubscriptionContractLastPaymentStatus

The current status of the last payment.

•DateTime

The next billing date for the subscription contract.

•Order

The order from which the contract originated.

•UnsignedInt64!non-null

The revision ID of the contract.

•SubscriptionContractSubscriptionStatus!non-null

The current status of the subscription contract.

Anchor to upcomingBillingCyclesupcomingBillingCycles
•SubscriptionBillingCycleConnection!non-null

The upcoming billing cycles on the subscription contract.


Was this section helpful?

•mutation

Activates a Subscription Contract. Contract status must be either active, paused, or failed.

Arguments

Anchor to subscriptionContractIdsubscriptionContractId
•ID!required

The ID of the subscription contract to activate.


Fields

•SubscriptionContract

The activated Subscription Contract.

•mutation

Cancels a Subscription Contract.

Arguments

Anchor to subscriptionContractIdsubscriptionContractId
•ID!required

The ID of the Subscription Contract to cancel.


Fields

•SubscriptionContract

The canceled Subscription Contract.

•mutation

Pauses a Subscription Contract.

Arguments

Anchor to subscriptionContractIdsubscriptionContractId
•ID!required

The ID of the subscription contract to pause.


Fields

•SubscriptionContract

The updated Subscription Contract after the pause operation.

•mutation

Selects an option from a delivery options result and updates the delivery method on a Subscription Contract.

Arguments

Anchor to subscriptionContractIdsubscriptionContractId
•ID!required

The ID of the subscription contract.

Anchor to subscriptionDeliveryOptionsResultTokensubscriptionDeliveryOptionsResultToken
•String!required

The token associated with the successfully fetched delivery options result for the subscription contract.


Fields

•SubscriptionContract

The updated subscription contract object.


Was this section helpful?

•interface

Was this section helpful?