Unable to set taxes_included in draft order

etienne87
Shopify Partner
1 0 0

I am having trouble to set taxes_included in draft order. We have clients who use our app that have this tax setting - Include or exclude tax based on your customer's country - enabled, meaning that the total costs of an order would adjust if they set the shipping location to, say, the United States. Normally, if this setting is enabled, when they update the shipping location from Germany to the US in the checkout page, it would adjust the order amount automatically. However, if we create a draft order, then send them to checkout link, the amount would not be adjusted, hence, affecting the amount calculation.

Therefore, we want to know if it's possible to set taxes_included parameter as we create the draft order. Also, based on the api documentation here (https://shopify.dev/api/admin-graphql/2021-07/mutations/draftOrderCalculate), it seems to me that it is impossible to do so. Perhaps the feature hasn't been implemented? If so, is there any alternative solution to address this limitation? Any help would be appreciated!

Replies 0 (0)