Skip to content

Customer_Delete#


Description#

This function allows you to delete a customer.

Request Body Parameters#

Parameter
Type Description
customer_id
edit_customer
customer_login
Number
String
String
The customer id
The customer login
The customer login

Response Parameters#

Parameter
Type Description
success boolean Boolean value for if the request was successful

Example Request#

{
    "Store_code": "beta",
    "Function": "Customer_Delete",
    "Edit_Customer": "testuser"
}

Example Response#

{
    "success": 1
}

Error Responses#

Error Code Error Message Error Description
MER-CUS-JSN-00002 Customer Not Found Customer ID or Login does not exist.
#Error# Unable to load customer: One of Edit_Customer, Customer_ID or Customer_Login must be specified One of the three required parameters to identify a customer is missing.