Update Agent's Service

Changed on

Update a seller service that belongs to the agent.

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

Path parameters

sellerServiceIdstring uuid required

Unique identifier of the seller service to update. e.g. "deeafae8-b98f-40a2-ad62-4fbe22334d89"

Request body

namestring

New name of the service.

descriptionstring

New description of the service.

tagsstring[]

New tags for the service.

minimumTokenAmountstring

New minimum amount (in USD) that buyers must set on their tokens.

pricestring

New price of the service in USD.

acceptedTokensstring[]

List of KYAPay token types that this Seller Service accepts. Must be one or more of 'kya', 'pay' and 'kya-pay'.

Response

No Content. The service is updated.

Changes

    • breaking

      for the path request parameter sellerServiceId, the format changed from no format to uuid

    • breaking

      the request property type changed from string to array

    • breaking

      removed the media type application/json for the response with the status