Skip to Content
API ReferenceBlacklists

Update a Blacklist Rule

Update one or more attributes on an existing blacklist rule.

PATCH
/v2/blacklists/{blacklist}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

blacklist*integer

The blacklist identifier.

Header Parameters

Idempotency-Key?string

Reuse this key only for an identical retry. A replay returns Idempotent-Replayed: true.

Length8 <= length <= 255
X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body

Provide one or more fields to update an existing blacklist rule.

type?BlacklistType

The type of blacklist rule.

Value in"ASN""COUNTRY""EMAIL""IP""WILDCARD_EMAIL"
data?string

The updated value to blacklist.

description?string

The updated reason for this rule.

Response Body

Successful response.

application/json
  1. response
data*

A blacklist rule that blocks purchases matching the provided details.

Example Request
curl -X PATCH 'https://sell.app/api/v2/blacklists/42' \  -H 'Idempotency-Key: project-library-2026-09-04' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "description": "Blocked after a verified fraud report."}'
{  "data": {    "id": 42,    "type": "EMAIL",    "data": "blocked@example.com",    "description": "Blocked after a verified fraud report.",    "created_at": "2026-09-04T09:00:00Z",    "updated_at": "2026-09-04T09:00:00Z",    "store_id": 12  }}