201 Successful Response
Schema: CategorizationResponse
-
categorystring required -
Suggested category.
-
subcategorystring -
Suggested subcategory.
-
confidencenumber required -
Confidence score (0.0-1.0).
/api/v1/customers/categorize
Use AI to suggest a category for a customer based on their information.
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
name
string
required Customer name
email
string
Customer email
website
string
Customer website
address
string
Customer address
Schema: CategorizationResponse
category
string
required Suggested category.
subcategory
string
Suggested subcategory.
confidence
number
required Confidence score (0.0-1.0).
Schema: HTTPValidationError
detail
array · ValidationError
ValidationError loc
array · string | integer
required msg
string
required type
string
required input
object
ctx
object