Skip to main content
Anchor to GiftCardDebitTransaction

GiftCardDebitTransaction

object

Requires read_gift_card_transactions access scope.

A debit transaction which decreases the gift card balance.

Anchor to Fields and connectionsFields and connections

•MoneyV2!non-null

The amount of the transaction.

•GiftCard!non-null

The gift card that the transaction belongs to.

•ID!non-null

A globally-unique ID.

•Metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

•MetafieldConnection!non-null

A list of custom fields that a merchant associates with a Shopify resource.

•String

A note about the transaction.

•DateTime!non-null

The date and time when the transaction was processed.


Was this section helpful?

•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?
OSZAR »