Which two different types of services do Salesforce B2B

Which two different types of services do Salesforce B2B
A . Commerce APIs leverage? (2 answers) A) Logic services which are responsible for implementing business logic associated with entities.
B . Global services which are responsible for querying and transforming data from entities
C . Data services which are responsible for querying and transforming data from entities
D . Hook services which are extension points for subscribers to tie into.

Answer: A,C

Explanation:

Two different types of services that Salesforce B2B Commerce APIs leverage are:

Logic services which are responsible for implementing business logic associated with entities. These services are defined in the logic classes, such as ccrz.ccLogicCart, ccrz.ccLogicOrder, or ccrz.ccLogicProduct. These classes provide methods for validating inputs, performing calculations, applying rules, or updating data for each entity.

Data services which are responsible for querying and transforming data from entities. These services are defined in the service classes, such as ccrz.ccServiceCart, ccrz.ccServiceOrder, or ccrz.ccServiceProduct. These classes provide methods for creating, reading, updating, and deleting data for each entity.

Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Service Classes, Logic Classes

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments