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.

•MoneyV2!
non-null

The amount of the transaction.

Show fields
•GiftCard!
non-null

The gift card that the transaction belongs to.

Show fields
•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.

Show fields

Arguments

•String!
required

The key for the metafield.

•String

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.


•MetafieldConnection!
non-null

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

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•[String!]

List of keys of metafields in the format namespace.key, will be returned in the same format.

•Int

The last n elements from the paginated list.

•String

The metafield namespace to filter by. If omitted, all metafields are returned.

•Boolean
Default:false

Reverse the order of the underlying list.


•String

A note about the transaction.

•DateTime!
non-null

The date and time when the transaction was processed.


Was this section helpful?

•mutation

Adds funds to an existing gift card, increasing its available balance. Use this when a merchant wants to top up a customer's gift card — for example, as a promotional bonus, a customer service gesture, or to reload a reusable gift card.

Show payload

Arguments

•GiftCardCreditInput!
required

The input fields to credit a gift card.

Show input fields
•ID!
required

The ID of the gift card to be credited.



Was this section helpful?

•interface

Was this section helpful?