Notifications
Clear all
Topic starter
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?
- A . New attributes must be created as custom_attribute to restrict the access using ACL
B. New attribute must be created as extension_attribute to restrict the access using ACL
C. We can’t create access permission for REST API, it’s only applicable for entity and repository.
D. New attributes must be created by extending the product API interface, to restrict access using ACL.
Suggested Answer: B
Posted : 13/01/2023 11:27 am