/api/2.0/lists/distribution/{PK}/

PATCH https://developer.salesfusion.com/api/2.0/lists/distribution/{PK}/

Description:

Modifies an existing distribution list. If the specified ID does not exist Not Found will be returned.

PK → List_ID

Sample Response:
{
    "crm_id": "",
    "list_name": "This is a new list name!",
    "list_type": "",
    "owner": "https://developer.salesfusion.com/api/2.0/users/2/",
    "owner_id": 2,
    "created_date": "2018-12-19T14:42:31.263000Z",
    "created_by": "https://developer.salesfusion.com/api/2.0/users/2/",
    "created_by_id": 2,
    "updated_date": "2018-12-19T14:44:39.642860Z",
    "updated_by": "https://developer.salesfusion.com/api/2.0/users/2/",
    "updated_by_id": 2,
    "description": "",
    "total_contacts": 1,
    "contacts": "https://developer.salesfusion.com/api/2.0/lists/distribution/1099/contacts/"
}

Request Body

{"list_name"=>"This is a new list name!"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring