Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Update shipping rate of an active checkout through the use of my custom app

Update shipping rate of an active checkout through the use of my custom app

zaryabdaha
Shopify Partner
2 0 0

How do I update the shipping rate of an active checkout through my custom app whenever the user adds a discount voucher?
I've used the webhook to trigger the function whenever the user adds a discount voucher but I don't know how to update the data back on the Shopify store

Reply 1 (1)

Liam
Community Manager
3108 344 911

Hi Zaryabdaha,

 

I believe you'll need to do the following: 

 

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog