# `channel.listing.archive` Archive/unarchive listings at the marketplace (archive pushes stock 0 too). - **method + path**: `POST /v1/channel/{ext}/listings/archive` - **TR label**: Pazaryeri listelemesi arşivlendi - **auth**: authenticated · scope gates: any of `admin`, `catalog:write` — “Katalog yazma yetkisi gerekli” - **agentPolicy**: `propose` — a live mutation — an Ajan token's call is recorded into its open proposal (202 `proposed: true`); a Geliştirici token executes it directly. - **effects**: `provider`, `db` - **idempotency**: server — the platform derives the key - **wraps**: [`channel.listing.set`](/reference/commands/channel.listing.set) Machine-readable body schema: [/schemas/routes/channel.listing.archive.json](/schemas/routes/channel.listing.archive.json). ## Body ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "listingIds": { "minItems": 1, "maxItems": 100, "type": "array", "items": { "type": "string", "pattern": "^lst_[0-9A-HJKMNP-TV-Z]{26}$" } }, "archived": { "type": "boolean" } }, "required": [ "listingIds", "archived" ], "additionalProperties": false } ```