Carts/
Tax Items/
Delete a Tax Item

Delete a Tax Item

DELETE Delete by ID

https://api.moltin.com/v2/carts/:cartID/items/:itemId/taxes/:id

Parameters

Path parameters

NameRequiredTypeDescription
cartIdRequiredstringThe ID of the cart to target.
itemIdRequiredstringThe ID of the taxed cart item.
taxItemIdRequiredstringThe ID of the tax item to delete.

Headers

NameRequiredTypeDescription
AuthorizationRequiredstringThe Bearer token required to get access to the API.

Request Examples

Curl

curl -X DELETE https://api.moltin.com/v2/carts/:cartId/items/:itemId/taxes/:taxItemId \
     -H "Authorization: Bearer XXXX"

JavaScript SDK

const itemId = "25617d3e-14a6-434c-bfab-3fda87517aaf";
const taxItemId = "08c53828-bf85-460f-9a31-985547e0e567";


// Where `EPCC` is an authenticated client
await EPCC.Cart.RemoveItemTax(itemId, taxItemId);

Response Example

204 No Content

Was this helpful?

Previous
Create tax rates

Learn

Docs