Actions15
Product → Delete
AI-generatedSummary
Delete a specific WooCommerce product identified by Product ID from the connected store.
Inputs
- Store URL (required) — The full URL of your WooCommerce store (e.g., https://your-store.com).
- Consumer Key (required) — Your WooCommerce API consumer key for authentication.
- Consumer Secret (required) — Your WooCommerce API consumer secret for authentication.
- Product ID (required) — The ID of the product to delete.
Output shape
a single record
Returns the deleted product data as a JSON object. The deletion uses a 'force' parameter to permanently delete the product without sending it to trash.
Examples
Example 1: Delete product with ID 101 from a WooCommerce store
Provide the Store URL, Consumer Key, Consumer Secret, and specify productId as '101'. Upon execution, the node calls the WooCommerce API to permanently remove the product with ID 101 from the store.