Search the docs

Search guides, API endpoints and MCP tools.

Catalog

restore_product

Write grantIdempotent

Restore an archived product, so it and its deployments are active again. Restoring a product that is not archived changes nothing. Returns the product. Needs write access.

Inputs

productstringRequired

The product's slug, such as storefront.

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