Visit Main Site
Join Partner Program
Login
     
Introduction
Authentication
Documentation
Category
GET
POST
PUT
DELETE
Products
GET
POST
PUT
DELETE
Carts
GET
POST
PATCH
DELETE
Variations
GET
POST
PUT
DELETE
Currency
GET
POST
PUT
DELETE
Tax
Tax Profile
GET
POST
PUT
DELETE
Tax Rule
GET
POST
PUT
DELETE
Tax Code
GET
POST
PUT
DELETE
Tax Zone
GET
POST
PUT
DELETE
Discount
GET
POST
PUT
DELETE
Shipping
Shipping Profile
GET
POST
PUT
DELETE
Shipping Rate
GET
POST
PUT
DELETE
Shipping Rules
GET
POST
PUT
DELETE
Customer
GET
POST
PUT
DELETE
Orders
GET
POST
PATCH
Blog
GET
POST
PUT
DELETE
Settings
GET
» Customer DELETE API Documentation

Deleting a Customer

Endpoint: DELETE /admin/customers/{customer_id}

Purpose

This API allows administrators to delete a customer record from the system. The /admin/customers/{customer_id} endpoint permanently removes the specified customer and all associated data.

Path Parameters

ParameterTypeDescription
customer_idIntegerUnique identifier of the customer

Query Parameters

No query parameters for this endpoint.

Use Case

This API is used when an administrator needs to remove a customer from the system. It ensures that customer records that are no longer needed can be deleted, helping businesses maintain a clean and manageable customer database. Use this endpoint with caution, as deleted customer data cannot be recovered.

Request Body

This endpoint does not require a request body.

Response

This endpoint does not return a response body. Upon successful deletion, an HTTP status code 204 No Content is returned, indicating that the customer has been removed successfully.

DELETE
https://{your_site_domain}/api/v4/admin/customers/{customer_id}
Try It Out
Terms and Conditions
Privacy Policy

© 2024 WebCommander | All Rights Reserved

contact@webcommander.com
1300 797 571

WebCommander
About Us
Features
Pricing
Compare
Partners
Contact Us
Resource
Find a Partner
Help Centre
Community
Blog
Solutions
Inventory Management
Omnichannel Sales
Ecommerce Automation
B2B Ecommerce
Headless Commerce
Website Design and Performance