Loading
Feature degradation | Gmail Email delivery failureRead More
Get Started with Communications, Media, and Energy & Utilities (CME)...
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
          Order Accepted Example for Order Management Integration Layer

          Order Accepted Example for Order Management Integration Layer

          This notification is sent when a supplemental order is created and submitted, and the order management system processes the fulfillment of the supplemental order. During fulfillment, the order management system might determine that the supplemental order can be successfully processed The previous order was successfully frozen and the supplemental order is now being fulfilled. In such cases, the order management system sends an Order Accepted notification message.

          The optional fields container stores any data that must be updated to the Order record.

          [
            {
              "orderId": "8011U000000Tq0H",
              "state": "Accepted"
            }
          ]

          The following Apex code example shows how to invoke the Order Accepted notification:

          Map<String, Object> orderInputMap = (Map<String, Object>) JSON.deserializeUntyped('{\"orderId\": \"8013i000000qvWhAAI\",\"state\": \"Accepted\",\"fields\": {\"JeopardyStatus__c\": \"Green\"}}');
          OdinService.notify(new List<Object> { orderInputMap });
           
          Loading
          Salesforce Help | Article