Customers

Blacklist this customer’s email, email domain, IP, country, user agent, ASN or Discord ID, with a reason (with sessionId: that device’s IP, country and user agent)

POST
/v1/stores/{storeId}/customers/{customerId}/blacklist

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
customerId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/customers/string/blacklist" \  -H "Content-Type: application/json" \  -d '{    "kinds": [      "email"    ]  }'
{  "updated": -9007199254740991,  "added": [    "string"  ],  "existing": [    "string"  ]}