younifyd
Menu

Add Tax Item To Cart

Add Tax Item to Cart

POST/v2/carts/{cartID}/items/{cartitemID}/taxes

Use it in a workflow

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

Request

Path parameters

cartIDstringrequired

The unique identifier of the cart.

cartitemIDstringrequired

The unique identifier of the cart 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 {{addTaxItemToCart.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.

Add Tax Item To Cart — Elastic Path — Documentation