SbPublicApiAddCartLineRequest

snowbee.ecom.cart.SbPublicApiAddCartLineRequest

Adding a SKU already in the cart increases that line's quantity.

quantityrequired

Quantity to add, greater than zero

  • Format: int32
Example1
skuIdrequired

SKU ID; must be published in the store's assortment

View raw schema
{
  "type": "object",
  "description": "Adding a SKU already in the cart increases that line's quantity.",
  "properties": {
    "quantity": {
      "type": "integer",
      "format": "int32",
      "description": "Quantity to add, greater than zero",
      "example": "1",
      "title": "Int"
    },
    "skuId": {
      "type": "string",
      "description": "SKU ID; must be published in the store's assortment",
      "title": "String"
    }
  },
  "required": [
    "quantity",
    "skuId"
  ],
  "title": "SbPublicApiAddCartLineRequest"
}