Update product status - celdotro/marketplace GitHub Wiki
- Update product's status
celmarket\Products\ProductsUpdate
updateStatus
- method: products
- action: updateStatus
- model = product's model
- status = product's status
An object with the following attributes
- status = 1 -> operation was successfully executed
https://github.com/celdotro/marketplace_examples/blob/master/Products/16.updateStatus.php
{
"request": {
"model": "X",
"status": 1
},
"response": {
"status": 1
}
}