---
title: "Sync all agents in a channel"
method: POST
path: "/bigcommerce/channels/{channelId}/sync"
tags: ["Agent", "BigCommerce"]
---

# Sync all agents in a channel

`POST /bigcommerce/channels/{channelId}/sync`

## Request

- Base URL: `https://api.takeshape.io`
- URL: `https://api.takeshape.io/bigcommerce/channels/{channelId}/sync`
- Auth: HTTP bearer

Syncs all BigCommerce agents in a channel with the latest pattern, preserving customizations.

## Path parameters

- `channelId` number, required

## Response `200`

Channel agents synced

- BulkOperationResponse
  - `channelsUpdated` number, required: Number of channels updated
  - `agentsUpdated` number, required: Number of agents updated

## Other responses

- `400`: Bad Request - invalid or missing parameters
- `401`: Unauthorized - invalid or missing store token
- `404`: Not Found - channel or agent not found

---

[API](https://skmtc.dev/takeshape/apis/takeshape-rest-api.md) - [All operations](https://skmtc.dev/takeshape/apis/takeshape-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/takeshape/apis/takeshape-rest-api/revisions/2e088f4d4c64?raw)
