---
updatedAt: 2026-10-31T08:03:05.000Z
agentTools:
  projectIndex: https://developer.accelevents.com/llms.txt
---

# Update BeeFreeTemplate

This API is used to Update BeeFreeTemplate. API is used as host side event admin and super admin can access this API.  It will return response data like type, message etc.
To call this API, user will have to pass path param with API URL like beeFreeTemplateId, request param like beeFreeTemplateDto and authentication key to authenticate user.

Here is the description of response attributes, which returns to the form of JSON.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Attributes
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        type
      </td>

      <td style={{ textAlign: "left" }}>
        This field returns a Success or Fail type of API response.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        message
      </td>

      <td style={{ textAlign: "left" }}>
        This field returns a message for response that can be used for display to end user.
      </td>
    </tr>
  </tbody>
</Table>

Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Error Code
      </th>

      <th>
        Error Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        200
      </td>

      <td>
        OK
      </td>
    </tr>

    <tr>
      <td>
        201
      </td>

      <td>
        Created
      </td>
    </tr>

    <tr>
      <td>
        401
      </td>

      <td>
        You are not authorized to view the resource.
      </td>
    </tr>

    <tr>
      <td>
        403
      </td>

      <td>
        Accessing the resource you were trying to reach is forbidden.
      </td>
    </tr>

    <tr>
      <td>
        404
      </td>

      <td>
        The resource you were trying to reach is not found.
      </td>
    </tr>

    <tr>
      <td>
        4040200
      </td>

      <td>
        Event Not Found
      </td>
    </tr>

    <tr>
      <td>
        4030201
      </td>

      <td>
        Not Event Host
      </td>
    </tr>

    <tr>
      <td>
        4040801
      </td>

      <td>
        BeeFree template not found.
      </td>
    </tr>

    <tr>
      <td>
        4060459
      </td>

      <td>
        Event can not use beefree template.
      </td>
    </tr>

    <tr>
      <td>
        4060055
      </td>

      <td>
        Ticket not found.
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "accelevents",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.accelevents.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rest/host/event/{eventUrl}/ticketing/beeFreeTemplate/{id}": {
      "put": {
        "summary": "Update BeeFreeTemplate",
        "description": "This API is used to Update BeeFreeTemplate. API is used as host side event admin and super admin can access this API.  It will return response data like type, message etc.\nTo call this API, user will have to pass path param with API URL like beeFreeTemplateId, request param like beeFreeTemplateDto and authentication key to authenticate user.",
        "operationId": "update-beefreetemplate",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "API Authentication Token",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "This field contains id of beefree template to update",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true
          },
          {
            "name": "eventUrl",
            "in": "path",
            "description": "Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "beeFreeTemplateDto": {
                    "type": "object",
                    "description": "This field contains beefree template details to update",
                    "properties": {
                      "beeFreeId": {
                        "type": "integer",
                        "description": "This field contains beefree id (optional)",
                        "format": "int64"
                      },
                      "beeFreeJson": {
                        "type": "string",
                        "description": "This field contains beefree json value"
                      },
                      "beeFreeHtml": {
                        "type": "string",
                        "description": "This field contains beefree html value"
                      },
                      "emailType": {
                        "type": "string",
                        "description": "This field contains email type",
                        "enum": [
                          "EMAIL_INVITATIONS",
                          "WAIT_LIST",
                          "ATTENDEE_CHECK_IN",
                          "ORDER_CONFIRMATION"
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"message\": \"string\",\n  \"type\": \"string\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "string"
                    },
                    "type": {
                      "type": "string",
                      "example": "string"
                    }
                  }
                }
              }
            }
          },
          "201": {
            "description": "201",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Created"
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "You are not authorized to view the resource."
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Accessing the resource you were trying to reach is forbidden."
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "The resource you were trying to reach is not found."
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```