Salesforce · JSON Structure

Salesforce Cart Detail Structure

Type: object Properties: 5 Required: 5
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

CartDetail is a JSON Structure definition published by Salesforce, describing 5 properties, of which 5 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

activityStartDate contactId transactionAmount currencyISOCode cartLineDetails

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "CartDetail",
  "properties": {
    "activityStartDate": {
      "type": "string"
    },
    "contactId": {
      "type": "string"
    },
    "transactionAmount": {
      "type": "integer"
    },
    "currencyISOCode": {
      "type": "string"
    },
    "cartLineDetails": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "cartLineProductId": {
            "type": "string"
          },
          "cartLineItemQuantity": {
            "type": "integer"
          },
          "cartLineItemAmount": {
            "type": "integer"
          },
          "cartLineProductCatalogId": {
            "type": "string"
          }
        },
        "required": [
          "cartLineProductId",
          "cartLineItemQuantity",
          "cartLineItemAmount",
          "cartLineProductCatalogId"
        ]
      }
    }
  },
  "required": [
    "activityStartDate",
    "contactId",
    "transactionAmount",
    "currencyISOCode",
    "cartLineDetails"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}