How to set a custom field in a WP Order using the new V1 API
-
We are using the latest WP/WC and need to set a custom field in an order via the new
(/wp-json/wc/v1/) API.The doc is very unclear on how to do this.
We are using vb.net but any example or guidance would be helpful.
Have tried this jsons
{“order”: {“order_meta”: {“cfname”:”test”}}}
and
{“order_meta”: {“cfname”:”test”}}
with URL
https://shop.domain.com/wp-json/wc/v1/orders/3520?oauth_consumer_key…Can anyone help?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to set a custom field in a WP Order using the new V1 API’ is closed to new replies.