deactivate_article
Deactivate an article that can't be deleted by clearing EAN, turning off webshop, and prefixing its description with 'UTGÅTT'.
Instructions
Retire an article (articles that were ever used can't be deleted): webshop off, inactive, EAN cleared so it can move to a new article, description prefixed 'UTGÅTT' (plus 'ersatt av X' with replaced_by). Move any stock first (manual outbound/inbound).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"article_number": "<article_number>"
},
"name": "deactivate_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| clear_ean | No | ||
| replaced_by | No | ||
| article_number | Yes |