You are here:
SDK for Enterprise Sales Management (Managed Services)
The Enterprise Sales Management Software Development Toolkit (SDK) is a JavaScript library that abstracts and simplifies the use of Enterprise Sales Management, Cart-Based, and Digital Commerce APIs.
This feature is part of the Communications Cloud managed package.
The SDK improves usability and reduces the effort to develop compelling user interfaces by hiding complex API semantics inside the SDK interface. In some cases, the SDK invokes more than one API call (as required by some APIs) to complete a request. The SDK ensures that errors are detected before API calls are made so that data structure rules are followed. The SDK consolidates common application and business front-end logic that is used by Enterprise Sales Management Lightning Web Components.
Salesforce recommends that you do not call the Enterprise Sales Management APIs directly and instead use the Enterprise Sales Management SDK. Enterprise Sales Management API documentation is available for your reference so that you can understand the data that is included in various calls.
The SDK supports Node.js module delivery. Each module has its own context, cannot interfere with other modules, or interfere with global scope.
Enterprise Sales Management UI Components
The UI Components diagram shows the relationship of the SDK to the UI components, APIs, and Integration Procedures.
ViewObject Model
The ViewObject model translates the JSON response from APIs for use with Enterprise Sales Management Lightning Web Components. It describes how the SDK will retrieve data from the API, translate it, and then update data for viewing in the UI. It helps to render the UI by using variables that represent ViewObjects for use in HTML templates.

