Delete Featured By Id
DELETE /v2/product/featured/:id/items
Removes specific items from a featured record by providing the featured record ID and a list of item identifiers to delete. This endpoint permanently removes the specified items from the featured items array while preserving the record itself. Returns a success message confirming the deletion operation.
Request Body
{
"items": [
"abb74f27-d308-4b04-8d16-cb56fb24e38e",
"6ff033b8-9ed0-4e02-a9db-a1434a567496"
]
}
Response Example Success
{
"message": "Featured items deleted successfully"
}
Response Example Error
{
"error": "No record found for the provided id: 6822f76f16919b80ca161e6e"
}