Skip to main content
Log inSign up
object

Requires read_own_subscription_contracts access scope.

Represents a Subscription Draft.

Anchor to Fields and connectionsFields and connections

The billing cycle that the subscription contract will be associated with.

The billing policy for the subscription contract.

Anchor to concatenatedBillingCyclesconcatenatedBillingCycles

The billing cycles of the contracts that will be concatenated to the subscription contract.

The currency used for the subscription contract.

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

Customer!non-null

The customer to whom the subscription contract belongs.

Anchor to customerPaymentMethodcustomerPaymentMethod

The customer payment method used for the subscription contract.

The delivery method for each billing of the subscription contract.

The available delivery options for a given delivery address. Returns null for pending requests.

The delivery policy for the subscription contract.

The delivery price for each billing the subscription contract.

The list of subscription discounts which will be associated with the subscription contract.

The list of subscription discounts to be added to the subscription contract.

The list of subscription discounts to be removed from the subscription contract.

The list of subscription discounts to be updated on the subscription contract.

ID!non-null

A globally-unique ID.

The list of subscription lines which will be associated with the subscription contract.

The list of subscription lines to be added to the subscription contract.

The list of subscription lines to be removed from the subscription contract.

The next billing date for the subscription contract.

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

The original subscription contract.

The current status of the subscription contract.

Available Shipping Options for a given delivery address. Returns NULL for pending requests. Use deliveryOptions instead.


Was this section helpful?

query

Returns a Subscription Draft resource by ID.


Was this section helpful?

mutation

Concatenates a contract to a Subscription Draft.

mutation

Edit the contents of a subscription contract for the specified billing cycle.

mutation

Creates a Subscription Contract Draft. You can submit all the desired information for the draft using Subscription Draft Input object. You can also update the draft using the Subscription Contract Update mutation. The draft is not saved until you call the Subscription Draft Commit mutation.

mutation

The subscriptionContractUpdate mutation allows you to create a draft of an existing subscription contract. This draft can be reviewed and modified as needed. Once the draft is committed with subscriptionDraftCommit, the changes are applied to the original subscription contract.

mutation

Adds a subscription discount to a subscription draft.

mutation

Applies a code discount on the subscription draft.

mutation

Removes a subscription discount from a subscription draft.

mutation

Updates a subscription discount on a subscription draft.

mutation

Adds a subscription free shipping discount to a subscription draft.

mutation

Updates a subscription free shipping discount on a subscription draft.

mutation

Adds a subscription line to a subscription draft.

mutation

Removes a subscription line from a subscription draft.

mutation

Updates a subscription line on a subscription draft.

mutation

Updates a Subscription Draft.


Was this section helpful?

interface

Was this section helpful?