How to query click and cart conversion via API?

  • Is there an API for querying click conversion and add to cart conversion

Unfortunately it looks like the visit data API has been removed (https://shopify.dev/api/admin/rest/reference/analytics/report), however you could easily add in something like Google Analytics and then read the data from here. It will track these types of things out of the box.