Create Customer Group
Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
POST
https://api.salla.dev/admin/v2
Customer Groups
Last modified:2025-02-05 13:21:46
Note
"total_sales" |
"total_orders" |
"store_rating" |
"doesnt_have_orders" |
> |
< |
between |
Information
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.salla.dev/admin/v2/customers/groups' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "VIPCustomers",
"conditions": [
{
"type": "total_sales",
"symbol": ">",
"value": 100
}
],
"features": {
"payment_method": [
"credit_card",
"mada",
"bank",
"cod",
"apple_pay",
"stc_pay"
],
"shipping": [
"all"
]
}
}'
Response Response Example
200 - Example
{
"status": 200,
"success": true,
"data": {
"id": 1394760126,
"name": "VIPCustomers"
}
}
Request
Body Params application/json
Responses
Modified at 2025-02-05 13:21:46