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
productstringRequiredThe 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" }'