Light Mode
Update Default Customer Group
POST
/customers/groups/defaultLast modified: 2 months ago
This endpoint allows you to update the default customer group from this Endpoint. Each new customer is added automatically to the default customer group.
:::tip[Note]
You can only change the group features:
- Payment Methods
- Shipping Methods
:::
Request
Body Params application/json
No schema defined
Example
{
"features": {
"payment_method": [
"credit_card",
"mada",
"bank",
"cod",
"apple_pay",
"stc_pay"
],
"shipping": [
"all"
]
}
}
Request samples
Responses
Progress In-Action(201)
Error Validation(422)
Progress In-Action
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 201,
"success": true,
"data": {
"message": "The default group has been updated successfully",
"code": 201
}
}
Last modified: 2 months ago