Anchor to GiftCardTransactionGift
Gift Card Transaction
interface
Requires access scope.
Interface for a gift card transaction.
Anchor to Fields and connectionsFields and connections
- Anchor to amountamountβ’Money
V2!non-null The amount of the transaction.
- Anchor to giftCardgiftβ’
Card GiftCard!non-null The gift card that the transaction belongs to.
- β’ID!non-null
The unique ID for the transaction.
- Anchor to metafieldmetafieldβ’
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafieldsβ’Metafield
Connection!non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to notenoteβ’
A note about the transaction.
- Anchor to processedAtprocessedβ’
At DateTime!non-null The date and time when the transaction was processed.
Deprecated fields and connections
- Anchor to privateMetafieldprivateβ’
Metafield Returns a private metafield by namespace and key that belongs to the resource.
- Anchor to privateMetafieldsprivateβ’
Metafields PrivateMetafield Connection!non-null List of private metafields that belong to the resource.
Was this section helpful?
{
"amount": "",
"giftCard": "",
"id": "",
"metafield": {
"namespace": "",
"key": ""
},
"metafields": {
"namespace": "",
"keys": "",
"first": "",
"after": "",
"last": "",
"before": "",
"reverse": ""
},
"note": "",
"privateMetafield": {
"namespace": "",
"key": ""
},
"privateMetafields": {
"namespace": "",
"first": "",
"after": "",
"last": "",
"before": "",
"reverse": ""
},
"processedAt": ""
}
{
"amount": "",
"giftCard": "",
"id": "",
"metafield": {
"namespace": "",
"key": ""
},
"metafields": {
"namespace": "",
"keys": "",
"first": "",
"after": "",
"last": "",
"before": "",
"reverse": ""
},
"note": "",
"privateMetafield": {
"namespace": "",
"key": ""
},
"privateMetafields": {
"namespace": "",
"first": "",
"after": "",
"last": "",
"before": "",
"reverse": ""
},
"processedAt": ""
}
interface GiftCardTransaction {
amount: MoneyV2!
giftCard: GiftCard!
id: ID!
metafield: Metafield
note: String
privateMetafield: PrivateMetafield
processedAt: DateTime!
}