@haylee.mertz
To get the order_meta node in the WooCommerce API, you would need to make a request to the WooCommerce API endpoint for orders and specify the order ID for which you want to retrieve the meta data.
Here is an example of how you can get the order_meta node in WooCommerce API:
1
|
GET /wp-json/wc/v3/orders/<order_id> |
Here is an example of how the order_meta node may look like in the API response:
1 2 3 4 5 6 7 |
"meta_data": [ { "id": 1, "key": "custom_field", "value": "Custom value" } ] |
In this example, the order_meta node includes a custom field with the key 'custom_field' and the value 'Custom value'.
By following these steps, you can get the order_meta node in the WooCommerce API.