SAP Commerce Cloud · Schema

CartModification

B2BConsumerCommerceCustomer ExperienceE-CommerceOmnichannelRetail

Properties

Name Type Description
statusCode string Status of the modification
quantity integer Quantity added
quantityAdded integer Actual quantity added
entry object
statusMessage string Status message
View JSON Schema on GitHub

JSON Schema

sap-commerce-cloud-cart-modification-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sap-commerce-cloud/json-schema/sap-commerce-cloud-cart-modification-schema.json",
  "title": "CartModification",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sap-commerce-cloud-cart-api-openapi.yml#/components/schemas/CartModification",
  "type": "object",
  "properties": {
    "statusCode": {
      "type": "string",
      "description": "Status of the modification"
    },
    "quantity": {
      "type": "integer",
      "description": "Quantity added"
    },
    "quantityAdded": {
      "type": "integer",
      "description": "Actual quantity added"
    },
    "entry": {
      "$ref": "#/$defs/OrderEntry"
    },
    "statusMessage": {
      "type": "string",
      "description": "Status message"
    }
  },
  "$defs": {
    "Category": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "Category code"
        },
        "name": {
          "type": "string",
          "description": "Category name"
        },
        "url": {
          "type": "string",
          "description": "Category URL"
        },
        "image": {
          "$ref": "#/$defs/Image"
        },
        "subcategories": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Category"
          }
        }
      }
    },
    "Classification": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "Classification code"
        },
        "name": {
          "type": "string",
          "description": "Classification name"
        },
        "features": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "featureValues": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "value": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "Image": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "Image URL"
        },
        "altText": {
          "type": "string",
          "description": "Alternative text"
        },
        "format": {
          "type": "string",
          "description": "Image format (e.g., thumbnail, product, zoom)"
        },
        "imageType": {
          "type": "string",
          "enum": [
            "PRIMARY",
            "GALLERY"
          ],
          "description": "Image type"
        }
      }
    },
    "OrderEntry": {
      "type": "object",
      "properties": {
        "entryNumber": {
          "type": "integer",
          "description": "Entry number (zero-based)"
        },
        "product": {
          "$ref": "#/$defs/Product"
        },
        "quantity": {
          "type": "integer",
          "description": "Quantity"
        },
        "basePrice": {
          "$ref": "#/$defs/Price"
        },
        "totalPrice": {
          "$ref": "#/$defs/Price"
        },
        "updateable": {
          "type": "boolean",
          "description": "Whether the entry can be updated"
        }
      }
    },
    "Price": {
      "type": "object",
      "properties": {
        "currencyIso": {
          "type": "string",
          "description": "ISO 4217 currency code"
        },
        "value": {
          "type": "number",
          "format": "double",
          "description": "Price value"
        },
        "formattedValue": {
          "type": "string",
          "description": "Formatted price string"
        },
        "priceType": {
          "type": "string",
          "enum": [
            "BUY",
            "FROM"
          ],
          "description": "Price type"
        }
      }
    },
    "Principal": {
      "type": "object",
      "properties": {
        "uid": {
          "type": "string",
          "description": "User unique identifier"
        },
        "name": {
          "type": "string",
          "description": "Display name"
        }
      }
    },
    "Product": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "Product code"
        },
        "name": {
          "type": "string",
          "description": "Product name"
        },
        "description": {
          "type": "string",
          "description": "Product description"
        },
        "summary": {
          "type": "string",
          "description": "Short product summary"
        },
        "price": {
          "$ref": "#/$defs/Price"
        },
        "images": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Image"
          },
          "description": "Product images"
        },
        "categories": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Category"
          },
          "description": "Product categories"
        },
        "reviews": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Review"
          },
          "description": "Customer reviews"
        },
        "averageRating": {
          "type": "number",
          "format": "double",
          "description": "Average customer rating"
        },
        "stock": {
          "$ref": "#/$defs/Stock"
        },
        "classifications": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Classification"
          },
          "description": "Product classification attributes"
        },
        "purchasable": {
          "type": "boolean",
          "description": "Whether the product can be purchased"
        },
        "url": {
          "type": "string",
          "description": "Product URL"
        }
      }
    },
    "Review": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Review identifier"
        },
        "headline": {
          "type": "string",
          "description": "Review headline"
        },
        "comment": {
          "type": "string",
          "description": "Review text"
        },
        "rating": {
          "type": "number",
          "format": "double",
          "description": "Rating value"
        },
        "date": {
          "type": "string",
          "format": "date-time",
          "description": "Review date"
        },
        "alias": {
          "type": "string",
          "description": "Reviewer alias"
        },
        "principal": {
          "$ref": "#/$defs/Principal"
        }
      }
    },
    "Stock": {
      "type": "object",
      "properties": {
        "stockLevelStatus": {
          "type": "string",
          "enum": [
            "inStock",
            "lowStock",
            "outOfStock"
          ],
          "description": "Stock level status"
        },
        "stockLevel": {
          "type": "integer",
          "description": "Actual stock level quantity"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sap-commerce-cloud-cart-modification"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.