ライトモード
Update Customer Group
PUT
/customers/groups/{group}最終更新: 25 days ago
This endpoint allows you to update a customer group by passing the group
as a path parameter.
Request
Pathパラメータ
group
integer
必須
The Customer Group ID. List of Customer Group ID can be found here.
Request Bodyパラメータapplication/json
No schema defined
例
{
"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
Response
Success(200)
Not Found(404)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
データ構造
No schema defined
例
{
"status": 200,
"success": true,
"data": {
"id": 21314237,
"name": "VIP"
}
}
最終更新: 25 days ago