Custom fields

Events

Action Event name
create a custom field for the first time customfield.created
update custom fields customfield.updated

Payload example created

{
  "attemptId": "9287826c-04d1-46ab-acc8-4f49e73d160d",
  "created": 1623794394,
  "data": {
    "_id": "5ff377bbd383cf7df687fedc",
    "accountId": "52a377ec430c7d4e220001fc",
    "createdAt": {
      "offset": 0,
      "value": "2021-01-04T20:16:59.548Z"
    },
    "deleted": false,
    "fields": [
      {
        "disabled": "false",
        "internalId": "52a377ec430c7d4e220001fc-0",
        "options": [],
        "required": "false",
        "text": "dfasdf",
        "type": "1"
      }
    ],
    "modelName": "Transactions",
    "updatedAt": {
      "offset": 0,
      "value": "2021-06-15T21:59:52.439Z"
    },
    "userId": "55fc2f318791db6e1a0000b6"
  },
  "event": "customfield.created",
  "id": "f7cf105e-e83d-4986-8171-70ba5c6c57cd",
  "livemode": true
}

Payload example updated

{
  "attemptId": "9287826c-04d1-46ab-acc8-4f49e73d160d",
  "created": 1623794394,
  "data": {
    "_id": "5ff377bbd383cf7df687fedc",
    "accountId": "52a377ec430c7d4e220001fc",
    "createdAt": {
      "offset": 0,
      "value": "2021-01-04T20:16:59.548Z"
    },
    "deleted": false,
    "fields": [
      {
        "disabled": "false",
        "internalId": "52a377ec430c7d4e220001fc-0",
        "options": [],
        "required": "false",
        "text": "dfasdf",
        "type": "1"
      }
    ],
    "modelName": "Transactions",
    "updatedAt": {
      "offset": 0,
      "value": "2021-06-15T21:59:52.439Z"
    },
    "userId": "55fc2f318791db6e1a0000b6"
  },
  "event": "customfield.updated",
  "id": "f7cf105e-e83d-4986-8171-70ba5c6c57cd",
  "livemode": true
}