Loading
Communications Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Add Offer Configuration Invocable Action

          Add Offer Configuration Invocable Action

          Use this action to add Quote Members and Quote Groups to a Working Cart, with support for both synchronous and asynchronous processing. For example, build agents that batch-process thousands of employee records into a cart without hitting system timeout limits.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions

          Input Values

          Parameter Description Data Type
          salesQuoteId The ID of the sales quote. String
          workingCartId The ID of the working cart. String
          memberIds A list of quote member IDs. List of String
          shouldCheckAsyncJobStatus A Boolean value that indicates whether to check for running asynchronous jobs before adding members. Boolean
          quoteGroupDetails The details of the quote group, including the ID and the group size. String
          batchSize The batch size assigned for processing. String
          quoteMemberBatchData A JSON string containing the quote member batch data. For example, "{}" for an empty object. String
          isAsyncProcessing A Boolean value that indicates whether processing is asynchronous. Boolean

          Output Values

          Parameter Description Data Type
          successMessage The message returned when the operation is successful. String
          addMembersJobId The ID of the asynchronous job created. String
          errorMessage A message explaining why the operation failed. String

          Example

          JSON Request

          {
            "inputs": [
              {
                "workingCartId": "0Q0ak000001d1i1CAA",
                "quoteId": "0Q0ak000001UhWnCAK",
                "asyncProcessing": true,
                "checkAsyncJobStatus": true,
                "batchSize": 1,
                "memberIds": [
                  { "Id": "a5X3h000000vACv" },
                  { "Id": "a5X3h000000vAD0" }
                ],
                "quoteGroupIds": [
                  { "Id": "a3aak000000eoEDAAY", "GroupSize": 2 }
                ],
                "qmbData": "{}"
              }
            ]
          }
          

          JSON Response Body

          [
            {
              "actionName": "devops001gs0__B2BCmexOfferConfigInvocable",
              "errors": null,
              "invocationId": null,
              "isSuccess": true,
              "outcome": null,
              "outputValues": {
                "message": "Successfully submitted offer configuration request",
                "addToMemberJobId": "a1B3h000000xyz123",
                "error": null
              },
              "sortOrder": 0,
              "version": 1
            }
          ]
          
           
          Loading
          Salesforce Help | Article