Update Group

PUT {{baseUrl}}/customers/groups/:group

This Endpoint allows you to update a customer group by providing the ID of the group you want to update in the group path parameter.

OAuth Scopes


customers.read_write

Request Body

{"name"=>"VIP", "conditions"=>{"type"=>"total_sales", "symbol"=>"between", "value"=>100}, "features"=>{"payment_method"=>["credit_card", "mada", "bank", "cod", "apple_pay", "stc_pay"], "shipping"=>["all"]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"status":200,"success":true,"data":{"id":2075683582,"name":"VIP Customers"}}