App reviews, troubleshooting, and recommendations
Hello,
Can you please guide me as for our App, I need to setup multi currency wise draft order creation functionality in which draft order is being created for market specific region but it missing to return converted price for each line item used in draft order creation. API returns total price converted value but not returning prices for each line item then how can I get converted price for each line item after draft order created in another currency specific to market region?
I have used below query >
mutation draftOrderCreate($input: DraftOrderInput!) {
draftOrderCreate(input: $input) {
draftOrder {
# DraftOrder fields
email,
marketRegionCountryCode,
presentmentCurrencyCode,
lineItems(first: 250){
nodes {
quantity
title
originalUnitPrice
variant{
id
}
}
}
}
userErrors {
field
message
}
}
}
Here, you can see in "Line items" you can only supply > "originalUnitPrice" in base currency of client and it will automatically converted price for e.g. in "EURO" when country code supply will be "ES" (Spain) then it will return total price amount in EURO but not returning each line item's price in EURO. I need this for our App.
Can you please let us know
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023