Ban Customer

PUT https://api.salla.dev/admin/v2/customers/blacklist/:customer

You can use this endpoint to ban (Add to blacklist) one of your customers by providing the ID of the customer you want to ban in the customer path parameter.

Banned customer won't be able to create new orders.

💡 Note

Banned customers can login to the store.

Request Body

{"reason"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:{&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;code&quot;:&quot;\u003cnumber\u003e&quot;}}