curl --request POST \
--url https://api.shoppex.io/dev/v1/blacklist \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "EMAIL",
"value": "<string>",
"reason": "<string>"
}
'{
"data": {
"id": "<string>",
"uniqid": "<string>",
"type": "EMAIL",
"data": "<string>",
"note": "<string>",
"created_at": 123,
"updated_at": 123
}
}Creates a new blacklist entry
curl --request POST \
--url https://api.shoppex.io/dev/v1/blacklist \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "EMAIL",
"value": "<string>",
"reason": "<string>"
}
'{
"data": {
"id": "<string>",
"uniqid": "<string>",
"type": "EMAIL",
"data": "<string>",
"note": "<string>",
"created_at": 123,
"updated_at": 123
}
}Use your API key with the Bearer scheme. Get your key from Dashboard → Settings → API Keys. Format: Authorization: Bearer shx_...
Default Response
Show child attributes