Advance Auto Parts · Schema

CartItemInput

Request to add an item to the cart.

AutomotiveE-CommerceParts CatalogRetailSupply ChainFortune 500

Properties

Name Type Description
productId string Product SKU to add.
quantity integer Quantity to add.
View JSON Schema on GitHub

JSON Schema

commerce-api-cartiteminput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CartItemInput",
  "description": "Request to add an item to the cart.",
  "type": "object",
  "required": [
    "productId",
    "quantity"
  ],
  "properties": {
    "productId": {
      "type": "string",
      "description": "Product SKU to add.",
      "example": "SKU-123456"
    },
    "quantity": {
      "type": "integer",
      "description": "Quantity to add.",
      "example": 2
    }
  }
}