• Resolved nemaudio

    (@nemaudio)


    Is there any documentation available for the Breeze API Integration? CS has nothing available.

    5. API Integration — You can enable API Integration using this option. This unlocks advanced functionality, allowing you to seamlessly interact with Breeze through the WordPress API. With the ability to enable the Breeze API endpoint, you can now easily purge cache via Rest API On Demand. This integration empowers your workflows, making tasks such as updating or adding new posts and products through the WordPress Rest API a smooth and efficient part of your site management experience.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author owaisalam

    (@owaisalam)

    Enable the Breeze API endpoint to purge the cache via REST API on-demand. This functionality can be integrated with your workflows, such as when updating or adding new posts or products through the WordPress REST API.

    To clear the cache using the Breeze API, you can use the following commands:

    Without Key Authentication
    https://your-domain-test.com/wp-json/breeze/v1/clear-all-cache

    With Key Authentication
    https://your-domain-test.com/wp-json/breeze/v1/clear-all-cache?key=QPmdD1LjFZ5c(Replace with your own key)

    For WooCommerce Product

    https://your-domain-test.com/wp-json/wc/v3/products/246(Replace product_id)

    These commands allow you to clear the cache for your WordPress site and specific WooCommerce products using the Breeze API.

    • This reply was modified 1 month, 1 week ago by owaisalam.
    Thread Starter nemaudio

    (@nemaudio)

    Hello owaisalam:

    I’m not sure this is working properly for us. I’ve tried the on several sites we host at Cloudways and I get the same response on all of them:

    {“code”:”rest_no_route”,”message”:”No route was found matching the URL and request method.”,”data”:{“status”:404}}

    Regards,
    Neil

    Plugin Author owaisalam

    (@owaisalam)

    Noticed that you are trying to make a request through the browser. However, please note that our API only recognizes POST requests, which cannot be executed directly from a browser address bar, as browsers typically send GET requests when accessing URLs.

    To properly test or interact with our API, recommend using a tool like Postman (available both online and as a desktop application) or any other API testing platform that allows you to configure request methods, headers, and payloads.

    Thread Starter nemaudio

    (@nemaudio)

    Hello owaisalam:

    We’ve got this working now. Thanks for your assistance.

    Plugin Author owaisalam

    (@owaisalam)

    That’s great! We are here to assist you. If you have any confusion, please feel free to ask.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.