younifyd
Menu

Update an existing contact

Update an existing contact

PUT/merchants/{merchantIdentifier}/contacts/{merchantContactId}

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Update an existing contact action (under Merchants).
  3. Fill in the fields below, then reference the result from later steps as {{updateAnExistingContact.response.data}}.

Request

Path parameters

merchantIdentifieroneOfrequired

Merchant ID or reference key.

merchantContactIdintegerrequired

The contact ID.

Request body

Enter the body as JSON in the step's Body field.

idinteger

The ID of the contact created by SCAYLE.

namestring

The name of the contact.

emailstring

The email of the contact.

phonestring

The phone of the contact.

cellPhonestring

The cell phone of the contact.

typestring

The type of the contact.

positionstring

The position of the contact.

descriptionstring

The description of the contact.

json
{
  "id": 1,
  "name": "John Doe",
  "email": "foo@bar.org",
  "phone": 123456789,
  "cellPhone": 123456789,
  "type": "general",
  "position": "Partner Service",
  "description": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{updateAnExistingContact.response.data.<field>}}.

idinteger

The ID of the contact created by SCAYLE.

namestring

The name of the contact.

emailstring

The email of the contact.

phonestring

The phone of the contact.

cellPhonestring

The cell phone of the contact.

typestring

The type of the contact.

positionstring

The position of the contact.

descriptionstring

The description of the contact.

json
{
  "id": 1,
  "name": "John Doe",
  "email": "foo@bar.org",
  "phone": 123456789,
  "cellPhone": 123456789,
  "type": "general",
  "position": "Partner Service",
  "description": "string"
}

Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.

Update an existing contact — SCAYLE Admin — Documentation