Need to get a JSON object with all the applicable shipping rates for your Shopify store? Here’s the secret to making it work:
https://shopname.myshopify.com/cart/shipping_rates.json?shipping_address[zip]=91744&shipping_address[country]=United%20States&shipping_address[province]=California
Enjoy!
P.S. If you liked this you’ll probably like these other Shopify resources:
https://help.shopify.com/themes/development/getting-started/using-ajax-api#add-to-cart
Leave a Reply
You must be logged in to post a comment.