Salesforce Certified Industries CPQ Developer — Question 13
When adding products to the Cart, the developer notices that nothing renders in the cart. The developer uses the browser console network tab to troubleshoot the issue.
Which method should the developer look for in the responses to begin troubleshooting?
Answer options
- A. getCartsItems
- B. createCart
- C. getBasketDetails
- D. postCartsItems
Correct answer: D
Explanation
The correct method to look for is 'postCartsItems' because it is responsible for adding items to the cart. The other options, such as 'getCartsItems' and 'getBasketDetails', are used for retrieving data rather than posting changes, and 'createCart' is for creating a new cart, not adding items to an existing one.