Skip to content

MarketplaceVariant ​

Type: schema

TypeScript Definition ​

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

Component References ​

ReferenceResolves To
components["schemas"]["MarketplaceVariantBase"]MarketplaceVariantBase

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/MarketplaceVariantBase"
    },
    {
      "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"
            }
          ]
        }
      },
      "required": [
        "seller_id",
        "seller_detail"
      ]
    }
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: