Skip to main content
Anchor to GiftCardTransactionUserError

GiftCardTransactionUserError

object

Requires read_gift_card_transactions access scope.

Represents an error that happens during the execution of a gift card transaction mutation.

•GiftCardTransactionUserErrorCode

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

Credit a gift card.

Arguments

•GiftCardCreditInput!required

The input fields to credit a gift card.

•ID!required

The ID of the gift card to be credited.


Fields

Anchor to giftCardCreditTransactiongiftCardCreditTransaction
•GiftCardCreditTransaction

The gift card credit transaction that was created.

•[GiftCardTransactionUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Debit a gift card.

Arguments

•GiftCardDebitInput!required

The input fields to debit a gift card.

•ID!required

The ID of the gift card to be debited.


Fields

Anchor to giftCardDebitTransactiongiftCardDebitTransaction
•GiftCardDebitTransaction

The gift card debit transaction that was created.

•[GiftCardTransactionUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?