VTEX · Schema

CartProduct

Product information.

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
productId string Unique identifier of the product.
quantity number Quantity of the product.
View JSON Schema on GitHub

JSON Schema

vtex-cartproduct-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CartProduct",
  "title": "CartProduct",
  "type": "object",
  "description": "Product information.",
  "required": [
    "productId",
    "quantity"
  ],
  "properties": {
    "productId": {
      "type": "string",
      "description": "Unique identifier of the product.",
      "example": "ABC123"
    },
    "quantity": {
      "type": "number",
      "description": "Quantity of the product.",
      "example": 2
    }
  }
}