Light Mode
Update Customer Group
PUT
/customers/groups/{group}Last modified: 2 months 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: 2 months ago