Skip to main content

Update a Tax Item

PUT 

/v2/carts/:cartID/items/:cartitemID/taxes/:taxitemID

Use this endpoint to update a tax item.

Request

Path Parameters

    cartID stringrequired

    The unique identifier of the cart.

    cartitemID stringrequired

    The unique identifier of the cart item.

    taxitemID stringrequired

    The unique identifier of the tax item.

Body

    data object
    code string

    A unique tax code in this jurisdiction.

    jurisdiction string

    The relevant tax jurisdiction.

    name string

    The name of the tax item.

    rate numberrequired

    The tax rate represented as a decimal (12.5% -> 0.125).

    type stringrequired

    The type of object being returned. Use tax_item.

Responses

Response Headers
    Schema
      data object
      code string

      A unique tax code in this jurisdiction.

      jurisdiction string

      The relevant tax jurisdiction.

      name string

      The name of the tax item.

      rate numberrequired

      The tax rate represented as a decimal (12.5% -> 0.125).

      type stringrequired

      The type of object being returned. Use tax_item.

      id uuid

      The unique identifier for this tax item.

    Loading...