Skip to main content
Anchor to SubscriptionDraftInput

SubscriptionDraftInput

input_object

The input fields required to create a Subscription Draft.

•SubscriptionBillingPolicyInput

The billing policy for the subscription contract.

Show input fields
•[AttributeInput!]

A list of the custom attributes added to the subscription contract.

Show input fields
•SubscriptionDeliveryMethodInput

The delivery method for the subscription contract.

Show input fields
•SubscriptionDeliveryPolicyInput

The delivery policy for the subscription contract.

Show input fields
•Decimal

The shipping price for each renewal the subscription contract.

•DateTime

The next billing date for the subscription contract.

•String

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

Anchor to paymentConfigurationpaymentConfiguration
•SubscriptionContractPaymentConfigurationInput

The payment configuration for the subscription contract's recurring billing attempts. Omitting paymentConfiguration or allowStoreCredit, or passing null for either, keeps the current setting: a new contract has store credit off, and a draft of an existing contract keeps the contract's setting. allowStoreCredit: true is refused when the selling plan of a line doesn't allow store credit. A line without a selling plan doesn't block it. The rule is applied when the draft is committed, not when it is updated: subscriptionDraftCommit returns the error on draftId, and subscriptionContractAtomicCreate returns it on allowStoreCredit.

Show input fields
•ID

The ID of the payment method to be used for the subscription contract.

•SubscriptionContractSubscriptionStatus

The current status of the subscription contract.

Show enum values

Was this section helpful?

Anchor to Mutations using this inputMutations using this input


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The input fields required to create a Subscription Contract.

•INPUT OBJECT

The input fields required to create a Subscription Contract.


Was this section helpful?