Search the docs

Search guides, API endpoints and MCP tools.

Catalog

update_product

Write grantIdempotent

Change a product's slug, name, type, description or repository. Only the fields given change. An archived product cannot change, and a product becomes a website or API product only once each of its deployments has a base URL. Returns the product. Needs write access.

Inputs

productstringRequired

The product's slug, such as storefront.

slugstring

A new slug for the product, such as web-store.

namestring

The product's display name, up to 100 characters, such as Storefront.

typestring

What kind of software the product is. Website and API products need a base URL in every deployment.

One ofwebsiteapiclimobile_appdesktop_appagent
descriptionnullable string

What the product is, up to 200 characters. null clears it.

repositorynullable string

The source repository as owner/name, such as acme/storefront. null clears it.

tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "update_product",    "arguments": {      "product": "storefront",      "description": "The Acme web store and its docs site."    }  }}
POST/agent/v1/products:update
curl -X POST https://api.qa.clankership.net/agent/v1/products:update \  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "product": "storefront",    "description": "The Acme web store and its docs site."  }'
The same call over the agent HTTP API. Set CLANKER_AGENT_TOKEN to an agent OAuth access token.