Create a product whose currency symbol does not match the store currency

yehony
Tourist
5 0 4

Thank you for viewing

According to the API documentation, add

'X-Shopify-Api-Features: include-presentment-prices'

POST /admin/api/2020-07/products.json

The request body is

{
    "product" : {
        "title""2020-07-23 11:29:56",
        "variants": [
            {
                "sku""LC0000001",
                "price"100,
                "compare_at_price"120,
                "presentment_prices": [
                    {
                        "price": {
                            "currency_code""EUR",
                            "amount""200"
                        },
                        "compare_at_price""300"
                    }
                ]
            }
        ]
    }
}

But the returned result did not update the amount according to the set currency
The returned result is as follows

 

{F6A72177-B1F7-4B0C-B279-00E6B843BB5B}_20200723113546.jpg

Since the currency set by my shop is USD, the returned currency is the set currency, and there is no amount in the currency of EUR

What is wrong, please let me know thank you!!!

0 Likes
Kevin_A
Shopify Staff
Shopify Staff
213 27 40

Hey @yehony 

I think the issue is that your shop doesn't have the EUR currency enabled via payments. Check out this doc for some more details. 

Kevin_A | Developer Support @ 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

0 Likes