Home › Forums › ACF PRO › Update WooCommerce product category custom fields using REST API › Reply To: Update WooCommerce product category custom fields using REST API
it seems that this end point is not editable:
/wp-json/acf/v3/{taxonomy}/{id}
The end point I tried to use is:
https://mysite.com/wp-json/acf/v3/categories/123
(Is there a specific end-point for woocommerce categories for example like: https://mysite.com/wp-json/acf/v3/product/categories/123 ???)
If I make a GET call of the url (https://mysite.com/wp-json/acf/v3/categories/123), the response is:
{“acf”:{“title_01″:”My title”,”text_01″:”My text”,}}
With POST or PUT call the response is:
{“code”:”cant_update_item”,”message”:”Cannot update item”,”data”:{“status”:500}}
My WP version is: 5.3.2
My Advanced Custom Fields PRO version is 5.8.8
Please help…..
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.