Skip to main content
Anchor to SubscriptionContractUserError

SubscriptionContractUserError

object

The error codes for failed subscription contract mutations.

•SubscriptionContractUserErrorCode

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

Fetches the available delivery options for a Subscription Contract.

Arguments

•CustomerAddressInput

The address to deliver the subscription contract to.

Anchor to subscriptionContractIdsubscriptionContractId
•ID!required

The ID of the subscription contract.


Fields

Anchor to deliveryOptionsResultdeliveryOptionsResult
•SubscriptionDeliveryOptionsResult

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

•[SubscriptionContractUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

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

Arguments

•SubscriptionDeliveryMethodInput!required

The delivery method selected for the subscription contract.

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.

•[SubscriptionContractUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?