Skip to content

UserDetail ​

Type: schema

Description ​

The user's profile and the customer information shared with its other users.

TypeScript Definition ​

typescript
UserDetail: {components["schemas"]["User"] & {
            business: components["schemas"]["UserBusiness"] | null
}

Component References ​

ReferenceResolves To
components["schemas"]["User"]User
components["schemas"]["UserBusiness"]UserBusiness

OpenAPI Schema ​

json
{
  "title": "UserDetail",
  "description": "The user's profile and the customer information shared with its other users.",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/UserDetail",
    "description": "API reference for the UserDetail schema"
  },
  "allOf": [
    {
      "$ref": "#/components/schemas/User"
    },
    {
      "type": "object",
      "properties": {
        "business": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/UserBusiness"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "customer_id",
        "customer_group",
        "business",
        "metadata",
        "kyc_status"
      ]
    }
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: