All Questions
1 question
0
votes
1
answer
522
views
Magento 2.3 How to convert JSON response array to array of same type object REST API
I have created a custom api to get review and rating summary:
public function getRatingSummary($productId)
{
$result =[];
$product = $this->_productRepository->getById($productId)...