Salesforce · JSON Structure

Salesforce Create Order With Bundle Request Structure

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

CreateOrderWithBundleRequest 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

allOrNone compositeRequest

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "CreateOrderWithBundleRequest",
  "properties": {
    "allOrNone": {
      "type": "boolean"
    },
    "compositeRequest": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "method": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "referenceId": {
            "type": "string"
          },
          "body": {
            "type": "object",
            "properties": {
              "AccountId": {
                "type": "string"
              },
              "EffectiveDate": {
                "type": "string"
              },
              "Pricebook2Id": {
                "type": "string"
              },
              "BillToContactId": {
                "type": "string"
              },
              "Status": {
                "type": "string"
              },
              "AppUsageType": {
                "type": "string"
              },
              "RecordId": {
                "type": "string"
              },
              "OrderId": {
                "type": "string"
              },
              "Type": {
                "type": "string"
              },
              "OrderActionId": {
                "type": "string"
              },
              "PricebookEntryId": {
                "type": "string"
              },
              "ServiceDate": {
                "type": "string"
              },
              "Quantity": {
                "type": "integer"
              },
              "UnitPrice": {
                "type": "integer"
              },
              "NetUnitPrice": {
                "type": "integer"
              },
              "TotalLineAmount": {
                "type": "integer"
              },
              "PeriodBoundary": {
                "type": "string"
              },
              "BillingFrequency2": {
                "type": "string"
              },
              "ProductRelationshipTypeId": {
                "type": "string"
              },
              "MainOrderItemId": {
                "type": "string"
              },
              "AssociatedOrderItemId": {
                "type": "string"
              },
              "AssociatedOrderItemPricing": {
                "type": "string"
              },
              "AssociatedQuantScaleMethod": {
                "type": "string"
              }
            }
          }
        },
        "required": [
          "method",
          "url",
          "referenceId",
          "body"
        ]
      }
    }
  },
  "required": [
    "allOrNone",
    "compositeRequest"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}