How do I get the status of the discount code when the user checkouts using that coupon code?
In this case, is there any API for getting this coupon code response or web hook?
How do I get the status of the discount code when the user checkouts using that coupon code?
In this case, is there any API for getting this coupon code response or web hook?
Hi @Arun-A ,
You can using the “order/create” webhook, you can automatically get notified whenever an order is created and check the status of any discount codes used in that order.
You can refer it here: https://shopify.dev/docs/api/admin-rest/2024-01/resources/webhook
All discount information will be in field ‘discount_applications’.
It will trigger when all checkouts are done; I want to specify only trigger when the ‘XXXXXXX’ coupon code applies. How to do that