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.

Request Body

{"name"=>"<string>", "conditions"=>[{"type"=>"<string>", "symbol"=>"between", "value"=>"<number>", "min_value"=>"<number>", "max_value"=>"<number>"}, {"type"=>"<string>", "symbol"=>"<", "value"=>"<number>", "min_value"=>"<number>", "max_value"=>"<number>"}], "features"=>{"payment_method"=>["<string>", "<string>"], "shipping"=>["<string>", "<string>"]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;\u003cnumber\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;}}