Delete a customer by its external Id
Delete a customer by its external Id belonging to a specific company.
DELETE customers/external/:companyExternalId/:customerExternalId
Response
Upon successful delete of a customer in the Basecone system, a 200 http status code will be returned.
If something goes wrong, an error message with failure details will be given together with a suitable http error status code.
Possible error responses
Status code | Error code | Details |
---|---|---|
400 | invalid_request_payload | Company Id or Customer Id cannot be empty |
403 | Forbidden | User is not allowed to the company |
404 | Not Found | The requested resource is not found. |