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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":{"message":"\u003cstring\u003e","code":"\u003cnumber\u003e"}}