How to create a draft order with a different currency

Solved
Highlighted
New Member
2 0 0

Hi.

 

So now that Shopify allows for multi currencies on a users store, how do we create a draft order with a currency that is different to the store currency. I have included the presentment_money on all my variants with the following header request option:

 

'X-Shopify-Api-Features': 'include-presentment-prices'.
 
This returns all the presentment currencies and their converted amounts. However the issue I'm having is when I try to create a draft order with the presentment currency amount. I get the following error:
 
line_items[0].applied_discount.amount: Array(1)
0: "must correspond to that calculated from the value".
 
Now I understand this happens when the applied discount amount doesn't correspond with the store value, but that then means that it will always return this error if the draft order isn't created using the store currency?
 
Thanks
0 Likes
Highlighted

Success.

Shopify Staff
Shopify Staff
321 36 55

Hey @JonoLightning,

 

Selling in multiple currencies is currently supported on just the Online Store sales channel. Draft orders are always in the shop's currency. This doc contains more information about our multi-currency feature and some of the limitations.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

1 Like
Highlighted
New Member
2 0 0

Thanks _JB. I will try to figure out a different way to achieve my desired use case.

0 Likes