Admin Catalog: Products
Mass update catalog product status
Sets the status of a batch of products to the given value (0 or 1). Mirrors Bagisto monolith ProductController::massUpdate — best-effort, fires catalog.product.update.{before,after} per ID.
post/catalog/products/mass-update-status
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
],
"value": 1
}Response
Products updated.
Changes
No recorded changes to this operation across all 8 revisions of this API.