Skip to main content
Anchor to GiftCardCreditTransaction

GiftCardCreditTransaction

object

Requires read_gift_card_transactions access scope.

A credit transaction which increases 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.

Anchor to metafieldsByIdentifiersmetafieldsByIdentifiers
•[Metafield]!non-null

The metafields associated with the resource matching the supplied list of namespaces and keys.

•String

A note about the transaction.

•DateTime!non-null

The date and time when the transaction was processed.


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.


Was this section helpful?


Was this section helpful?
OSZAR »