Gift Card Credit Transaction
Requires access scope.
A credit transaction which increases the gift card balance.
Anchor to Fields and connectionsFields and connections
- Anchor to amountamount•Money
V2!non-null The amount of the transaction.
- Anchor to giftCardgift•Gift
Card Card!non-null The gift card that the transaction belongs to.
- •ID!non-null
A globally-unique ID.
- Anchor to metafieldmetafield•Metafield
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 metafieldsByIdentifiersmetafields•[Metafield]!non-null
By Identifiers The metafields associated with the resource matching the supplied list of namespaces and keys.
- Anchor to notenote•String
A note about the transaction.
- Anchor to processedAtprocessed•Date
At Time!non-null The date and time when the transaction was processed.
Anchor to MutationsMutations
- •mutation
Credit a gift card.
- Anchor to creditInputcredit•Gift
Input Card Credit Input!required The input fields to credit a gift card.
- •ID!required
The ID of the gift card to be credited.
Arguments
- Anchor to giftCardCreditTransactiongift•Gift
Card Credit Transaction Card Credit Transaction The gift card credit transaction that was created.
- Anchor to userErrorsuser•[Gift
Errors Card Transaction User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields