Customers > Customer Balance > storefrontCustomerBalanceApplyGiftCard
POST:storefront/customer_balance/apply_gift_card.json
Description
Transfer amount of money gift card represents to a customer balance.
Topic: Customer Balance
Arguments
data: ApplyGiftCard!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Unique generated gift card code (shop owner/users only)
Example: "H35K-DJKS-75TK-TJR4"
Valid when: gift_card_code is not empty
Result
Boolean
Preview (typescript)
Loading module