# lowercaseContactEmails

Lowercase every capitalised email on these contacts (≤500; the ids findContactDataProblems problem EMAIL_NOT_LOWERCASE lists), in place: changedEmails, changedContacts, left (the contact already holds the lowercase copy).

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "lowercaseContactEmails", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `contactIds`: `[ID!]!` (required)

## Response (data, an example)

```json
{
  "contactMutation": {
    "lowercaseContactEmails": {
      "changedEmails": 0,
      "changedContacts": 0,
      "left": 0
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "lowercaseContactEmails",
    "variables": {
      "contactIds": [
        "<contactIds>"
      ]
    }
  }'
```
