How do I avoid caching API endpoints for Autoship Cloud?

With some caching plugins (for example: W3 Total Cache) you may need to adjust the caching settings in order for your site to integrate successfully with API's (WooCommerce REST API, QPilot API, etc.). 

If you have installed a caching plugin and see errors within your site's API Health Check (WP-Admin > Autoship Cloud > Settings), you may need to avoid caching the wc-autoshipcloud endpoint. 

In the following example, we'll ensure that the wc-autoshipcloud endpoint is included in W3 Total Cache's "Never cache..." settings.

Add API endpoints to "never-cache" list

In this screenshot example, the endpoints for wc-autoshipcloud (the Autoship Cloud endpoint) and wp-json (the WooCommerce REST API endpoint) are added to the "never cache" settings.

Still need help? Contact Us Contact Us