Skip to Content
API ReferenceBlacklists

Overview

Block purchases that match store-scoped fraud and abuse rules.

Blacklist rules block checkout attempts that match an email, IP address, country, or autonomous system number (ASN, which identifies a network). Use the description to leave your team a clear reason for the rule.

Rules are store-scoped and affect real purchase attempts as soon as they are active. Verify the selected X-STORE before creating or deleting one. The operation schemas define the accepted rule types, data format, and timestamps. Only authorized callers can read sensitive rule data.

Endpoints

Additional endpoint reference

Replace a blacklist rule

PUT
/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 PUT '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  }}

On this page