Magento 2 API: How do I list products as a customer or anonymous user -
i'm build mobile app uses magento 2 rest api. in can add products cart , complete order. seems me cant list products or categories customer or guest user. admin can that. error get
{ "message": "consumer not authorized access %resources", "parameters": { "resources": "magento_catalog::categories" } }
is there way can use "/v1/products" api customer or guest?
i guess other option have build own customer api lists products/categories anonymous users.
there specific settings allow anonymous user access hidden rest api endpoints:
configuration > services > magento web api > web api security. select yes allow anonymous guest access menu.
reference: http://devdocs.magento.com/guides/v2.0/rest/anonymous-api-security.html
Comments
Post a Comment