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

Request body

indicesinteger[] required
value0 | 1 required

Example request

{
  "indices": [
    12,
    18
  ],
  "value": 1
}

Response

Products updated.

Changes

No recorded changes to this operation across all 8 revisions of this API.