Advance Auto Parts · Schema

CartItem

An item in the shopping cart.

AutomotiveE-CommerceParts CatalogRetailSupply ChainFortune 500

Properties

Name Type Description
productId string Product SKU.
quantity integer Quantity.
unitPrice number Price per unit.
View JSON Schema on GitHub

JSON Schema

commerce-api-cartitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CartItem",
  "description": "An item in the shopping cart.",
  "type": "object",
  "properties": {
    "productId": {
      "type": "string",
      "description": "Product SKU.",
      "example": "SKU-123456"
    },
    "quantity": {
      "type": "integer",
      "description": "Quantity.",
      "example": 2
    },
    "unitPrice": {
      "type": "number",
      "description": "Price per unit.",
      "example": 54.99
    }
  }
}