# Listing of codes

This lists currently defined HTML codes for this addon, in all possible
locations. Each addon sees only “its own” codes,
 it cannot see other codes of other addons, not even from the same developer. Also, it does not see the code inserted within the administration.

Endpoint: GET /api/template-include
Version: 1.0.0
Security: shoptetAccessToken, shoptetPrivateApiToken

## Header parameters:

  - `Content-Type` (string, required)

## Response 200 fields (application/json):

  - `data` (object, required)

  - `data.snippets` (array, required)

  - `data.snippets.location` (string, required)
    (location) code identifier. Possible values: common-header, common-footer, order-confirmed
    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

  - `metadata` (object, required)

  - `metadata.requestId` (string, required)
    Request identifier. Useful for logging/reporting purposes.


