Salesforce · Schema

CalculatePriceNewSaleRequest

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
listPricebookId string
pricingFlow string
graph object
View JSON Schema on GitHub

JSON Schema

salesforce-calculate-price-new-sale-request-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "listPricebookId": {
      "type": "string",
      "example": "500123"
    },
    "pricingFlow": {
      "type": "string",
      "example": "example_value"
    },
    "graph": {
      "type": "object",
      "properties": {
        "graphId": {
          "type": "string",
          "example": "500123"
        },
        "records": {
          "type": "array",
          "description": "",
          "example": [],
          "items": {
            "type": "object",
            "properties": {
              "referenceId": {
                "type": "string",
                "example": "500123"
              },
              "record": {
                "type": "object",
                "properties": {
                  "attributes": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "type"
                    ]
                  },
                  "CurrencyIsoCode": {
                    "type": "string",
                    "example": "example_value"
                  },
                  "SalesTransactionShapeId": {
                    "type": "string",
                    "example": "500123"
                  },
                  "StartDate": {
                    "type": "string",
                    "example": "example_value"
                  },
                  "ProductId": {
                    "type": "string",
                    "example": "500123"
                  },
                  "ProductSellingModelId": {
                    "type": "string",
                    "example": "500123"
                  },
                  "Quantity": {
                    "type": "number",
                    "example": 42.5
                  },
                  "PricingTransactionType": {
                    "type": "string",
                    "example": "example_value"
                  },
                  "EndDate": {
                    "type": "string",
                    "example": "example_value"
                  }
                },
                "required": [
                  "attributes",
                  "CurrencyIsoCode"
                ]
              }
            },
            "required": [
              "referenceId",
              "record"
            ]
          }
        }
      },
      "required": [
        "graphId",
        "records"
      ]
    }
  },
  "required": [
    "listPricebookId",
    "pricingFlow",
    "graph"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CalculatePriceNewSaleRequest"
}