• Add code in functions.php add_action('rest_api_init', function () {     register_rest_route('wc/v3', '/products/last-update', array(         'methods' => 'GET',...