younifyd
Menu

Create a new contact

Create a new contact

POST/merchants/{merchantIdentifier}/contacts

Use it in a workflow

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

Request

Path parameters

merchantIdentifieroneOfrequired

Merchant ID or reference key.

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 201 with an object. Read it in later steps with {{createANewContact.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.

Create a new contact — SCAYLE Admin — Documentation