# Update of consumption tax Endpoint: PATCH /api/products/consumption-taxes/{id} Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Path parameters: - `id` (number, required) consumption tax identifier Example: 8 ## Header parameters: - `Content-Type` (string, required) ## Request fields (application/json): - `data` (object, required) - `data.name` (string) Consumption tax name. - `data.price` (string) Consumption tax amount. - `data.currency` (string) Consumption tax currency. - `data.isVisible` (boolean) Flag, whether the consumption tax is visible in documents or not. ## Response 200 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 404 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 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