# reorderContactCustomFields

Set the DISPLAY ORDER of the organization's contact custom fields. Presentation only (where fields sit on the record and in the app's field lists): no definition, option or recorded value is touched, and filtering and automations are unchanged. Pass EVERY custom-field id the organization has, in display order (first id = first position): call listContactCustomFields immediately before, reorder that complete list, send all of it. A partial list is rejected for the ids it left out, an id that is not a current custom field as unknown, and a repeated id naming the repeat: every field appears exactly once. It cannot reorder a subset.

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

## Variables

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

## Response (data, an example)

```json
{
  "contactCustomFieldMutation": {
    "reorderCustomFields": {
      "getMyOrganizationsCustomFields": [
        {
          "id": "<ID>",
          "name": "…",
          "displayOrder": 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": "reorderContactCustomFields",
    "variables": {
      "customFieldIds": [
        "<customFieldIds>"
      ]
    }
  }'
```
