Advance Auto Parts · JSON Structure

Commerce Api Cartitem Structure

An item in the shopping cart.

Type: object Properties: 3
AutomotiveE-CommerceParts CatalogRetailSupply ChainFortune 500

Commerce Api Cartitem Structure is a JSON Structure definition published by Advance Auto Parts, describing 3 properties. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

productId quantity unitPrice

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "$id": "cartitem-structure.json",
  "title": "CartItem",
  "description": "An item in the shopping cart.",
  "type": "object",
  "properties": {
    "productId": {
      "type": "string",
      "description": "Product SKU."
    },
    "quantity": {
      "type": "int32",
      "description": "Quantity."
    },
    "unitPrice": {
      "type": "float",
      "description": "Price per unit."
    }
  }
}