ReDoc documentation

taxRates

taxRates

post/V1/taxRates

Create or update tax rate

Request
Request Body schema:
required
object (tax-data-tax-rate-interface)

Tax rate interface.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Request samples
{
  • "taxRate": {
    }
}
Response samples
{
  • "id": 0,
  • "tax_country_id": "string",
  • "tax_region_id": 0,
  • "region_name": "string",
  • "tax_postcode": "string",
  • "zip_is_range": 0,
  • "zip_from": 0,
  • "zip_to": 0,
  • "rate": 0,
  • "code": "string",
  • "titles": [
    ],
  • "extension_attributes": { }
}

taxRates

put/V1/taxRates

Create or update tax rate

Request
Request Body schema:
required
object (tax-data-tax-rate-interface)

Tax rate interface.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Request samples
{
  • "taxRate": {
    }
}
Response samples
{
  • "id": 0,
  • "tax_country_id": "string",
  • "tax_region_id": 0,
  • "region_name": "string",
  • "tax_postcode": "string",
  • "zip_is_range": 0,
  • "zip_from": 0,
  • "zip_to": 0,
  • "rate": 0,
  • "code": "string",
  • "titles": [
    ],
  • "extension_attributes": { }
}