Develop an app using REST API which require multi-currency

Hello,

we trying to build an app which should use variants presentment_prices on back-end.
currently app on development stage and we able to test it only with developer stores.
we always experience a problem that:

  1. https://shopify.dev/docs/api/admin-rest/2022-10/resources/currency
  2. https://shopify.dev/docs/api/admin-rest/2022-10/resources/product-variant → presentment_prices
    are always empty.

we use header 'X-Shopify-Api-Features’: ‘include-presentment-prices’.
and this filter as well:

curl -X GET “https://your-development-store.myshopify.com/admin/api/2022-10/products/632910392/variants.json?presentment_currencies=USD” > -H “X-Shopify-Access-Token: {access_token}”

as i understand the problem is that developer store don’t have multi-currencies and no option to enable it.
How we can solve this, maybe someone know available workarounds?

1 Like

@Olmer you need to pass the localize flag to that API call. or set as default store localize

1 Like

Hey
@ErSanjay Thank you for the respond. Could you please elaborate?

1 Like