Remove meta_data from Woocommerece order API
-
This woocommerece API
/wp-json/wc/v3/ordersreturns all the orders data. However since I’m storing some images in the orders as base64 i’m getting the below response:... "meta_data": [ { "id": 32737, "key": "image_1", "value": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABIUAAAJbCAYAAAB6...." } ], ...Having multiple images is causing the API endpoint to timeout, and I don’t need to have the images returned back in the orders API call. How can I return the orders without the
meta_datakey? Or for filter themeta_datato remove all data that hasimage_*as key.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Remove meta_data from Woocommerece order API’ is closed to new replies.