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

# Assign Tier

`PUT /v1/shops/{shopId}/affiliates/{customerId}/tier`

## Request

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

Assigns an affiliate to a tier.

## Request body

- object
  - `tier_id` integer: The tier ID. Null clears the tier.

## Response `200`

## Changes

- **2026-09-14** `12c8f48a9963`: 2 info
  - request body became optional
  - the request property `tier_id` became optional

[Operation history](https://skmtc.dev/sellauth/apis/sellauth-api/changes/v1/shops/:shopId/affiliates/:customerId/tier/put.md)

---

[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)
