Skip to content

MarketplaceVariant ​

Type: schema

TypeScript Definition ​

typescript
MarketplaceVariant: {components["schemas"]["Variant"] & {
            /** @description Seller ID of the marketplace variant. `null` when the seller cannot be resolved. */
            seller_id?: string | null
}

Component References ​

ReferenceResolves To
components["schemas"]["Variant"]Variant

OpenAPI Schema ​

json
{
  "title": "MarketplaceVariant",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/MarketplaceVariant",
    "description": "API reference for the MarketplaceVariant schema"
  },
  "allOf": [
    {
      "$ref": "#/components/schemas/Variant"
    },
    {
      "type": "object",
      "properties": {
        "seller_id": {
          "description": "Seller ID of the marketplace variant. `null` when the seller cannot be resolved.",
          "type": [
            "string",
            "null"
          ]
        },
        "seller_detail": {
          "description": "Seller detail of the marketplace variant. `null` when the seller cannot be resolved.",
          "oneOf": [
            {
              "$ref": "#/components/schemas/SellerInfo"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: