List of questions
Related questions
Question 22 - AD0-E722 discussion
An Architect needs to integrate an Adobe Commerce store with a new Shipping Carrier. Cart data is sent to the Shipping Carrier's API to retrieve the price and display to the customer. After the feature is implemented on the store, the API hits its quota and returns the error 'Too many requests'. The Shipping Carrier warns the store about sending too many requests with the same content to the API.
In the carrier model, what should the Architect change to fix the problem?
A.
ln_doShipmentRequest()f call canCollectRates() before sending request to the API.
B.
Override getResponse, save the response to a variable, check if the response exists, then return.
C.
Implement _setCachedQuotes() and _getCachedQuotes(), return the data if the request matches.
Your answer:
0 comments
Sorted by
Leave a comment first