Taxes in order details
Configured order API call
Request example:
GET /api/v3/STOREID/orders/ORDERID?responseFields=total,totalWithoutTax,subtotal,subtotalWithoutTax,tax,customerTaxExempt,customerTaxId,customerTaxIdValid,reversedTaxApplied,items(id,price,priceWithoutTax,tax,taxable,taxes),taxesOnShipping,pricesIncludeTax HTTP/1.1
Host: app.ecwid.com
Authorization: Bearer secret_tokenResponse examples:
{
"total": 101,
"totalWithoutTax": 93.64,
"subtotal": 100,
"subtotalWithoutTax": 92.64,
"tax": 7.36,
"customerTaxExempt": false,
"customerTaxId": "",
"customerTaxIdValid": false,
"reversedTaxApplied": false,
"items": [
{
"id": 1826596664,
"price": 50,
"priceWithoutTax": 46.32,
"tax": 7.36,
"taxable": true,
"taxes": [
{
"name": "10% Tax",
"value": 10,
"total": 7.36,
"taxOnDiscountedSubtotal": 7.36,
"taxOnShipping": 0,
"includeInPrice": true,
"sourceTaxRateId": 947976181,
"sourceTaxRateType": "MANUAL",
"taxClassName": "Standard rate",
"taxClassCode": "default"
}
]
}
],
"taxesOnShipping": [],
"pricesIncludeTax": true
}Last updated
Was this helpful?
