List bonus - celdotro/marketplace GitHub Wiki
- Gets a product's bonuses
celmarket\Products\ProductsBonus
getBonus
- method: products
- action: getBonus
- model = product's model
An object with the following attributes
- (array) = bonuses
- (array element) = bonus -> array
- products_name = product's name
- products_model = product's model
- (array element) = bonus -> array
https://github.com/celdotro/marketplace_examples/blob/master/Products/5.getBonus.php
{
"request": {
"model": "X"
},
"response": {
"0": {
"products_name": "X",
"products_model": "X"
}
}
}