i want to apply a tax rate to lineItems when creating an atomic order, but the tax is never being applied to the item, and in the response, the taxRates elements name is always NO_TAX_APPLIED, even tho the taxRemoved attribute is false,
i tried applying an existing taxRate or providing the taxAmount and rate only, but the tax is never being applied.
here is an example of my request
"lineItems" : [
{
"item" : {
"id" : "V6FKW2V836N8G"
},
"unitQty" : 1 ,
"modifications" : [
{
"modifier" : {
"available" : "true" ,
"price" : "0"
},
"id" : "1"
}
],
"isRevenue" : "false" ,
"taxRates" : [
{
"id" : "SHA7037E01PN2" ,
"name" : "taxTest" ,
"rate" : 0 ,
"taxAmount" : 50
}
],
"name" : "prodtext"
}
],
"groupLineItems" : false
}
}
and here is the response of the taxRate section for every lineItem
"elements" : [
{
"id" : "KVW96AGP1SKMW" ,
"lineItemRef" : {
"id" : "TMDSS5754G3PW"
},
"name" : "NO_TAX_APPLIED" ,
"rate" : 0 ,
"isDefault" : false
}
]
}
i would very much appreciate the help on why i can't apply a tax, thank you