_setName

Sets the name of an instruction for how Customer Emails will be imported.

Parameters

id

The ID of the instruction.

val

The new Name to be set to the instruction.

Example

FM_api('ImportCustomersEmail_setName',[
    'id'=>'167',
    'val'=>'Test Name'
    ]
);

Results

On Success

{"ok":1}

If the "val" parameter already matches the current instruction name:

{"ok":"1","warning":"no change required"}

On Failure

If the "id" parameter is not set:

{"error":"missing or invalid parameter: id"}

If the "val" parameter is not set:

{"error":"missing or invalid parameter: val"}

If the "id" parameter does not match an existing instruction:

{"error":"import_filters is not existing."}

Last updated