Creating woocommerce product using WordPress REST API
The new api’s documentation can be found here Woocommerce Rest API And you can create a Woocommerce product by posting data to the wp-json endpoint /wp-json/wc/v1/products (Documentation Here) $data = [ ‘name’ => ‘Premium Quality’, ‘type’ => ‘simple’, ‘regular_price’ => ‘21.99’, ‘description’ => ‘Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis … Read more