younifyd
Menu

Update A Tax Item

Update a Tax Item

PUT/v2/carts/{cartID}/items/{cartitemID}/taxes/{taxitemID}

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Update A Tax Item action (under Carts).
  3. Fill in the fields below, then reference the result from later steps as {{updateATaxItem.response.data}}.

Request

Path parameters

cartIDstringrequired

The unique identifier of the cart.

cartitemIDstringrequired

The unique identifier of the cart item.

taxitemIDstringrequired

The unique identifier of the tax item.

Request body

Enter the body as JSON in the step's Body field.

dataoneOfrequired

A tax item that can be applied to cart items or bundle components. You must specify either a rate (percentage) or an amount (fixed value), but not both.

json
{
  "data": null
}

Response

Returns 200 with an object. Read it in later steps with {{updateATaxItem.response.data.<field>}}.

dataoneOf

A tax item that can be applied to cart items or bundle components. You must specify either a rate (percentage) or an amount (fixed value), but not both.

json
{
  "data": null
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Update A Tax Item — Elastic Path — Documentation