Is there a way to update coupon codes automatically without entering app?

Highlighted
New Member
4 0 0

Hi, can you help me with my issue? I am working on Shopify app that interacts with discounts. Is there a way how my app can catch the event of coupon code change from admin panel using Shopify api? I need to update this code in a database of my app. I can't implement synchronization when I use my app because admin can change discount code without entering this app, and I really to keep all settings and coupon codes updated. I went through Shopify API but didn't find a way how I can implement this.

0 Likes
Shopify Staff
Shopify Staff
998 66 130

Hi @WDS , 

 

Since discount codes do not have a webhook topic, the only way I'm aware of to keep up-to-date on any changes made to them would be by checking them manually with the API and then comparing them to any existing data that you had to see if things had changed. 

0 Likes