A Digital Developer needs to add logging to the following code:
Which statement logs the HTTP status code to a debug-level custom log file?
A Digital Developer needs to add logging to the following code:
Which statement logs the HTTP status code to a debug-level custom log file?
Given a file in a plug-in cartridge with the following code:
'use strict':
Var base = module.superModule;
Function applyCustomCache (req,res,next){
res.CachePeriod = 6; //eslint-disable-line no-param-reassign
res.cachePeriodUnit = 'hours') //eslint-disable-line no-param-reassign
next();
}
Module.exports = base;
Module.exports.applyCustomCache = applyCustomCache;
What does this code extend?
A Digital Developer extends a system object, Product, and adds a Boolean attribute, "sellable," to it. Assuming
"prod" is the variable name handling the product, what code can the Developer use to access it?
A Digital Developer needs to check for product inventory in a specific inventory list using the Open Commerce API.
An example request URL is:
Which resource_id value enables the appropriate resource?
Enter your email address to download Salesforce.B2C-Commerce-Developer.v2022-10-31.q122 Dumps