Subscription Contract User Error
The error codes for failed subscription contract mutations.
Anchor to FieldsFields
- Anchor to codecode•Subscription
Contract User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Fetches the available delivery options for a Subscription Contract.
- Anchor to addressaddress•Customer
Address Input The address to deliver the subscription contract to.
- Anchor to subscriptionContractIdsubscription•ID!required
Contract Id The ID of the subscription contract.
Arguments
- Anchor to deliveryOptionsResultdelivery•Subscription
Options Result Delivery Options Result The available delivery options for a given delivery address. Returns
null
for pending requests.- Anchor to userErrorsuser•[Subscription
Errors Contract User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Selects an option from a delivery options result and updates the delivery method on a Subscription Contract.
- Anchor to deliveryMethodInputdelivery•Subscription
Method Input Delivery Method Input!required The delivery method selected for the subscription contract.
- Anchor to subscriptionContractIdsubscription•ID!required
Contract Id The ID of the subscription contract.
- Anchor to subscriptionDeliveryOptionsResultTokensubscription•String!required
Delivery Options Result Token The token associated with the successfully fetched delivery options result for the subscription contract.
Arguments
- Anchor to contractcontract•Subscription
Contract The updated subscription contract object.
- Anchor to userErrorsuser•[Subscription
Errors Contract User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields