CustomersCustomers
Update customer group
Updates a customer group's name and settings, without touching its members.
Path Parameters
id*string
Unique identifier of the resource.
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.ecomiq.pe/api/v1/customers/groups/7204558912004328247" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "name": "Clientes frecuentes", "description": "Polo de algodón pima para uso diario.", "isActive": true, "type": "manual", "conditions": { "match": "all", "conditions": [ { "field": "amountSpent", "operator": "atLeast", "numbers": [ 1 ], "dates": [ "2026-09-28" ], "values": [ "Andrea Ramos" ] } ] } }'Empty