Light Mode
Update Customer Group
PUT
/customers/groups/{group}Last modified:Â 23 days ago
This endpoint allows you to update a customer group by passing the group
as a path parameter.
Request
Path Params
group
integerÂ
required
The Customer Group ID. List of Customer Group ID can be found here.
Body Params application/json
No schema defined
Example
{
"name": "VIP",
"conditions": [
{
"type": "total_sales",
"symbol": "between",
"min_value": 100,
"max_value": 500
}
],
"features": {
"payment_method": [
"credit_card",
"mada",
"bank",
"cod",
"apple_pay",
"stc_pay"
],
"shipping": [
"all"
]
}
}
Request samples
Responses
Success(200)
Not Found(404)
Error Validation(422)
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"id": 21314237,
"name": "VIP"
}
}
Last modified: 23 days ago