# Inserting and editing codes This adds new or changes the current (if exists) HTML code. It is possible to enter 1-3 changes at a time (typically 3 possible locations). If the value already exists, it is simply overwritten. The limit for HTML code is 8192 characters. In case that any of the requirements fail, the detailed information is returned in the field. Endpoint: POST /api/template-include Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Header parameters: - `Content-Type` (string, required) ## Request fields (application/json): - `data` (object, required) - `data.snippets` (array, required) - `data.snippets.location` (string, required) (location) code identifier. Possible values: , , - `data.snippets.html` (string, required) HTML content to be included in the specified location ## Response 200 fields (application/json): - `data` (object, required) - `data.snippets` (array, required) - `data.snippets.location` (string, required) (location) code identifier. Possible values: , , Enum: "common-header", "common-footer", "order-confirmed" - `data.snippets.html` (string, required) HTML content included in the specified location - `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 400 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