| Variable | Type | Description |
|---|---|---|
| list_id | int|string | The ID of the list to which the product group belongs |
| product_group_id | string | |
| status | int|string | The new status of the product group: 0 for inactive, 1 for active |
| Parameter | Description |
|---|---|
| boolean | True if the update has succeeded, False otherwise |
true | Code | Message | Description |
|---|---|---|
| 407 | Missing required param list_id | list_id param is required |
| 407 | Missing required param product_group_id | product_group_id param is required |
| 407 | Missing required param status | status param is required |
| 1823 | No such product group with ID: %s. | Invalid access to product group |
{ "err": true, "message": "Missing required param list_id", "code": 407 }
{ "err": true, "message": "Missing required param product_group_id", "code": 407 }
{ "err": true, "message": "Missing required param status", "code": 407 }
{ "err": true, "message": "No such product group with ID: %s", "code": 1823 }