Sites & Organisation

Room Tags

A RoomTag is a free-form label that can be attached to one or more Rooms within an organisation. Tags are used to group rooms for reporting and to assign appointment types to a pool of equivalently-equipped rooms.

get/shop/room-tagsDeprecated

List room tags

listRoomTags

Returns a paginated list of RoomTag objects within the caller's organisation. Use this to populate a tag picker when editing a room, or to filter rooms in admin views.

Deprecated. This endpoint will be removed in a future release.

Query parameters

  • pageintegeroptional

    The page to retrieve results from

  • per_pageintegeroptional

    The number of results to return per page

Responses

  • 200

    A paginated list of RoomTag objects.

  • 401

    The user is unauthenticated

  • 403

    The authenticated user does not have permission.

post/shop/room-tagsDeprecated

Create a room tag

createRoomTag

Creates a new RoomTag in the caller's organisation. The new tag has no rooms attached until you assign it via the Room update endpoint.

Deprecated. This endpoint will be removed in a future release.

Request body

  • namestringrequired

    Display name for the new tag. Plain text only. Tag names do not need to be unique within an organisation, but duplicates can make the UI confusing — pick distinct labels where possible.

  • organisation_iduuidoptional

    Organisation to attribute the tag to. Defaults to the caller's default organisation when omitted. The caller must belong to the target organisation.

Responses

  • 201

    A single RoomTag.

  • 401

    The user is unauthenticated

  • 403

    The authenticated user does not have permission.

  • 422

    The request didn't pass validation

get/shop/room-tags/{roomTagId}Deprecated

Retrieve a room tag

getRoomTag

Returns a single RoomTag by ID.

Deprecated. This endpoint will be removed in a future release.

Path parameters

  • roomTagIdobject-idrequired

    The unique identifier of the RoomTag.

Responses

  • 200

    A single RoomTag.

  • 401

    The user is unauthenticated

  • 403

    The authenticated user does not have permission.

  • 404

    The resource couldn't be found

put/shop/room-tags/{roomTagId}Deprecated

Update a room tag

updateRoomTag

Updates the name of an existing RoomTag. Tags cannot be moved between organisations.

Deprecated. This endpoint will be removed in a future release.

Path parameters

  • roomTagIdobject-idrequired

    The unique identifier of the RoomTag.

Request body

  • namestringrequired

    New display name for the tag.

Responses

  • 200

    A single RoomTag.

  • 401

    The user is unauthenticated

  • 403

    The authenticated user does not have permission.

  • 404

    The resource couldn't be found

  • 422

    The request didn't pass validation

delete/shop/room-tags/{roomTagId}Deprecated

Delete a room tag

deleteRoomTag

Removes a RoomTag. Any rooms that referenced the tag are automatically unlinked. This action is not reversible.

Deprecated. This endpoint will be removed in a future release.

Path parameters

  • roomTagIdobject-idrequired

    The unique identifier of the RoomTag.

Responses

  • 204

    Room tag deleted successfully.

  • 401

    The user is unauthenticated

  • 403

    The authenticated user does not have permission.

  • 404

    The resource couldn't be found