---
title: "Update tool"
method: PUT
path: "/tools/{toolId}"
tags: ["Tools"]
---

# Update tool

`PUT /tools/{toolId}`

## Path parameters

- `toolId` integer, required

## Request body

- UpdateToolRequest
  - `manufacturer` string — Tool manufacturer
  - `model` string — Tool model
  - `serial_number` string — Tool serial number
  - `condition` 'NEW' | 'USED' | 'LEASED' | 'DEFECT' | 'SORTED_OUT' — Tool condition
  - `date_of_purchase` string, date — Date of purchase
  - `next_maintenance` string, date — Next maintenance date
  - `group_id` integer — Tool group id
  - `source` string — The tool source
  - `source_external_id` string — The tool source_external_id

## Response `200`

The request was successful.

## Other responses

- `401` — The request lacks valid authentication credentials.
- `403` — The token is valid but lacks the permission for this action.
- `404` — The requested resource could not be found.
- `422` — The request was well-formed but contains semantic errors (validation failed).
- `500` — An unexpected error occurred on the server (e.g. a requested relation does not exist).

---

[API](https://skmtc.net/craftboxx/apis/craftboxx-api-documentation.md) · [All operations](https://skmtc.net/craftboxx/apis/craftboxx-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/craftboxx/craftboxx-api-documentation/revisions/c01f07a02f77/schema)
