---
title: "Optimise products by channel"
method: POST
path: "/v2/user/analytics/{storeId}/optimisations/bychannel/{channelId}/{actionName}"
tags: ["Analytics - Optimisations"]
---

# Optimise products by channel

`POST /v2/user/analytics/{storeId}/optimisations/bychannel/{channelId}/{actionName}`

## Request

- Base URL: `https://api.beezup.com`
- URL: `https://api.beezup.com/v2/user/analytics/{storeId}/optimisations/bychannel/{channelId}/{actionName}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/beezup/apis/beezup-merchant-api/docs/v2/user/analytics/:storeId/optimisations/bychannel/:channelId/:actionName/post.ts> (a function with typed inputs; its response is checked against the schema)

/!\ WARNING /!\ \
Apply the operation on every product on this channel.

## Path parameters

- `storeId` string, guid, required
- `channelId` string, guid, required
- `actionName` 'reenable' | 'disable', optimisationActionName, required

## Response `204`

Products optimisatized

## Other responses

- `400`: Invalid request
- `404`: Store or resource not found
- `default`: Occurs when something goes wrong

---

[API](https://skmtc.dev/beezup/apis/beezup-merchant-api.md) - [All operations](https://skmtc.dev/beezup/apis/beezup-merchant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/beezup/apis/beezup-merchant-api/revisions/3d07c0591478?raw)
