Skip to content

ProductSearchItem ​

Type: schema

TypeScript Definition ​

typescript
ProductSearchItem: {components["schemas"]["Item"] & {
            /** @description Included for marketplace search results. */
            item_id?: string | null
}

Component References ​

ReferenceResolves To
components["schemas"]["Item"]Item

OpenAPI Schema ​

json
{
  "title": "ProductSearchItem",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/ProductSearchItem",
    "description": "API reference for the ProductSearchItem schema"
  },
  "allOf": [
    {
      "$ref": "#/components/schemas/Item"
    },
    {
      "type": "object",
      "properties": {
        "item_id": {
          "description": "Included for marketplace search results.",
          "type": [
            "string",
            "null"
          ]
        },
        "seller_id": {
          "description": "Included for marketplace search results.",
          "type": [
            "string",
            "null"
          ]
        },
        "seller_detail": {
          "description": "Included for marketplace search results.",
          "anyOf": [
            {
              "$ref": "#/components/schemas/SellerInfo"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: