Menu
Create a new contact
Create a new contact
POST
/merchants/{merchantIdentifier}/contactsUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Create a new contact action (under Merchants).
- Fill in the fields below, then reference the result from later steps as
{{createANewContact.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"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>}}.
{
"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.
Was this page helpful?