bagisto / rest-api

20 stars 21 forks source link

Get product review list added by customer - Using Bagisto Store Front Rest API #261

Open rohit-ghoghari opened 2 months ago

rohit-ghoghari commented 2 months ago

Is your feature request related to a problem? Please describe.

We have REST API for adding reviews in products but when I check we don't have REST API to get a list of reviewers list.

Describe the solution you'd like

We need to create one GET REST API to receive all product review lists.

Describe alternatives you've considered

No response

Additional context

No response

amit-webkul commented 1 month ago

I have checked and found that this API is already in our swagger with the name CustomerReviews. I have added a screenshot for a reference:

product-review-shop

rohit-ghoghari commented 1 month ago

Dear Amit, Thanks for your response.

I need reviews of by products not by customers. In headless development, I need all reviews of selected product by its Id. Right now API is providing Reviews of selected customer.

amit-webkul commented 1 month ago

Hello @rohit-ghoghari,

I hope this message finds you well.

Regarding your request to view all reviews by product ID, I have investigated and found that this feature is currently unavailable. At present, we can only store reviews by product ID. I have attached an image to illustrate this Link.

To address this issue, I will create a new pull request to implement the functionality for retrieving all reviews by product ID. I will share the details with you once it is completed.

Thank you for bringing this to our attention.

Best regards,

rohit-ghoghari commented 1 month ago

Okay Amit,

I can help you with this if you will allow me. I will create new pull request for this enhancement and you only need to merge it.

Thanks

amit-webkul commented 1 month ago

Okay Amit,

I can help you with this if you will allow me. I will create new pull request for this enhancement and you only need to merge it.

Thanks

Yes you can proceed with PR. Just make sure to follow all the coding standard and code quality.

We will be glad if you can contribute to Bagitso rest API.

Thanks

rohit-ghoghari commented 1 month ago

Hello Amit,

I have sent a pull request for product review REST API enhancement.

Request link

Please review.

Thanks