To enable woocommerce rest api and connect to another service, we have to follow the steps

  1. Open nginx config file
  2. Edit like
        location / {
                #try_files $uri $uri/ =404;
		try_files $uri $uri/ /index.php?$args;

3. For the service like cloudflare we need to whit list the connecting service. For integreting klaviyo

Whitelisting the user agent “Klaviyo/1.0“, which is a header that is present on all of our requests, which are required for successful connection.

By toihid