younifyd
Menu

Send an email

Send an email

POST/shops/{shopKey}/countries/{countryCode}/emails/send

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Send an email action (under Emails).
  3. Fill in the fields below, then reference the result from later steps as {{sendAnEmail.response.data}}.

Request

Path parameters

shopKeystringrequired

The shop key.

countryCodestringrequired

The shop country code; use shop country ID instead of country code when a country is ambiguous within a shop.

Request body

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

keystringrequired
payloadobjectrequired
recipientstringrequired
orderIdinteger
json
{
  "key": "string",
  "payload": {},
  "recipient": "string",
  "orderId": 0
}

Response

Returns 204 with a any. Read it in later steps with {{sendAnEmail.response.data.<field>}}.

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

Send an email — SCAYLE Admin — Documentation