Skip to main content

Batch Deactivate Products

PUT /v2/product/batch/deactivate

Deactivates multiple products simultaneously by providing their unique identifiers. This endpoint updates the status of each specified product to inactive, removing them from purchase and display. Returns a summary of the deactivation operation.

Request Body

{
"ids": ["{{product_group_id}}"]
}

Response Example

{
"message": "Products deactivated successfully",
"deactivatedCount": 3,
"errors": []
}