---
title: "Update Agent's Service"
method: PATCH
path: "/api/v1/agents/seller-services/{sellerServiceId}"
---

# Update Agent's Service

`PATCH /api/v1/agents/seller-services/{sellerServiceId}`

## Request

- Base URL: `https://api.skyfire.xyz`
- URL: `https://api.skyfire.xyz/api/v1/agents/seller-services/{sellerServiceId}`
- Auth: API key in header `skyfire-api-key`

Update a seller service that belongs to the agent.

## Path parameters

- `sellerServiceId` string, uuid, required

## Request body

- object
  - `name` string: New name of the service.
  - `description` string: New description of the service.
  - `tags` string[]: New tags for the service.
  - `minimumTokenAmount` string: New minimum amount (in USD) that buyers must set on their tokens.
  - `price` string: New price of the service in USD.
  - `termsOfService` object: New terms of service for this service.
    - `url` string: The URL where the terms of service are available to review.
    - `required` boolean: 'true' if acceptance of the terms of service is required.
  - `acceptedTokens` string[]: List of KYAPay token types that this Seller Service accepts. Must be one or more of 'kya', 'pay' and 'kya-pay'.

## Response `204`

No Content. The service is updated.

## Other responses

- `400`: Bad Request
- `422`: Unprocessable Entity

## Changes

- **2026-11-03** `22cbec9d7630`: 3 breaking
  - for the `path` request parameter `sellerServiceId`, the format changed from no format to `uuid`
  - the `acceptedTokens` request property type changed from `string` to `array`
  - removed the media type `application/json` for the response with the status `204`

[Operation history](https://skmtc.dev/skyfire/apis/skyfire-agent-and-token-apis/changes/api/v1/agents/seller-services/:sellerServiceId/patch.md)

---

[API](https://skmtc.dev/skyfire/apis/skyfire-agent-and-token-apis.md) - [All operations](https://skmtc.dev/skyfire/apis/skyfire-agent-and-token-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/skyfire/apis/skyfire-agent-and-token-apis/revisions/22cbec9d7630?raw)
