# Surcharge parameters for product insert and edit

URL: https://shoptet.dev/news/api/surcharge-parameters-for-product-insert-and-edit

October 20, 2021 · One min read
Pavel Husa

We have extended [Product insert](https://api.docs.shoptet.com/shoptet-api/openapi/products/createproduct) as well as [Product edit](https://api.docs.shoptet.com/shoptet-api/openapi/products/updateproduct) and [Product edit by code](https://api.docs.shoptet.com/shoptet-api/openapi/products/updateproductbycode) to accept also surcharge parameters. This can be done using array `surchargeParameters` within the request body. You can specify multiple parameters and multiple values. When editing, the complete array has to be provided (the whole list of parameters is always replaced). The parameters and their values must already exist, they will not be created "on-the-fly" – an error would be returned instead. The complete list of surcharge parameters defined in the eshop can be retrieved using [List of surcharge parameters](https://api.docs.shoptet.com/shoptet-api/openapi/surcharge-parameters/getlistofsurchargeparameters) .

**Tags:**
- [API](/news/tags/api/)
