Skip to main content
Anchor to SubscriptionDraftUserError

SubscriptionDraftUserError

object

Requires read_own_subscription_contracts access scope.

Represents a Subscription Draft error.

•SubscriptionDraftErrorCode

The error code.

Show enum values
•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


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.


•mutation

Concatenates a contract to a Subscription Draft.

Show payload

Arguments

Anchor to concatenatedBillingCycleContractsconcatenatedBillingCycleContracts
•[SubscriptionBillingCycleInput!]!
required

An array of Subscription Contracts with their selected billing cycles to concatenate to the subscription draft.

Show input fields
•ID!
required

The gid of the Subscription Contract draft to update.


•mutation

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

Show payload

Arguments

•SubscriptionActor

The actor who initiated a subscription action.

Show enum values
•SubscriptionBillingCycleInput!
required

Input object for selecting and using billing cycles.

Show input fields

•mutation

Creates a Subscription Contract.

Show payload

Arguments

•SubscriptionContractAtomicCreateInput!
required

The properties of the new Subscription Contract.

Show input fields

•mutation

Allows for the easy change of a Product in a Contract or a Product price change.

Show payload

Arguments

•SubscriptionActor

The actor who initiated a subscription action.

Show enum values
•SubscriptionContractProductChangeInput!
required

The properties of the Product changes.

Show input fields
•ID!
required

The gid of the Subscription Line to update.

Anchor to subscriptionContractIdsubscriptionContractId
•ID!
required

The ID of the subscription contract.


Deprecated mutations

•mutation
Deprecated
Show payload

Arguments

•SubscriptionContractCreateInput!
required

The properties of the new Subscription Contract.

Show input fields

•mutation
Deprecated
Show payload

Arguments

•SubscriptionActor

The actor who initiated a subscription action.

Show enum values
•ID!
required

The gid of the Subscription Contract to update.


•mutation
Deprecated
Show payload

Arguments

•ID!
required

The gid of the Subscription Contract draft to commit.


•mutation
Deprecated
Show payload

Arguments

•ID!
required

The ID of the Subscription Contract draft to add a subscription discount to.

•SubscriptionManualDiscountInput!
required

The properties of the new Subscription Discount.

Show input fields

•mutation
Deprecated
Show payload

Arguments

•ID!
required

The gid of the subscription contract draft to apply a subscription code discount on.

•String!
required

Code discount redeem code.


•mutation
Deprecated
Show payload

Arguments

•ID!
required

The gid of the subscription draft discount to remove.

•ID!
required

The gid of the subscription contract draft to remove a subscription discount from.


•mutation
Deprecated
Show payload

Arguments

•ID!
required

The gid of the Subscription Discount to update.

•ID!
required

The ID of the Subscription Contract draft to update a subscription discount on.

•SubscriptionManualDiscountInput!
required

The properties to update on the Subscription Discount.

Show input fields

•mutation
Deprecated
Show payload

Arguments

•ID!
required

The ID of the subscription contract draft to add a subscription free shipping discount to.

•SubscriptionFreeShippingDiscountInput!
required

The properties of the new subscription free shipping discount.

Show input fields

•mutation
Deprecated
Show payload

Arguments

•ID!
required

The gid of the Subscription Discount to update.

•ID!
required

The ID of the Subscription Contract draft to update a subscription discount on.

•SubscriptionFreeShippingDiscountInput!
required

The properties to update on the Subscription Free Shipping Discount.

Show input fields

•mutation
Deprecated
Show payload

Arguments

•ID!
required

The gid of the Subscription Contract draft to add a subscription line to.

•SubscriptionLineInput!
required

The properties of the new Subscription Line.

Show input fields

•mutation
Deprecated
Show payload

Arguments

•ID!
required

The gid of the Subscription Contract draft to remove a subscription line from.

•ID!
required

The gid of the Subscription Line to remove.


•mutation
Deprecated
Show payload

Arguments

•ID!
required

The gid of the Subscription Contract draft to update a subscription line from.

•SubscriptionLineUpdateInput!
required

The properties of the new Subscription Line.

Show input fields
•ID!
required

The gid of the Subscription Line to update.


•mutation
Deprecated
Show payload

Arguments

•ID!
required

The gid of the Subscription Draft to update.

•SubscriptionDraftInput!
required

The properties of the new Subscription Contract.

Show input fields


Was this section helpful?


Was this section helpful?