---
title: "Bulk Assign Tier"
method: POST
path: "/v1/shops/{shopId}/affiliates/bulk-tier"
tags: ["Affiliates"]
---

# Bulk Assign Tier

`POST /v1/shops/{shopId}/affiliates/bulk-tier`

## Request

- Base URL: `https://api.sellauth.com`
- URL: `https://api.sellauth.com/v1/shops/{shopId}/affiliates/bulk-tier`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sellauth/apis/sellauth-api/docs/v1/shops/:shopId/affiliates/bulk-tier/post.ts> (a function with typed inputs; its response is checked against the schema)

Moves several affiliates to a tier at once. IDs that are not affiliates of this shop are skipped.

## Request body

- object
  - `customer_ids` integer[], required: The shop customer IDs to update.
  - `tier_id` integer, required: The tier ID. Required.

## Response `200`

---

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