WP Manifestindependent plugin directory
manifest / ecommerce / wc-product-audit-api

WooCommerce Product Audit API

Lightweight WooCommerce REST API for auditing missing product data

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/maryamdavoodinezhad/wc-product-audit-api/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WooCommerce Product Audit API A lightweight Custom REST API endpoint for WooCommerce that identifies published products missing featured images or valid prices.

🚀 Quick Start Place the plugin folder in wp-content/plugins/wc-product-audit-api.

Activate via WordPress Admin > Plugins.

Call the API using Basic Auth (Application Password) or logged-in admin credentials.

📡 Endpoint GET /wp-json/wc-audit/v1/products

Query Parameters type (optional): all_issues (default), no_image, no_price

limit (optional): Number of products to inspect (default: 50)

📄 Example Response { "status": "success", "total_issues_found": 1, "filter_type": "all_issues", "data": [ { "id": 22, "title": "Hioki Earth Tester Model FT6031-50", "sku": "", "has_image": false, "has_price": false, "issues": ["no_image", "no_price"], "edit_link": "http://localhost/iranmdt/wp-admin/post.php?post=22&action=edit", "view_link": "http://localhost/iranmdt/product/hioki-earth-tester-model-ft6031-50/" } ] }

🔒 Security Access requires edit_products capabilities via permission_callback.