Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

updateField method

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

It is a method to change user field parameters.

Principle of use

Syntax and URL to call the method
updateFiled (int id, string name)
https://api.unisender.com/en/api/updateField?format=json&api_key=KEY&id=ID &name=NAME
Arguments
api_key * API access key.
id * ID of the field being changed.
name * Field name. It must be unique and case insensitive. Also, it is not recommended to create a field with the same name as the standard field names (tags, email, phone, email_status, phone_status, etc.) as the importContacts method will work incorrectly.
public_name Field name. Name of the «variable for substitution». field in the personal account. If it is not used, an automatically generation by the «name» field will take place.Admissible characters: Latin letters, numbers, «_» and «-». The first character must be a letter. No spaces are allowed.
Return value
Object with an id field containing the code of the field changed.Example of the return value:

{"id":7266567}
Оцените, на сколько вам показалась полезной статья «updateField method»
(0)

Did we answer to your question?

0
0