CustomerDetailBase
Type: schema
TypeScript Definition
typescript
CustomerDetailBase: {components["schemas"]["CustomerInfo"] & {
/** @description Business details for the linked customer, or `null` when no customer is linked. Individual details can be empty or `null`. */
business: null | components["schemas"]["BusinessInfo"]
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["CustomerInfo"] | CustomerInfo |
components["schemas"]["BusinessInfo"] | BusinessInfo |
OpenAPI Schema
json
{
"allOf": [
{
"$ref": "#/components/schemas/CustomerInfo"
},
{
"type": "object",
"properties": {
"business": {
"description": "Business details for the linked customer, or `null` when no customer is linked. Individual details can be empty or `null`.",
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/BusinessInfo"
}
]
},
"segments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomerSegment"
}
}
},
"required": [
"business",
"segments",
"first_name",
"last_name",
"full_name",
"profile_image_url",
"country_code",
"status",
"email",
"phone"
]
}
],
"externalDocs": {
"url": "https://llm-docs.commercengine.io/admin-pos/schemas/CustomerDetailBase"
},
"title": "CustomerDetailBase",
"x-tags": [
"Customers"
]
}Auto-generated from OpenAPI spec and TypeScript definitions