v1

latestOpenAPI 3.0.32026-07-248257161.1 KB
Taxes

Update Tax details

Use this endpoint to update tax details

put/taxes/{taxId}

Path parameters

taxIdstring uuid required

Unique identifier of the product.

Request body

idstring uuid

unique uuid of the tax object

countrystring

ISO Code of the Country where the taxes are applied

taxCode1number double

lowest tax rate in percentage. could be O, a.k.a tax is not applicable

taxCode2number double

second tax rate in percentage

taxCode3number double

third tax rate in percentage

taxCode4number double

fourth tax rate in percentage

taxCode5number double

fifth tax rate in percentage

updatedAtstring

The date time that record was updated in our system.

createdAtstring

The date time that record was created in our system.

Example request

{
  "id": "fbd2053b-638d-4133-957e-3caf63e6b79c",
  "country": "SN",
  "taxCode2": 5.5,
  "taxCode3": 15,
  "taxCode4": 18,
  "taxCode5": 20,
  "updatedAt": "2022-06-20T17:17:11Z",
  "createdAt": "2022-06-20T17:17:11Z"
}

Response

The product is updated successfully