Exam AD0-E724 Topic 1 Question 103 Discussion

Actual exam question for Adobe's AD0-E724 exam
Question #: 103
Topic #: 1
An Adobe Commerce developer was asked to provide additional information on a quote. When getting several quotes, the extension attributes are returned, however, when getting a single quote it fails to be returned.
What is one reason the extension attributes are missing?

Suggested Answer: B Vote an answer

In Adobe Commerce, to retrieve custom extension attributes on an entity such as a quote, you need to ensure that these attributes are properly loaded when accessing the entity directly via repository interfaces. When fetching a single quote, it is essential to use a plugin on CartRepositoryInterface::get to include the extension attributes as this method is responsible for loading individual quote data.
If the plugin is missing for the get method, the extension attributes won't be loaded for single quote retrieval, leading to their absence in the result.
Additional Resources:
* Adobe Commerce Developer Guide: Extension Attributes
* Magento 2 Repositories and Plugins

by Gregary at Mar 20, 2026, 03:47 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10