You would need to create the gift card prior to putting the order though in Shopify if you did not want Shopify to create it.
Vix | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
Hi @vix ,
thanks for your reply!
Sure, i can create GC before pushing the order through API.
Should i specify somehow the ID of created GC in the create order API call so shopify will not create it again(if i keep the original GC product in the order)?
Hi @btwilliams_hr ,
my issues seems to be different as it's about to purchase gift card and not use it for the payment.
AFAIK, you have to use gift cards adjustments API to reduce balance of the gift card that was used to partially pay the order.
Hope it helps.