REST API updates not visible
-
I’m using this plugin with WooCommerce and it works well except when we’re updating/creating products through the REST API.
If I’m changing the post (product) title with a PUT request (wc/v3/products), then the post is updated and I can see the new title in the frontend.
But if I’m changing only the post image with a PUT request, then the image will not be visible.
It works if I’m updating the product in the admin.
The same problem occurs when I’m creating a product with the REST API (POST /wc/v3/products/*). It doesn’t show up in the frontend until I’m updating the product in the admin.
Any solution for this?
I guess it can be some action hooks that are not triggered when the REST API is used for updating the data?
- The topic ‘REST API updates not visible’ is closed to new replies.