How can I clear the Magento 2 page cache using REST API after updating the product quantity from 0 to 10?


It seems like there is no way to do it directly. Check the swagger and you 'll see it. However, there are other actions that can trigger cache refresh, for example, creating a category. I am not sure. It is only an idea.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.