The WordPress application I am currently working on is using WooCommerce as well as Tabify.
Most of the fields are defined as Custom Fields which I am able to get by adding filter[meta]=true
in the query but there are two Status
and Region
which have been defined as Custom Taxonomies.
I have been looking for a way to get these data with the Rest API but with no luck so far.
Can anyone point me in the right direction?
I figured it out in the end. Maybe it’s not the most practical solution and it will have to be reapplied every time I update the WooCommerce plugin but just update the product API like this
Now I just access region[0] and status[0] from the response and do whatever I need to do with it.