Delete products
Product Catalog
Delete products
Delete products by their external IDs. This endpoint only deletes products.
POST
Delete products
Overview
Delete specific products from a product block using their external IDs. This endpoint removes only the products you specify, leaving all others unchanged.Use Cases
- Remove Discontinued Products: Delete products no longer available
- Inventory Cleanup: Remove out-of-stock items
- Bulk Delete: Remove multiple products at once
- Selective Removal: Delete specific products without affecting catalog
Authentication
Path Parameters
Request Body
Array of objects with external IDs (minimum 1):Example Request
Example Response
Error Responses
Related Endpoints
- POST /api/public/product/create/ - Create products
- POST /api/public/product/upsert/ - Full sync
- GET /api/public/product/product-blocks - List blocks
Headers
API key needed to authorize the request
Path Parameters
The prompt block ID from which to delete the products
Body
application/json
The payload with external IDs of products to delete
Minimum array length:
1External ID of product to delete
Minimum string length:
1Response
Products deleted successfully.
