# Last changes in distribution list Endpoint is intended to determine the changes after you load the complete e-mail list and you need to know if any of these e-mails were added or removed. Guaranteed history is 30 days, the older data are deleted progressively. Each e-mail on single e-mail list is only mentioned with its last change, within the log. For example, if the e-mail is deleted and then added again, the log will only show information about its addition. The e-mail lists are not dependant on each other (removing an e-mail from one list does not cause any change in another list, unless the e-mail was originally included in both). Can be filtered by changeType = edit/delete parameter. Endpoint supports Paging. Endpoint: GET /api/mailing-lists/{code}/changes Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Path parameters: - `code` (string, required) e-mail list code Example: "newsletters" ## Query parameters: - `from` (string, required) DateTime from which up to the present we are interested in the changes. + in the time zone Example: "2018-01-01T01:01:01+02:00" - `changeType` (string) Returning only edit or delete type changed records Example: "edit" ## Header parameters: - `Content-Type` (string, required) ## Response 200 fields (application/json): - `data` (object, required) - `data.changes` (array, required) - `data.changes.changeType` (string, required) type of event that happened with the entity. Possible values are following: , delete`. - `data.changes.changeTime` (string,null, required) date and time, when the event happened. ISO 8601 format (). - `data.changes.email` (string, required) - `data.paginator` (object, required) - `data.paginator.totalCount` (integer, required) total number of available records - `data.paginator.page` (integer, required) current page - `data.paginator.pageCount` (integer, required) total available of pages - `data.paginator.itemsOnPage` (integer, required) number of currently returned records - `data.paginator.itemsPerPage` (integer, required) required number of records per page - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced