Solved

How To Retrieve Product Prices In Foreign Currencies

ivanlicg
Shopify Partner
3 0 1

Hi guys,

 

When setting up a new market/region, merchants are able to configure the currency and pricing.

 

Store > Settings > Markets > Manage (of a country) > Currency and pricing

 

Here the merchants are able to set custom prices for products in a currency.

 

However, Shopify REST API doesn't seem to provide any information about the custom prices.

https://shopify.dev/api/admin-rest/2021-10/resources/product#get-products-product-id

 

Is there a way or API endpoint to retrieve the custom prices?

 

Accepted Solution (1)

csam
Shopify Staff (Retired)
267 40 51

This is an accepted solution.

Hi @ivanlicg 

 

Thanks for your question! It is possible to retrieve these prices via the GraphQL API, using the Product Variant presentment_prices field. You can find this in our documentation here: https://shopify.dev/api/admin-rest/2021-10/resources/product-variant#resource-object 

 

Hope this helps!

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 3 (3)

csam
Shopify Staff (Retired)
267 40 51

This is an accepted solution.

Hi @ivanlicg 

 

Thanks for your question! It is possible to retrieve these prices via the GraphQL API, using the Product Variant presentment_prices field. You can find this in our documentation here: https://shopify.dev/api/admin-rest/2021-10/resources/product-variant#resource-object 

 

Hope this helps!

To learn more visit the Shopify Help Center or the Community Blog.

ivanlicg
Shopify Partner
3 0 1

Thanks @csam 

Is the field available in REST API?

ivanlicg
Shopify Partner
3 0 1

ignore this