woocommerce / woocommerce-rest-api

This is the WooCommerce core REST API Package. It runs standalone as a feature plugin too.
71 stars 46 forks source link

How to display products only on rest api not on the website #278

Open dieptang opened 2 years ago

dieptang commented 2 years ago

My app should show the products with 'pending' status, not showing on the website. My products by default have one of 3 status: publish, draft and pending. My idea that set the product to pending status and from the rest api, it will show only the status: publish or pending. How can I do that? Many thanks