Creating an Order in different currency to shop currency

Highlighted
Shopify Partner
5 0 0

I can see the Admin Orders API accepts `currency` as an option, allowing us to create orders in a currency different to the shop currency.

e.g. in a UK (GBP) Store we can create an order via the Admin API with the currency set to USD. This results in both the shop_money and presentment_money set to USD:

```

"total_price_set": {
    "shop_money": {
        "amount": "99.99",
        "currency_code": "USD"
    },
    "presentment_money": {
        "amount": "99.99",
        "currency_code": "USD"
    }
}

```

My understanding is this is actually different behaviour when compared to native Shopify Payments multi-currency support where the shop_money would remain in GBP and just the presentment_money would be set to USD?

Is there any documentation around this as we're reluctant to start creating orders where the shop currency is different to the merchants default shop currency in case there are any downstream implications, e.g. reporting, analytics or other third party apps etc.

Thanks,

Richard

0 Likes
Highlighted
Shopify Partner
5 0 0

These are the requests I've tested on a GBP development store:

 

```

POST https://{{store}}.myshopify.com/admin/orders.json

{
  "order": {
    "line_items": [{
        "variant_id": 20962533146742,
        "quantity": 1,
        "price": "99.99"
        }
    ],
    "currency": "USD", 
    "financial_status": "paid"
    }
}

```

And

```

POST https://{{store}}.myshopify.com/admin/orders.json

{
  "order": {
    "line_items": [{
        "variant_id": 20962533146742,
        "quantity": 1,
        "price": "75.60"
        }
    ],
    "currency": "GBP", 
    "financial_status": "paid"
    }
}

```

Which gives us two orders with different shop and presentment currencies from one another:

Screenshot 2020-11-19 at 16.04.43.png

This is exactly the behaviour we want, however as mentioned previously we're nervous because a) I can't find any documentation about this functionality and b) we don't want to cause any downstream issues for our users.

0 Likes
Highlighted
Shopify Partner
5 0 0

I can actually see already it causes issues with the built-in Shopify reports: 

Screenshot 2020-11-19 at 16.56.37.png

You can see it's just treating the 99.99 USD as GBP here.

0 Likes