Admin Catalog: Products
Mass delete catalog products
Deletes a batch of products. Non-existent IDs are silently skipped. If any single delete throws an exception, the endpoint returns 500 with the underlying message — matching the Bagisto monolith ProductController::massDestroy behaviour.
post/catalog/products/mass-delete
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"indices": [
12,
18
]
}Response
Products deleted.
Changes
No recorded changes to this operation across all 8 revisions of this API.