younifyd
Menu

Test Mail After Purchase

Automatic review request - test email

POST/apps/{app_key}/reminders/send_test_email

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the Test Mail After Purchase action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{testMailAfterPurchase.response.data}}.

Request

Path parameters

app_keystringrequired

The store ID

Request body

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

utokenstringrequired

Your Yotpo account access token. See [Yotpo Authentication](https://apidocs.yotpo.com/reference#yotpo-authentication) to learn how to generate your utoken.

email_typestringrequired

The email type. Value should be set as `map`

emailstringrequired

Email address to send the test email. If you do not specify a value, the account email is used.

json
{
  "utoken": "string",
  "email_type": "string",
  "email": "string"
}

Response

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

statusobject
codeinteger

Default 0

messagestring
json
{
  "status": {
    "code": 200,
    "message": "OK"
  }
}

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

Was this page helpful?