# restore_product

`tools/call` · `POST /agent/v1/products:restore`

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.

- Area: Catalog
- Needs the write grant. Idempotent.

## Inputs

- `product` (string, required): The product's slug, such as storefront.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "restore_product",
    "arguments": {
      "product": "storefront"
    }
  }
}
```

## HTTP request

The same call over the agent HTTP API, with an agent OAuth access token:

```bash
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"
  }'
```
