2

We have created a catalog price rule for a group of customers. The discounted prices are showing fine on website for these customers.

However, these discounted prices are not showing up when we search products or get category listings via Magento's default api calls.

How can we get these prices? Do we need to customize?

Thanks

  • are you using rest api or custom build one? – John Oct 17 '18 at 11:30
  • its default rest api – mskhan Oct 17 '18 at 12:07
  • that's because you haven't set the customer group id while making rest api request for search products or catalog listing. set customer group id as per customer status and you will get discounted price as set for that group of customer. – John Oct 17 '18 at 12:19
  • @John thanks. But then do I need to use customer token or same admin token would work? – mskhan Oct 17 '18 at 12:25
  • yes you need current customer token, admin token is out of scope for this scenario. – John Oct 17 '18 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.