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.

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

Arguments

•ID!
required

The gid of the Subscription Contract draft to commit.


•mutation

Concatenates a contract to a Subscription Draft.

Arguments

Anchor to concatenatedBillingCycleContractsconcatenatedBillingCycleContracts
•[SubscriptionBillingCycleInput!]!
required

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

•ID!
required

The gid of the Subscription Contract draft to update.


•mutation

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

Arguments

•SubscriptionActor

The actor who initiated a subscription action.

•SubscriptionBillingCycleInput!
required

Input object for selecting and using billing cycles.


•mutation

Creates a Subscription Contract.

Arguments

•SubscriptionContractAtomicCreateInput!
required

The properties of the new Subscription Contract.


•mutation

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

Arguments

•SubscriptionActor

The actor who initiated a subscription action.

•SubscriptionContractProductChangeInput!
required

The properties of the Product changes.

•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

Arguments

•SubscriptionContractCreateInput!
required

The properties of the new Subscription Contract.


•mutation
Deprecated

Arguments

•SubscriptionActor

The actor who initiated a subscription action.

•ID!
required

The gid of the Subscription Contract to update.


•mutation
Deprecated

Arguments

•ID!
required

The gid of the Subscription Contract draft to commit.


•mutation
Deprecated

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.


•mutation
Deprecated

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

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

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.


•mutation
Deprecated

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.


•mutation
Deprecated

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.


•mutation
Deprecated

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.


•mutation
Deprecated

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

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.

•ID!
required

The gid of the Subscription Line to update.


•mutation
Deprecated

Arguments

•ID!
required

The gid of the Subscription Draft to update.

•SubscriptionDraftInput!
required

The properties of the new Subscription Contract.



Was this section helpful?


Was this section helpful?