How to edit wp json rest api response for product?

  php, wordpress, wordpress-rest-api

Currently I am using wp-json rest API (wp-json/wc/v3/). I want to get all products with thumbnail/featured image. Current API gives list of images but not featured/thumbnail image.

I am using this API to get products :

I am getting all products with their info but not getting thumbnail/featured image. So how to edit this response to add thumbnail image ?

I have seen many blog/article but none of them provide any proper information. Also i do not want to use any plugin for that.

Source: Ask PHP