Modo Claro
Update Customer Group
PUT
/customers/groups/{group}Last modified: a month ago
This endpoint allows you to update a customer group by passing the group
as a path parameter.
Request
Parâmetros Path
group
integer
requerido
The Customer Group ID. List of Customer Group ID can be found here.
Parâmetros Bodyapplication/json
No schema defined
Exemplo
{
"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
Respostas
Success(200)
Not Found(404)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
No schema defined
Exemplo
{
"status": 200,
"success": true,
"data": {
"id": 21314237,
"name": "VIP"
}
}
Last modified: a month ago