Update Default Customer Group
POST
/customers/groups/defaultThis 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
The various methods of payment that are accessible or offered to a specific group of customers. List of available payment methods can be found here.
The various delivery options or methods that are accessible or offered to a specific group of customers.
{
"features": {
"payment_method": [
"credit_card",
"mada",
"bank",
"cod",
"apple_pay",
"stc_pay"
],
"shipping": [
"all"
]
}
}
Request samples
Responses
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A text or data communication generated by a system or application in response to a request.
A numerical or alphanumeric identifier used in various systems and protocols to indicate the status or outcome of a specific request.
{
"status": 201,
"success": true,
"data": {
"message": "The default group has been updated successfully",
"code": 201
}
}