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!]

A list of metafields to retrieve, in the format namespace.key. If the namespace is omitted, then the app-reserved namespace is used. Each returned metafield's key field uses the same format as its entry in this list: custom.material returns custom.material, and material returns material. App-reserved namespaces are returned in resolved form, such as app--12345--foo.material for $app:foo.material. Metafields are returned in the order of this list, and keys that don't match a metafield are left out. Can't be used with the namespace argument.

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

Anchor to Types implemented inTypes implemented in

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