Salesforce · JSON Structure

Salesforce Calculate Price New Sale Request Structure

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

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

Properties

listPricebookId pricingFlow graph

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "CalculatePriceNewSaleRequest",
  "properties": {
    "listPricebookId": {
      "type": "string"
    },
    "pricingFlow": {
      "type": "string"
    },
    "graph": {
      "type": "object",
      "properties": {
        "graphId": {
          "type": "string"
        },
        "records": {
          "type": "array",
          "description": "",
          "items": {
            "type": "object",
            "properties": {
              "referenceId": {
                "type": "string"
              },
              "record": {
                "type": "object",
                "properties": {
                  "attributes": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "type"
                    ]
                  },
                  "CurrencyIsoCode": {
                    "type": "string"
                  },
                  "SalesTransactionShapeId": {
                    "type": "string"
                  },
                  "StartDate": {
                    "type": "string"
                  },
                  "ProductId": {
                    "type": "string"
                  },
                  "ProductSellingModelId": {
                    "type": "string"
                  },
                  "Quantity": {
                    "type": "number"
                  },
                  "PricingTransactionType": {
                    "type": "string"
                  },
                  "EndDate": {
                    "type": "string"
                  }
                },
                "required": [
                  "attributes",
                  "CurrencyIsoCode"
                ]
              }
            },
            "required": [
              "referenceId",
              "record"
            ]
          }
        }
      },
      "required": [
        "graphId",
        "records"
      ]
    }
  },
  "required": [
    "listPricebookId",
    "pricingFlow",
    "graph"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}