Okendo
App · 25 actions
Moderate and reply to product reviews, read survey and quiz responses, and manage loyalty points with Okendo.
Actions
| Action | What it does |
|---|---|
| Add tags to review | Tag a review, such as Support Needed or Favorite. |
| Adjust points | Add points to or take points from a shopper's balance, recorded as a transaction. |
| Award points for custom action | Award points for an action you track yourself, using a custom way to earn set up in Okendo. |
| Enroll shopper in loyalty | Enroll a shopper in your loyalty program, recording which version of its terms they accepted. |
| Find customer by email | Find a customer's Okendo ID from their email address. |
| Get customer | Get a customer's name, email address, location and when they were last active. |
| Get loyalty member | Get a shopper's loyalty status, points balance and VIP tier. |
| Get loyalty terms | Get your loyalty program's current terms: their version, links and the sentence shoppers agree to. |
| Get review | Get a review with its rating, text, reviewer, product, tags and reply. |
| List customer activity | List what a customer has done, such as writing reviews or earning points, newest first. |
| List customer profile data | List what Okendo knows about a customer, grouped by source, such as answers to profile questions. |
| List loyalty coupons | List the unused coupons a shopper has from the loyalty program. |
| List quiz responses | List the responses to a quiz, with each answer and the products it recommended, newest first. |
| List quizzes | List your product quizzes, with their status and how many responses each has. |
| List reviews | List your store's reviews, newest first, by moderation status and tag. |
| List rewards | List the rewards shoppers can spend points on, optionally with one shopper's amounts. |
| List survey responses | List the responses to a survey, with each answer and who gave it, newest first. |
| List surveys | List your surveys, including archived ones, with how many responses each has. |
| List tags | List the tags you can put on reviews. |
| List ways to earn | List the ways shoppers earn points or rewards, optionally as one shopper sees them. |
| Moderate review | Publish or reject a review, or send it back to waiting for moderation. |
| Redeem points for reward | Spend a shopper's points on a reward, such as a coupon or store credit. |
| Remove tags from review | Take tags off a review. |
| Reply to review | Reply to a review, publicly or privately, and optionally email the reviewer. |
| Set minimum VIP tier | Keep a shopper in at least this VIP tier, until a date or for good. |
Add tags to review
Tag a review, such as Support Needed or Favorite. Returns all of its tags.
Inputs
- Review
review_idtextRequired - The review.
- Tags
tagslistRequired - The tags, such as Support Needed. New tags are created as they are added.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"tags": [
"example"
]
}
}Adjust points
Add points to or take points from a shopper's balance, recorded as a transaction.
Inputs
- Email
emailtext - The shopper's email address. Give this or the loyalty ID.
- Loyalty ID
loyalty_customer_idtext - The shopper's loyalty ID, instead of their email address.
- Points
pointsnumberRequired - How many points to add. Use a negative number, such as -50, to take points away.
- Reason (for your team)
internal_reasontext - Why, as your team sees it in Okendo.
- Note for the shopper
shopper_notetext - Why, as the shopper sees it in their points history.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"loyaltyCustomer": {
"points": {
"balance": 1
}
}
}
}Award points for custom action
Award points for an action you track yourself, using a custom way to earn set up in Okendo.
Inputs
- Action ID
action_codetextRequired - The custom way to earn's action ID, shown on it in Okendo.
- Email
emailtext - The shopper's email address. Give this or the loyalty ID.
- Loyalty ID
loyalty_customer_idtext - The shopper's loyalty ID, instead of their email address.
- Value
valuenumber - For a points-per-value rule: the value to multiply by its points, such as an amount spent.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"loyaltyCustomer": {
"loyaltyCustomerId": "example",
"points": {
"balance": 1
}
},
"pointsEarned": 1
}
}Enroll shopper in loyalty
Enroll a shopper in your loyalty program, recording which version of its terms they accepted.
Inputs
- Email
emailtext - The shopper's email address. Give this or the loyalty ID.
- Loyalty ID
loyalty_customer_idtext - The shopper's loyalty ID, instead of their email address.
- Terms version accepted
terms_versiontextRequired - The version of the loyalty terms the shopper accepted. Get loyalty terms returns the current one.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"dateEnrolled": "example",
"loyaltyCustomerId": "example",
"points": {
"balance": 1
},
"status": "example",
"vipTierId": "example"
}
}Find customer by email
Find a customer's Okendo ID from their email address.
Inputs
- Email
emailtextRequired - The customer's email address.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"customerId": "example"
}
}Get customer
Get a customer's name, email address, location and when they were last active.
Inputs
- Customer ID
customer_idtextRequired - The customer's Okendo ID. Use Find customer by email to get it.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"avatarUrl": "example",
"dateFirstActive": "example",
"dateLastActive": "example",
"email": "example",
"familyName": "example",
"givenName": "example",
"location": {
"country": "example",
"zoneCode": "example"
}
}
}Get loyalty member
Get a shopper's loyalty status, points balance and VIP tier.
Inputs
- Email
emailtext - The shopper's email address. Give this or the loyalty ID.
- Loyalty ID
loyalty_customer_idtext - The shopper's loyalty ID, instead of their email address.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"dateMinimumVipTierExpires": "example",
"loyaltyCustomerId": "example",
"minimumVipTierName": "example",
"points": {
"balance": 1
},
"status": "example",
"vipTierName": "example"
}
}Get loyalty terms
Get your loyalty program's current terms: their version, links and the sentence shoppers agree to.
Inputs
None.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"acceptTermsAndJoinProgramButtonText": "example",
"policySentence": {
"html": "example",
"template": "example"
},
"privacyPolicyUrl": "example",
"termsAndConditionsUrl": "example",
"version": "example"
}
}Get review
Get a review with its rating, text, reviewer, product, tags and reply.
Inputs
- Review
review_idtextRequired - The review.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"attributesWithRating": [
{
"maxLabel": "example",
"minLabel": "example",
"title": "example",
"type": "example",
"value": 1
}
],
"body": "example",
"containsProfanity": true,
"dateCreated": "example",
"helpfulCount": 1,
"isIncentivized": true,
"isRecommended": true,
"media": [
{
"fullSizeUrl": "example",
"isHidden": true,
"largeUrl": "example",
"streamId": "example",
"thumbnailUrl": "example",
"type": "example"
}
],
"order": {
"orderId": "example",
"orderNumber": "example"
},
"productAttributes": [
{
"title": "example",
"type": "example",
"value": "example"
}
],
"productId": "example",
"productName": "example",
"rating": 1,
"reply": {
"body": "example",
"dateCreated": "example",
"isPrivate": true,
"rawBody": "example"
},
"reviewId": "example",
"reviewer": {
"avatarUrl": "example",
"displayName": "example",
"email": "example",
"isVerified": true,
"location": {
"country": {
"code": "example",
"name": "example"
},
"zoneCode": "example"
},
"name": "example",
"verifiedStatus": "example"
},
"reward": {
"description": "example",
"type": "example",
"value": "example"
},
"sentiment": "example",
"source": "example",
"status": "example",
"subscriberId": "example",
"tags": [
"example"
],
"title": "example",
"unhelpfulCount": 1,
"variantId": "example",
"variantName": "example"
}
}List customer activity
List what a customer has done, such as writing reviews or earning points, newest first.
Inputs
- Customer ID
customer_idtextRequired - The customer's Okendo ID. Use Find customer by email to get it.
- Namespace
namespacetext - Only data from this source, such as reviews or loyalty. Leave empty for all.
- Limit
limitnumber - How many activities to return, from 1 to 100. Okendo's default is 25.From 1 to 100.
- Next page
next_pagetext - To read the next page, the next_page value a previous list step returned.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
{
"activityId": "example",
"date": "example",
"namespace": "example",
"title": "example"
}
],
"next_page": "example"
}
}List customer profile data
List what Okendo knows about a customer, grouped by source, such as answers to profile questions.
Inputs
- Customer ID
customer_idtextRequired - The customer's Okendo ID. Use Find customer by email to get it.
- Namespace
namespacetext - Only data from this source, such as reviews or loyalty. Leave empty for all.
- Limit
limitnumber - How many profiles to return, from 1 to 100. Okendo's default is 25.From 1 to 100.
- Next page
next_pagetext - To read the next page, the next_page value a previous list step returned.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
{
"namespace": "example",
"properties": [
{
"date": "example",
"name": "example",
"value": "example",
"valueType": "example"
}
]
}
],
"next_page": "example"
}
}List loyalty coupons
List the unused coupons a shopper has from the loyalty program.
Inputs
- Email
emailtext - The shopper's email address. Give this or the loyalty ID.
- Loyalty ID
loyalty_customer_idtext - The shopper's loyalty ID, instead of their email address.
- Limit
limitnumber - How many coupons to return, from 1 to 100. Okendo's default is 25.From 1 to 100.
- Next page
next_pagetext - To read the next page, the next_page value a previous list step returned.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
{
"appliesToCollectionIds": [
"example"
],
"appliesToProductIds": [
"example"
],
"code": "example",
"description": "example",
"displayType": "example",
"expiryDate": "example",
"maximumShipping": 1,
"minimumPurchase": 1,
"purchaseType": "example",
"recurringCycleLimit": 1,
"value": 1,
"valueType": "example"
}
],
"next_page": "example"
}
}List quiz responses
List the responses to a quiz, with each answer and the products it recommended, newest first.
Inputs
- Quiz
quiz_idtextRequired - The quiz.
- Order
order_bytext - Newest responses first (the default) or oldest first.One of:
date desc(Newest first),date asc(Oldest first). - Limit
limitnumber - How many responses to return, from 1 to 100. Okendo's default is 25.From 1 to 100.
- Next page
next_pagetext - To read the next page, the next_page value a previous list step returned.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
{
"answeredQuestions": [
{
"answer": "example",
"id": "example",
"text": "example",
"type": "example"
}
],
"channel": "example",
"customer": {
"customerId": "example",
"email": "example"
},
"dateCreated": "example",
"emailMarketingOptIn": true,
"order": {
"remoteOrderId": "example"
},
"quizId": "example",
"quizName": "example",
"quizResponseId": "example",
"recommendation": {},
"reward": {
"description": "example",
"type": "example",
"value": "example"
}
}
],
"next_page": "example"
}
}List quizzes
List your product quizzes, with their status and how many responses each has.
Inputs
- Order
order_bytext - Newest quizzes first (the default) or oldest first.One of:
date desc(Newest first),date asc(Oldest first). - Limit
limitnumber - How many quizzes to return, from 1 to 100. Okendo's default is 25.From 1 to 100.
- Next page
next_pagetext - To read the next page, the next_page value a previous list step returned.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
{
"dateCreated": "example",
"dateUpdated": "example",
"name": "example",
"quizId": "example",
"responseCount": 1,
"status": "example"
}
],
"next_page": "example"
}
}List reviews
List your store's reviews, newest first, by moderation status and tag.
Inputs
- Status
statustext - Only reviews with this moderation status. Okendo's default is published reviews.One of:
approved(Published),pending(Waiting for moderation),rejected. - Tags
tagslist - Only reviews with any of these tags, up to 10.
- Order
order_bytext - Newest first (the default), oldest first, or by star rating.One of:
date desc(Newest first),date asc(Oldest first),rating desc(Highest rating first),rating asc(Lowest rating first). - Limit
limitnumber - How many reviews to return, from 1 to 100. Okendo's default is 25.From 1 to 100.
- Next page
next_pagetext - To read the next page, the next_page value a previous list step returned.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
{
"attributesWithRating": [
{
"maxLabel": "example",
"minLabel": "example",
"title": "example",
"type": "example",
"value": 1
}
],
"body": "example",
"containsProfanity": true,
"dateCreated": "example",
"helpfulCount": 1,
"isIncentivized": true,
"isRecommended": true,
"media": [
{
"fullSizeUrl": "example",
"isHidden": true,
"largeUrl": "example",
"streamId": "example",
"thumbnailUrl": "example",
"type": "example"
}
],
"order": {
"orderId": "example",
"orderNumber": "example"
},
"productAttributes": [
{
"title": "example",
"type": "example",
"value": "example"
}
],
"productId": "example",
"productName": "example",
"rating": 1,
"reply": {
"body": "example",
"dateCreated": "example",
"isPrivate": true,
"rawBody": "example"
},
"reviewId": "example",
"reviewer": {
"avatarUrl": "example",
"displayName": "example",
"email": "example",
"isVerified": true,
"location": {
"country": {
"code": "example",
"name": "example"
},
"zoneCode": "example"
},
"name": "example",
"verifiedStatus": "example"
},
"reward": {
"description": "example",
"type": "example",
"value": "example"
},
"sentiment": "example",
"source": "example",
"status": "example",
"subscriberId": "example",
"tags": [
"example"
],
"title": "example",
"unhelpfulCount": 1,
"variantId": "example",
"variantName": "example"
}
],
"next_page": "example"
}
}List rewards
List the rewards shoppers can spend points on, optionally with one shopper's amounts.
Inputs
- Email
emailtext - The shopper's email address. Leave empty for none.
- Loyalty ID
loyalty_customer_idtext - The shopper's loyalty ID, instead of their email address.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
{
"expiresAfterDays": 1,
"minimumPurchase": 1,
"purchaseType": "example",
"recurringCycleLimit": 1,
"redemptionRuleId": "example",
"reward": {
"awardVia": "example",
"points": 1,
"value": 1
},
"type": "example"
}
]
}
}List survey responses
List the responses to a survey, with each answer and who gave it, newest first.
Inputs
- Survey
survey_idtextRequired - The survey.
- Order
order_bytext - Newest responses first (the default) or oldest first.One of:
date desc(Newest first),date asc(Oldest first). - Limit
limitnumber - How many responses to return, from 1 to 100. Okendo's default is 25.From 1 to 100.
- Next page
next_pagetext - To read the next page, the next_page value a previous list step returned.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
{
"answeredQuestions": [
{
"answer": "example",
"id": "example",
"text": "example",
"type": "example"
}
],
"channel": "example",
"customer": {
"customerId": "example",
"email": "example"
},
"dateCreated": "example",
"emailMarketingOptIn": true,
"isArchived": true,
"order": {
"remoteOrderId": "example"
},
"reward": {
"description": "example",
"type": "example",
"value": "example"
},
"surveyId": "example",
"surveyName": "example",
"surveyResponseId": "example"
}
],
"next_page": "example"
}
}List surveys
List your surveys, including archived ones, with how many responses each has.
Inputs
- Order
order_bytext - Newest surveys first (the default) or oldest first.One of:
date desc(Newest first),date asc(Oldest first). - Limit
limitnumber - How many surveys to return, from 1 to 100. Okendo's default is 25.From 1 to 100.
- Next page
next_pagetext - To read the next page, the next_page value a previous list step returned.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
{
"dateCreated": "example",
"dateLastResponse": "example",
"dateUpdated": "example",
"isArchived": true,
"name": "example",
"responseCount": 1,
"surveyId": "example"
}
],
"next_page": "example"
}
}List tags
List the tags you can put on reviews.
Inputs
- Starts with
prefixtext - Only tags that start with this text.
- Limit
limitnumber - How many tags to return, from 1 to 100. Okendo's default is 25.From 1 to 100.
- Next page
next_pagetext - To read the next page, the next_page value a previous list step returned.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
"example"
],
"next_page": "example"
}
}List ways to earn
List the ways shoppers earn points or rewards, optionally as one shopper sees them.
Inputs
- Email
emailtext - The shopper's email address. Leave empty for none.
- Loyalty ID
loyalty_customer_idtext - The shopper's loyalty ID, instead of their email address.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"count": 1,
"items": [
{
"amount": 1,
"awardVia": "example",
"expiresAfterDays": 1,
"minimumPurchase": 1,
"purchaseType": "example",
"type": "example",
"value": 1,
"waitTimeDays": 1
}
]
}
}Moderate review
Publish or reject a review, or send it back to waiting for moderation.
Inputs
- Review
review_idtextRequired - The review.
- Status
statustextRequired - The review's new moderation status.One of:
approved(Published),pending(Waiting for moderation),rejected.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"attributesWithRating": [
{
"maxLabel": "example",
"minLabel": "example",
"title": "example",
"type": "example",
"value": 1
}
],
"body": "example",
"containsProfanity": true,
"dateCreated": "example",
"helpfulCount": 1,
"isIncentivized": true,
"isRecommended": true,
"media": [
{
"fullSizeUrl": "example",
"isHidden": true,
"largeUrl": "example",
"streamId": "example",
"thumbnailUrl": "example",
"type": "example"
}
],
"order": {
"orderId": "example",
"orderNumber": "example"
},
"productAttributes": [
{
"title": "example",
"type": "example",
"value": "example"
}
],
"productId": "example",
"productName": "example",
"rating": 1,
"reply": {
"body": "example",
"dateCreated": "example",
"isPrivate": true,
"rawBody": "example"
},
"reviewId": "example",
"reviewer": {
"avatarUrl": "example",
"displayName": "example",
"email": "example",
"isVerified": true,
"location": {
"country": {
"code": "example",
"name": "example"
},
"zoneCode": "example"
},
"name": "example",
"verifiedStatus": "example"
},
"reward": {
"description": "example",
"type": "example",
"value": "example"
},
"sentiment": "example",
"source": "example",
"status": "example",
"subscriberId": "example",
"tags": [
"example"
],
"title": "example",
"unhelpfulCount": 1,
"variantId": "example",
"variantName": "example"
}
}Redeem points for reward
Spend a shopper's points on a reward, such as a coupon or store credit.
Inputs
- Email
emailtext - The shopper's email address. Give this or the loyalty ID.
- Loyalty ID
loyalty_customer_idtext - The shopper's loyalty ID, instead of their email address.
- Reward
reward_idtextRequired - The reward to redeem.
- Points to spend
variable_pointsnumber - For a reward of variable value: how many points to spend.At least 1.
- Reward value
variable_valuenumber - For a reward of variable value: the value those points buy.At least 0.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"loyaltyCustomer": {
"points": {
"balance": 1
}
},
"reward": {
"code": "example",
"status": "example",
"storeCredit": {
"balanceAmount": "example",
"transactionAmount": "example"
},
"type": "example"
},
"transactionDetails": {
"amount": 1
}
}
}Remove tags from review
Take tags off a review. Returns the tags it still has.
Inputs
- Review
review_idtextRequired - The review.
- Tags
tagslistRequired - The tags to take off. Tags the review doesn't have are ignored.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"tags": [
"example"
]
}
}Reply to review
Reply to a review, publicly or privately, and optionally email the reviewer.
Inputs
- Review
review_idtextRequired - The review.
- Reply
replytextRequired - What to reply. You can use Markdown.
- Private reply
is_privatetrue/false - Keep the reply private instead of showing it under the review.
- Email the reviewer
email_reviewertrue/false - Email the reply to the reviewer.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"attributesWithRating": [
{
"maxLabel": "example",
"minLabel": "example",
"title": "example",
"type": "example",
"value": 1
}
],
"body": "example",
"containsProfanity": true,
"dateCreated": "example",
"helpfulCount": 1,
"isIncentivized": true,
"isRecommended": true,
"media": [
{
"fullSizeUrl": "example",
"isHidden": true,
"largeUrl": "example",
"streamId": "example",
"thumbnailUrl": "example",
"type": "example"
}
],
"order": {
"orderId": "example",
"orderNumber": "example"
},
"productAttributes": [
{
"title": "example",
"type": "example",
"value": "example"
}
],
"productId": "example",
"productName": "example",
"rating": 1,
"reply": {
"body": "example",
"dateCreated": "example",
"isPrivate": true,
"rawBody": "example"
},
"reviewId": "example",
"reviewer": {
"avatarUrl": "example",
"displayName": "example",
"email": "example",
"isVerified": true,
"location": {
"country": {
"code": "example",
"name": "example"
},
"zoneCode": "example"
},
"name": "example",
"verifiedStatus": "example"
},
"reward": {
"description": "example",
"type": "example",
"value": "example"
},
"sentiment": "example",
"source": "example",
"status": "example",
"subscriberId": "example",
"tags": [
"example"
],
"title": "example",
"unhelpfulCount": 1,
"variantId": "example",
"variantName": "example"
}
}Set minimum VIP tier
Keep a shopper in at least this VIP tier, until a date or for good.
Inputs
- Email
emailtext - The shopper's email address. Give this or the loyalty ID.
- Loyalty ID
loyalty_customer_idtext - The shopper's loyalty ID, instead of their email address.
- VIP tier
tier_nametextRequired - The VIP tier's name, exactly as in Okendo, such as Gold.
- Until
expiresdate and time - When the minimum tier ends. Leave empty to keep it for good.
Outputs
dataobject- The response from Okendo.
Example output
{
"data": {
"dateMinimumVipTierExpires": "example",
"minimumVipTierName": "example",
"vipTierName": "example"
}
}