Advance Auto Parts · JSON Structure

Commerce Api Cartiteminput Structure

Request to add an item to the cart.

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

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

Properties

productId quantity

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "$id": "cartiteminput-structure.json",
  "title": "CartItemInput",
  "description": "Request to add an item to the cart.",
  "type": "object",
  "properties": {
    "productId": {
      "type": "string",
      "description": "Product SKU to add."
    },
    "quantity": {
      "type": "int32",
      "description": "Quantity to add."
    }
  }
}