AI categorize customer

POST/api/v1/customers/categorize

Use AI to suggest a category for a customer based on their information.

Operation ID: categorize_customer_api_v1_customers_categorize_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

namestringrequired

Customer name

emailstring

Customer email

websitestring

Customer website

addressstring

Customer address

Responses

201Successful Response

successboolean
messagestring
codestring
dataCategorizationResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject