cancel
Showing results for 
Search instead for 
Did you mean: 

occ v2 rest service for getting suggestions

Former Member
0 Kudos

Hi Team, i am trying to get suggestions of occ v2 web service.i am using this url for getting suggestions https://localhost:9302/rest/v2/apparel-uk/products/suggestions?query=shir but in the response i am not getting 200 Ok message only.i am not getting any suggestions please suggest me on this what needs to be done.thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member747843
Active Participant
0 Kudos

Hi
You should use 'term' parameter. There is no 'query' parameter in this endpoint : https://help.hybris.com/6.1.0/api/ycommercewebservices/main.html#
This should work : https://localhost:9302/rest/v2/apparel-uk/products/suggestions?term=shir

Former Member
0 Kudos

Hi, Thanks for you reply.it is working.

Former Member
0 Kudos

Hi Kinga, can you suggest me how to get each subcategory count of particular category.it will be help full if you can provide the solution.

Former Member
0 Kudos

Hi Kinga, please suggest me occ v2 service for getting the products of the particular category.thanks in advance