This article presents possible use cases and corresponding sample flows that you can support. It provides a useful starting point as you plan your implementation.
You can create a gift card product where the price a buyer pays is less than the balance loaded onto the gift card. This is useful for running promotions, such as selling a $50 gift card for $45.
To create a gift card product with promotional pricing:
Call Create Gift Card Product. In the presetVariants array, set each variant's price and value fields separately. For example:
Optionally, set the expirationType and the corresponding expiration details. For a gift card that expires 1 year after purchase, set expirationType to RELATIVE and relativeExpirationDate to { "value": 1, "period": "YEARS" }.
If you manage multiple Wix sites, you may want to keep gift card products consistent across all of them. For example, if you update a product's denominations on one site, you can replicate the change on other sites.
To sync a gift card product across sites:
giftCardProduct object from the response.name.id and current revision.