An Adobe Commerce developer is tasked with adding custom data to orders fetched from the API While keeping best practices in mind, how would the developer achieve this?

An Adobe Commerce developer is tasked with adding custom data to orders fetched from the API While keeping best practices in mind, how would the developer achieve this?
A . Create an extension attribute on MagentoSelesApiDataOrderInterface and an after plugin on MagentoSalesModelOrder: :getExtensionAttributes() to add the custom data.
B . Create a before plugin on MagentoSalesModelResourceModeOrderCollection:: load and alter the query to fetch the additional data. Data will then be automatically added to the items fetched from the AP
D . Create an extension attribute on MagentoSalesApIDataOrderinterface and an after plugin on MagentosalesApiorderRespositoryinterface on get() and getlist () to add the custom data.

Answer: A

Latest AD0-E709 Dumps Valid Version with 135 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments