Update custom field in account

put/fields/{id}

Request

  • Base URL
    https://api.mailerlite.com/api/v2
  • URL
    https://api.mailerlite.com/api/v2/fields/{id}
  • Auth
    API key in header X-MailerLite-ApiKey

Path parameters

idinteger required

ID of field

Request body

titlestring

Title of field

Response

200

idinteger
titlestring
keystring
typestring
date_updatedstring
date_createdstring

Example response

{
  "id": 28353,
  "title": "Favourite Color",
  "key": "favourite_color",
  "type": "TEXT",
  "date_updated": "2016-04-04 15:46:15",
  "date_created": "2016-04-04 15:46:15"
}

Changes