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.

•

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

•

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

•

A note about the transaction.

•
DateTime!non-null

The date and time when the transaction was processed.

Deprecated fields and connections

•

Returns a private metafield by namespace and key that belongs to the resource.

•
PrivateMetafieldConnection!non-null

List of private metafields that belong to the resource.


Was this section helpful?

•
mutation

Debit a gift card.

Arguments

•

The input fields to debit a gift card.

•
ID!required

The ID of the gift card to be debited.


Fields

Anchor to giftCardDebitTransactiongiftCardDebitTransaction
•

The gift card debit transaction that was created.

•

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?