group
as a path parameter.customers.read_write
- Customers Read & WriteAuthorization: Bearer ********************
{
"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"
]
}
}
curl --location --request PUT 'https://api.salla.dev/admin/v2/customers/groups/' \
--header 'Content-Type: application/json' \
--data-raw '{
"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"
]
}
}'
{
"status": 200,
"success": true,
"data": {
"id": 21314237,
"name": "VIP"
}
}