Anchor to GiftCardTransactionUserErrorGift
objectGift Card Transaction User Error
Requires access scope.
Represents an error that happens during the execution of a gift card transaction mutation.
Anchor to FieldsFields
- Anchor to codecode•Gift
Card Transaction 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.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
Credit a gift card.
- Anchor to creditInputcredit•Gift
Input Card Credit Input!required The input fields to credit a gift card.
- •ID!required
The ID of the gift card to be credited.
Arguments
- Anchor to giftCardCreditTransactiongift•Gift
Card Credit Transaction Card Credit Transaction The gift card credit transaction that was created.
- Anchor to userErrorsuser•[Gift
Errors Card Transaction User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Debit a gift card.
- Anchor to debitInputdebit•Gift
Input Card Debit Input!required The input fields to debit a gift card.
- •ID!required
The ID of the gift card to be debited.
Arguments
- Anchor to giftCardDebitTransactiongift•Gift
Card Debit Transaction Card Debit Transaction The gift card debit transaction that was created.
- Anchor to userErrorsuser•[Gift
Errors Card Transaction User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?