I am using woocommerce rest api for my mobile app. Now, on order page i am showing product name and other details, here i want to show product image also. How can i. I have tried multiple array combinations but it is in vain.
I want to add image in "line_items " array
I am using version: 'wc/v2' for rest api.
What I have tried:
Tried to edit class-wc-rest-orders-controller.php file but don't know where the array is populating.