Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

how do I get shipping zone rates in local currency?

how do I get shipping zone rates in local currency?

moelafi
Visitor
1 0 0

Hi, 

 

I am using the Admin API to get my shipping zones information from my shipping profile. I am wondering if it would be possible to localise my request and get it in a specific currency.

 

endpoint am using: /admin/api/2022-10/shipping_zones.json

 

currently getting prices in default store currency which is GBP. I wanna be able to get them en EUR for example.

 

I hope its possible !

 

thank you very much 

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 525

Hey @moelafi - that endpoint is going to pull from the shop's default currency setting.  I do get where you're coming from on this though and I'm going to make a note to pass on to our developers. At the moment, the logic is that since these rates will only be seen by the merchant within the admin it makes sense to display them in the default Shop Currency, which is basis for the currency exchange that appears on the customer side of things. 

That said, you can use the fields on that endpoint to see which countries each shipping zone applies to. This would be under the location_group_id field and in the countries field within the JSON output payload. 

Like I mentioned though, I am going make a note to pass along some feedback, it would be handy to have this info easily surfaceable. 

Hope this helps - thanks for getting in touch. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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