Salesforce · Schema

Cart

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
cartDetails array
View JSON Schema on GitHub

JSON Schema

salesforce-cart-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "cartDetails": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "object",
        "properties": {
          "activityStartDate": {
            "type": "string",
            "example": "example_value"
          },
          "contactId": {
            "type": "string",
            "example": "500123"
          },
          "transactionAmount": {
            "type": "integer",
            "example": 10
          },
          "currencyISOCode": {
            "type": "string",
            "example": "example_value"
          },
          "cartLineDetails": {
            "type": "array",
            "description": "",
            "example": [],
            "items": {
              "type": "object",
              "properties": {
                "cartLineProductId": {
                  "type": "string",
                  "example": "500123"
                },
                "cartLineItemQuantity": {
                  "type": "integer",
                  "example": 10
                },
                "cartLineItemAmount": {
                  "type": "integer",
                  "example": 10
                },
                "cartLineProductCatalogId": {
                  "type": "string",
                  "example": "500123"
                }
              },
              "required": [
                "cartLineProductId",
                "cartLineItemQuantity",
                "cartLineItemAmount",
                "cartLineProductCatalogId"
              ]
            }
          }
        },
        "required": [
          "activityStartDate",
          "contactId",
          "transactionAmount",
          "currencyISOCode",
          "cartLineDetails"
        ]
      }
    }
  },
  "required": [
    "cartDetails"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Cart"
}