Which conversion flag allows for sObjects to be returned from the Global API’s when provided as a Boolean parameter with a value of true?

Numerous flags when set, have a direct impact on the result set provided by the Global API’s.

Which conversion flag allows for sObjects to be returned from the Global API’s when provided as a Boolean parameter with a value of true?
A . ccrz.ccAPISizing.SKIPTRZ
B . ccrz.ccAPISizing.SOBJECT
C . ccrz.ccAPI.SZ_SKIPTRZ
D . ccrz.ccAPI.SZ_SOBJECT

Answer: D

Explanation:

The conversion flag that allows for sObjects to be returned from the Global API’s when provided as a Boolean parameter with a value of true is ccrz.ccAPI.SZ_SOBJECT. This flag indicates that the API should return the raw sObjects instead of the transformed objects that are usually returned by the API.

For example, ccrz.ccServiceProduct.getProducts(ccrz.ccAPI.SZ_SOBJECT,true) will return the Product2 sObjects instead of the ccrz__E_Product__c objects.

Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Data Sizing Conventions

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments