Skip to main content
interface

Requires read_gift_card_transactions access scope.

Interface for a gift card transaction.

•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

The unique ID for the transaction.

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


Anchor to metafieldsByIdentifiersmetafieldsByIdentifiers
•[Metafield]!
non-null

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

Show fields

Arguments

•[HasMetafieldsIdentifier!]!
required

The list of metafields to retrieve by namespace and key.

Show input fields

•String

A note about the transaction.

•DateTime!
non-null

The date and time when the transaction was processed.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

A cash out transaction where the gift card balance was redeemed for cash.

Show fields
•OBJECT

A credit transaction which increases the gift card balance.

Show fields
•OBJECT

A debit transaction which decreases the gift card balance.

Show fields

Was this section helpful?