API's
Lists API
Customer Types
Delete
Delete
Delete
Deletes a customer type from an account.
Request
Method
URL
DELETE
https://api.solatech-dos.com/lists/v1/accounts/{accountUniqueId}/customertypes/{itemUniqueId}
Path Parameters
Name
Required
Type
Description
accountUniqueId
Guid
The unique ID of the account.
itemUniqueId
Guid
The unique ID of the customer type.
Headers
Name
Required
Type
Description
APIKey
Guid
A valid API key with a scope of
AccountLists
Remarks
If this customer type is currently referenced elsewhere on the account, the delete is rejected with a 409 conflict instead of being applied.
Response
Headers
None
Status Code
Code
Description
204 No Content
The customer type was deleted.
401 Unauthorized
The API key is missing, invalid, disabled, or does not have the correct scope.
403 Forbidden
The API key does not belong to this account, the account does not have the API keys feature enabled, or the key does not have the required scope.
404 Not Found
No customer type was found with that id for this account.
409 Conflict
In use. The customer type is referenced elsewhere on the account and cannot be deleted.
Body
None