---
title: "POST /api/sales-channels/{id}/archive"
method: POST
path: "/api/sales-channels/{id}/archive"
tags: ["api", "sales-channels"]
---

# POST /api/sales-channels/{id}/archive

`POST /api/sales-channels/{id}/archive`

Archive a sales channel

## Path parameters

- `id` string, required — The ID of the sales channel.

## Response `200`

OK

- SalesChannelResource
  - `_id` string, required — The ID of the sales channel
  - `sellerId` string, required — The ID of the seller of the sales channel
  - `createdAt` string, date-time — An ISO timestamp indicating when the sales channel was created
  - `updatedAt` string, date-time — An ISO timestamp indicating when the sales channel was updated
  - `name` string, required — The name of the sales channel
  - `status` 'ACTIVE' | 'INACTIVE', required — The status of the object, whether it is active or not
  - `type` 'POS' | 'DISTRIBUTOR' | 'INTERNAL_BOOKING' | 'WEB' | 'MARKETPLACE_APP' | 'KIOSK', required — The type of the sales channel
  - `groupId` string — The group of the sales channel
  - `contractTypeIds` string[] — The contract types that are available through this sales channel
  - `owner` string — The app owner id, if the channel was created by a marketplace app

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
