Skip to main content

Delete Customer

DELETE 

/api/customers/:customer

Delete a customer. Returns 400 if the customer is linked to sales orders or other records.

Required scope: customers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token. Requires IsPowerUserAccess middleware.

When the customer is still referenced by other records the delete is refused with 400 and nothing is deleted.

A customer with quotes is also refused: archive it instead, so quote history keeps its customer. Check Deletable Customers reports this under quotes.

Request​

Responses​

OK

Response Headers
    Content-Type