API for WC Plugins