CustomersCustomers
Get customer group usage
Lists the discounts, campaigns and automations that use a customer group.
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.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.ecomiq.pe/api/v1/customers/groups/7204558912004328247/usage" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>"{ "discounts": [ { "id": "7204558912004328247", "name": "Clientes frecuentes", "isAutomatic": false, "status": "active" } ], "campaigns": [ { "id": "7204558912004328247", "name": "Clientes frecuentes", "status": "active" } ], "automations": [ { "id": "7204558912004328247", "name": "Clientes frecuentes" } ]}