---
title: "Batch Update Favorite Carriers"
method: POST
path: "/v2/tms/carriers/favorites/batch"
tags: ["v2", "tms", "carriers", "favorites"]
---

# Batch Update Favorite Carriers

`POST /v2/tms/carriers/favorites/batch`

## Request

- Base URL: `https://api.mentium.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mentium.io/v2/tms/carriers/favorites/batch`
- Auth: HTTP bearer

Batch add/remove carriers from favorites.

## Query parameters

- `integration_connection_id` string, required: TMS integration connection ID

## Headers

- `mentium-workspace-id` string, nullable

## Request body

- BatchFavoriteCarriersRequest
  - `add` string[]: Carrier external reference IDs to add
  - `remove` string[]: Carrier external reference IDs to remove

## Response `200`

Successful Response

- BatchFavoriteCarriersResponse
  - `added` string[]
  - `removed` string[]

## Other responses

- `422`: Validation Error

---

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