Salesforce · JSON Structure

Salesforce Createor Update Quote Request Structure

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

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

Properties

pricingPref graph

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "CreateorUpdateQuoteRequest",
  "properties": {
    "pricingPref": {
      "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"
                      },
                      "method": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "type",
                      "method"
                    ]
                  },
                  "Name": {
                    "type": "string"
                  },
                  "Pricebook2Id": {
                    "type": "string"
                  },
                  "QuoteId": {
                    "type": "string"
                  },
                  "PricebookEntryId": {
                    "type": "string"
                  },
                  "Product2Id": {
                    "type": "string"
                  },
                  "Quantity": {
                    "type": "number"
                  },
                  "UnitPrice": {
                    "type": "number"
                  },
                  "PeriodBoundary": {
                    "type": "string"
                  },
                  "BillingFrequency": {
                    "type": "string"
                  },
                  "StartDate": {
                    "type": "string"
                  },
                  "EndDate": {
                    "type": "string"
                  },
                  "PeriodBoundaryDay": {
                    "type": "integer"
                  }
                },
                "required": [
                  "attributes"
                ]
              }
            },
            "required": [
              "referenceId",
              "record"
            ]
          }
        }
      },
      "required": [
        "graphId",
        "records"
      ]
    }
  },
  "required": [
    "pricingPref",
    "graph"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}