---
title: "Update Service"
method: PATCH
path: "/catalog/services/{service_id}"
---

# Update Service

`PATCH /catalog/services/{service_id}`

## Request

- Base URL: `https://api.roapp.io/v2`
- URL: `https://api.roapp.io/v2/catalog/services/{service_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/roapp/apis/ro-app-public-api-v2/docs/catalog/services/:service_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update an existing service.

## Path parameters

- `service_id` string, required

## Request body

- object
  - `category_id` number: Service Category ID
  - `title` string: Service title
  - `description` string: Service description
  - `type` 'labor' | 'service'
  - `uom_id` number: Unit of Measure ID
  - `cost` string: Service cost
  - `prices` object[]: Service prices
    - `id` number, required: Service Price ID
    - `price` string, required: Price value
  - `duration` number: Service duration in minutes
  - `warranty` object: Service warranty object
    - `period` number, required: Warranty period
    - `unit` 'days' | 'months', required: Warranty unit of measure
  - `barcodes` object[]: List of barcodes
    - `type` 'ean8' | 'ean13' | 'qrcode' | 'code128', required: Barcode type
    - `code` string, required: Barcode value

## Response `200`

---

[API](https://skmtc.dev/roapp/apis/ro-app-public-api-v2.md) - [All operations](https://skmtc.dev/roapp/apis/ro-app-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/roapp/apis/ro-app-public-api-v2/revisions/df0f57c15ea0?raw)
