Wordpress Code snippet to expose a Woocommerce Endpoint "Order-Items"
Budget: $10 – $30 AUD
Need assistance from an experienced Rest API developer who can write a generic snippet that can create a route that exposes all the meta_data from an order-item (line_items) in a Woocommerce order. So a call of:
https://mywebsite.local/wp-json/wc/v3/order-item/86
will produce a JSON object with all the information from the meta_data key of the order item 86.
https://mywebsite.local/wp-json/wc/v3/order-item/86
will produce a JSON object with all the information from the meta_data key of the order item 86.