Gift Card Debit Transaction
Requires access scope.
A debit transaction which decreases the gift card balance.
Anchor to Fields and connectionsFields and connections
- Anchor to amountamount•Money
V2!non-null The amount of the transaction.
- Anchor to giftCardgift•
Card GiftCard!non-null The gift card that the transaction belongs to.
- •ID!non-null
A globally-unique ID.
- Anchor to metafieldmetafield•
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection!non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to notenote•
A note about the transaction.
- Anchor to processedAtprocessed•
At DateTime!non-null The date and time when the transaction was processed.
Deprecated fields and connections
- Anchor to privateMetafieldprivate•
Metafield Returns a private metafield by namespace and key that belongs to the resource.
- Anchor to privateMetafieldsprivate•
Metafields PrivateMetafield Connection!non-null List of private metafields that belong to the resource.
Anchor to MutationsMutations
- •mutation
Debit a gift card.
- Anchor to debitInputdebit•
Input GiftCard 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•
Card Debit Transaction The gift card debit transaction that was created.
- Anchor to userErrorsuser•
Errors [GiftCard Transaction User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields