Update Default Group

POST {{baseUrl}}/customers/groups/default

Each new customer is added automatically to the default customer group, You can update the default customer group from this Endpoint

Note: you can change only group features ( payment methods - shipping methods )

OAuth Scopes


customers.read_write

Request Body

{"features"=>{"payment_method"=>["credit_card", "mada", "bank", "cod", "apple_pay", "stc_pay"], "shipping"=>["all"]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"status":201,"success":true,"data":{"message":"The default group has been updated successfully","code":201}}