Our store has EUR as the default currency and we want to send an order in GBP but it doesn’t work, it always sends it in EUR. What can we do? Regards
1 Like
Hi Moddo,
This might actually be easier to achieve with the GraphQL API rather than the REST one. You could use the draftOrderCreate mutation which has an input field for presentmentCurrencyCode that you can use to specify the currency of the draft order. It could look something like this:
mutation CreateDraftOrder {
draftOrderCreate(input: {
lineItems: [
{
variantId: "gid://shopify/ProductVariant/123456789",
quantity: 1
}
],
presentmentCurrencyCode: GBP,
customer: {
id: "gid://shopify/Customer/987654321"
},
useCustomerDefaultAddress: true
}) {
draftOrder {
id
name
presentmentCurrencyCode
}
userErrors {
field
message
}
}
}
Then you could use the draftOrderComplete mutation to completes the draft order and create an order.
Hope this helps!