# Creation of consumption tax Endpoint: POST /api/products/consumption-taxes Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Header parameters: - `Content-Type` (string, required) ## Request fields (application/json): - `data` (object, required) - `data.name` (string, required) Consumption tax name. - `data.price` (string, required) Consumption tax amount. - `data.currency` (string, required) Consumption tax currency. - `data.isVisible` (boolean) Flag, whether the consumption tax is visible in documents or not. If not set, default value is . ## Response 201 fields (application/json): - `data` (object, required) - `data.id` (integer, required) Consumption tax id. - `data.name` (string, required) Consumption tax name. - `data.price` (string, required) Consumption tax amount. - `data.currency` (string, required) Consumption tax currency. - `data.isVisible` (boolean, required) Flag, whether the consumption tax is visible in documents or not. - `data.created` (string,null, required) Consumption tax creation date. - `data.updated` (string,null, required) Consumption tax update date. - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced ## Response 409 fields (application/json): - `data` (object,null) - `errors` (array,null) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced ## Response 422 fields (application/json): - `data` (object,null) - `errors` (array,null) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced