---
title: "Suspend Affiliate"
method: POST
path: "/v1/shops/{shopId}/affiliates/{customerId}/suspend"
tags: ["Affiliates"]
---

# Suspend Affiliate

`POST /v1/shops/{shopId}/affiliates/{customerId}/suspend`

## Request

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

Suspends an affiliate: they stop earning and their links stop attributing, but their code, tier, balance and history are kept. Reversible with restore.

## 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/ff0d59c98d7a?raw)
