OrangeCompany decided to build a REST API based module in the application so that he can share
the details of best - selling products to his franchisee. To make it's flexible and customizable in the
future, he advised his developers to enable the support of extension_attribute in the API interface so
that any new attributes can be added when required. What is the way to enable the entity/interface
to support extension attributes in the module?
Question No 2
Suppose in the product rest API in Magento, you added a new attribute. But this attribute can be
accessed by API consumers only when they have access permission. How do you create the
attributes following the above condition:
Question No 3
A merchant wants to send email notifications to those customers after a week who placed the order
but didn't pay. Suppose email content is almost similar to the default order email template content
with some additional text, so you decided to use the same but in a new custom template. How you
pass the order object to the email template so that it will render the all data of default template?
Question No 4
A furniture merchant have 100k products in the store. In a custom product list page, he advised you
to enable the caching as per user paginate the products. So what should the approach to cache the
block data as per pagination request:
Question No 5
Suppose you are asked to disable/remove the customer review related functionalities. You can not
disable the review module directly because the customer module depends on it. What is the possible
way to remove all HTML outputs of the review module, from the frontend and backend? :