Tax classes by country

GET https://app.ecwid.com/api/v3/{storeId}/taxClasses?countryCode=US&lang=en

Required access scopes

Your app doesn't need any specific access scopes to make this request.

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

Query params

Some query params are required.

Name
Type
Description

lang

string

Language ISO code for translations in JSON response, e.g. en, fr. If not specified, response will be in English.

countryCode

string

Country code in ISO 639-1. Required

Headers

The Authorization header is optional. Request works the same way with or without access token.

Header
Format
Description

Authorization

Bearer secret_ab***cd

Access token of the application.

Response JSON

A JSON array of objects with the following fields:

Field
Type
Description

stateCode

string

Two-digit state code in ISO 639-1 format if the tax class is local for the specific state. Empty otherwise.

taxClassCode

string

Unique ID of the tax class, if it has any, default otherwise

taxClassRate

string

Tax class rate.

localization

Localized tax name and its description.

localization

Field
Type
Description

language

string

Localization language.

taxClassName

string

Localized tax class name.

taxClassDescription

string

Localized tax description– what goods/services are subject to tax class.

Last updated

Was this helpful?