Edit a contact method

This method allows you to edit a customer contact method.



Supported Parameters

  • contact - the contact's ID, reference or name (required)
  • method - the data (or ID) of a customer's contact method (required)
  • method_type - the type of contact method (email or twitter)
  • data - the associated data (e.g. the email address or twitter handle)
  • default - whether or not the contact method should be default or not

Example JSON

An example of a successful update:

    "id": 1,
    "method_type": "email",
    "data": "test@atechmedia.com",
    "default": true

An example of a validation error:

    "data": [
        "is assigned to Agnes Brown"

Proudly powered by Katapult. Running on 100% renewable energy.