Ban Customer
PUT {{baseUrl}}/customers/blacklist/:customer
This endpoint allows you to ban, aka Add to blacklist, one of your customers by providing the "customer_id"
you want to ban in the customer path parameter.
:::caution[Note] Even though banned customer won't be able to create new orders, they will still be able to login to the store. :::
customers.read_write
- Customers Read & Write
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"}}