---
updatedAt: 2026-11-10T14:09:50.000Z
agentTools:
  projectIndex: https://docs.followupboss.com/llms.txt
---

# /appointmentTypes/:id

Update an appointment type.

> 🚧 Restricted Access
>
> Updating an appointment type is restricted to the account owner.

> 📘 Order Weights
>
> You can create a custom sort order by setting the `orderWeight` field. For example, if you have one option with an `orderWeight` of 10000 and another of 11000, you can create a new stage with an `orderWeight` of 10500 that would be placed between them.
>
> However, once the stage has been created, the `orderWeight` for all stages will be recalculated to enforce the new ordering with gaps of 1000. In the previous example, that means the value that was at 11000 will be moved to 12000 and the new one created at 10500 becomes 11000.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.followupboss.com/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/appointmentTypes/{id}": {
      "put": {
        "summary": "/appointmentTypes/:id",
        "description": "Update an appointment type.",
        "operationId": "appointmenttypes-id-put",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "ID of the appointment type.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The name of the appointment type."
                  },
                  "orderWeight": {
                    "type": "integer",
                    "description": "Set this value to enforce a specific sort order.",
                    "format": "int32"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "OK": {
                    "value": "{\n  \"id\": 3,\n  \"name\": \"Test Type\",\n  \"orderWeight\": 1000\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 3,
                      "default": 0
                    },
                    "name": {
                      "type": "string",
                      "example": "Test Type"
                    },
                    "orderWeight": {
                      "type": "integer",
                      "example": 1000,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Bad Request (Invalid Body Fields)": {
                    "value": "{\n  \"errorMessage\": \"Invalid fields in the request body: [list of invalid fields]\"\n}"
                  },
                  "Bad Request (Invalid Field Data Type)": {
                    "value": "{\n    \"errorMessage\": \"Expected field '[fieldName]' to be of data type [dataType].\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Bad Request (Invalid Body Fields)",
                      "type": "object",
                      "properties": {
                        "errorMessage": {
                          "type": "string",
                          "example": "Invalid fields in the request body: [list of invalid fields]"
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Invalid Field Data Type)",
                      "type": "object",
                      "properties": {
                        "errorMessage": {
                          "type": "string",
                          "example": "Expected field '[fieldName]' to be of data type [dataType]."
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "application/json": {
                "examples": {
                  "Forbidden": {
                    "value": "{\n    \"errorMessage\": \"You do not have access to update appointment types.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorMessage": {
                      "type": "string",
                      "example": "You do not have access to update appointment types."
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Not Found": {
                    "value": "{\n  \"errorMessage\": \"Requested resource was not found.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorMessage": {
                      "type": "string",
                      "example": "Requested resource was not found."
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```