Skip to main content

Update single or multiple records

Update multiple records

API update

Example Request

{
"method": "smartPanda.mdh.brand.update",
"params": {
"filters": [
{
"field": "id",
"operator": "in",
"value": [
1,
2,
3
]
}
],
"data": {
"disabled": 1
}
}
}

Example Response

{
"count": 1
}

Returns an object containing the count attribute, indicating the number of rows affected.

Note: supported in >=3.0.0