Yotpo
App · 25 actions
Read and collect product reviews and questions, and sync orders, products and customers with Yotpo.
Actions
| Action | What it does |
|---|---|
| Add product to collection | Add a product to one of your Yotpo collections. |
| Create collection | Create a product collection in your Yotpo catalog. |
| Create fulfillment | Record a shipment for an order. |
| Create or update customer | Add a customer to Yotpo, or update the one with the same store ID or email address. |
| Create order | Send an order to Yotpo. |
| Create product | Add a product to your Yotpo catalog, so it can collect reviews. |
| Create product variant | Add a variant, such as a size or color, to a product in your Yotpo catalog. |
| Create review | Add a review a customer wrote somewhere else, such as in a survey. |
| Get AI review summary | Get Yotpo's AI-written summary of a product's reviews, by topic, with quotes. |
| Get order | Get an order with its customer, products, payment status and fulfillments. |
| Get product | Get a product from your Yotpo catalog. |
| Get review | Get a review with its rating, text, reviewer, product and whether it's published. |
| List collections | List the product collections in your Yotpo catalog. |
| List customer segments | List your store's customer segments and imported customer lists. |
| List customers | List your Yotpo customers with their review and loyalty summaries, or find one by email or phone. |
| List fulfillments | List an order's shipments with their status and tracking. |
| List orders | List the orders in Yotpo, optionally only those placed between two times. |
| List product questions | List the published questions shoppers asked about a product, with their public answers. |
| List product variants | List a product's variants. |
| List products | List the products in your Yotpo catalog. |
| List reviews | List your store's product and site reviews, with their star ratings and reviewers. |
| Remove product from collection | Take a product out of one of your Yotpo collections. |
| Update fulfillment | Change a shipment's status or tracking details. |
| Update order | Change an order's payment status, total or name, or mark it canceled. |
| Update product | Change a product in your Yotpo catalog. |
Add product to collection
Add a product to one of your Yotpo collections.
Inputs
- Collection
collection_idtextRequired - The collection, by its Yotpo ID.
- Product
producttextRequired - The product to add, by the ID your store gave it.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"collection_id": "example",
"product": "example",
"updated": true
}
}Create collection
Create a product collection in your Yotpo catalog.
Inputs
- Collection ID
external_idtextRequired - The collection's ID in your store. It must be new to Yotpo.
- Name
nametextRequired - The collection's name.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"collection": {
"yotpo_id": 1
}
}
}Create fulfillment
Record a shipment for an order. A fulfilled shipment lets Yotpo ask the customer for a review.
Inputs
- Order
order_idtextRequired - The order, by its Yotpo ID.
- Fulfillment ID
external_idtextRequired - The shipment's ID in your store. It must be new for this order.
- Fulfilled at
fulfillment_datedate and timeRequired - When the shipment was made.
- Status
statustextRequired - The shipment's status. Choose Fulfilled for Yotpo to send a review request.One of:
pending,open,success(Fulfilled (Yotpo can send a review request)),cancelled,error,failure(Failed). - Products
fulfilled_itemslistRequired - The products shipped, each with how many.
- Shipment status
shipment_statustext - Where the shipment is now.One of:
label_printed(Label printed),label_purchased(Label purchased),attempted_delivery(Attempted delivery),ready_for_pickup(Ready for pickup),confirmed,in_transit(In transit),out_for_delivery(Out for delivery),delivered,failure(Failed). - Carrier
tracking_companytext - The carrier, such as UPS.
- Tracking number
tracking_numbertext - The carrier's tracking number.
- Tracking page
tracking_urltext - The carrier's tracking page for the shipment.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"fulfillment": {
"yotpo_id": 1
}
}
}Create or update customer
Add a customer to Yotpo, or update the one with the same store ID or email address. Yotpo can take a minute to show the change.
Inputs
- Email
emailtext - The customer's email address. Give it, the customer's store ID, or both.
- Customer ID
external_idtext - The customer's ID in your store.
- First name
first_nametext - The customer's first name.
- Last name
last_nametext - The customer's last name.
- Phone
phone_numbertext - The customer's phone number, such as +14155552671.
- Gender
gendertext - The customer's gender.One of:
F(Female),M(Male),Other. - Account created
account_created_atdate and time - When the customer opened their account in your store.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"email": "example",
"external_id": "example",
"updated": true
}
}Create order
Send an order to Yotpo. Once it has a fulfilled shipment, Yotpo can ask the customer for a review.
Inputs
- Order ID
external_idtextRequired - The order's ID in your store. It must be new to Yotpo.
- Placed at
order_datedate and timeRequired - When the order was placed. Yotpo sends no review requests for orders more than six months old.
- Customer email
emailtext - The customer's email address, where review requests go.
- First name
first_nametext - The customer's first name.
- Last name
last_nametext - The customer's last name.
- Phone
phone_numbertext - The customer's phone number, such as +14155552671.
- Customer ID
customer_external_idtext - The customer's ID in your store.
- Products
line_itemslistRequired - The products ordered, each with how many.
- Order name
order_nametext - The order's name shown to the customer, such as #1001.
- Total
total_pricenumber - The order total with discounts, shipping, taxes and tips.At least 0.
- Currency
currencytext - The order's three-letter currency code, such as USD.
- Payment status
payment_statustext - Where the order's payment stands.One of:
pending,authorized,partially_paid(Partially paid),paid,partially_refunded(Partially refunded),refunded,voided. - No review request
suppress_review_requeststrue/false - Stop Yotpo sending this order's customer an automatic review request.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"order": {
"yotpo_id": 1
}
}
}Create product
Add a product to your Yotpo catalog, so it can collect reviews.
Inputs
- Product ID
external_idtextRequired - The product's ID in your store. It must be new to Yotpo.
- Name
nametextRequired - The product's name.
- Description
descriptiontext - The product's description.
- Status
statustext - The product's status in your store.One of:
active,draft,archived,inactive. - Page URL
urltext - The product's page in your store.
- Image URL
image_urltext - A picture of the product.
- Price
pricenumber - The product's price.At least 0.
- Currency
currencytext - The price's three-letter currency code, such as USD.
- In stock
inventory_quantitynumber - How many are in stock.At least 0.
- Discontinued
is_discontinuedtrue/false - Mark the product discontinued. Yotpo then stops asking for its reviews and leaves it out of widgets.
- Review group
group_nametext - Products with the same group name share their reviews.
- Brand
brandtext - The product's brand.
- SKU
skutext - The product's SKU, without spaces or slashes.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"product": {
"yotpo_id": 1
}
}
}Create product variant
Add a variant, such as a size or color, to a product in your Yotpo catalog.
Inputs
- Product
product_idtextRequired - The product, by its Yotpo ID.
- Variant ID
external_idtextRequired - The variant's ID in your store. It must be new to Yotpo.
- Name
nametext - The variant's name.
- Price
pricenumber - The variant's price.At least 0.
- Currency
currencytext - The price's three-letter currency code, such as USD.
- SKU
skutext - The variant's SKU, without spaces or slashes.
- Page URL
urltext - The variant's page in your store.
- Image URL
image_urltext - A picture of the variant.
- Options
optionslist - What sets the variant apart, such as color: blue. Up to 20.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"variant": {
"yotpo_id": 1
}
}
}Create review
Add a review a customer wrote somewhere else, such as in a survey. Yotpo creates it in the background and moderates it like any other.
Inputs
- Product
skutextRequired - The product's ID in your store. Use yotpo_site_reviews for a review of the store itself.
- Product name
product_titletextRequired - The product's name.
- Product page
product_urltext - The product's page, used only when Yotpo doesn't know the product yet.
- Reviewer name
display_nametextRequired - The reviewer's name, as shown with the review.
- Reviewer email
emailtextRequired - The reviewer's email address.
- Stars
review_scorenumberRequired - The star rating, from 1 to 5.From 1 to 5.
- Title
review_titletextRequired - The review's title.
- Review
review_contenttextRequired - What the reviewer wrote.
- Incentivized
is_incentivizedtrue/false - The reviewer was given something for writing it.
- Incentive
incentive_typetext - What the reviewer was given.One of:
free_product(Free product),coupon,loyalty_points(Loyalty points),paid_promotion(Paid promotion),employee_review(Employee review),other.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"code": 1,
"message": "example"
}
}Get AI review summary
Get Yotpo's AI-written summary of a product's reviews, by topic, with quotes. Empty when the product has none.
Inputs
- Product
producttextRequired - The product, by the ID your store gave it.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"paragraphSummary": "example",
"summaryHighlights": [
{
"highlight": "example",
"reviewId": 1,
"reviewerName": "example"
}
],
"summaryTopics": [
{
"avgSentiment": 1,
"coverage": "example",
"displayTopic": "example",
"summary": "example",
"topic": "example"
}
]
}
}Get order
Get an order with its customer, products, payment status and fulfillments.
Inputs
- Order
order_idtextRequired - The order, by its Yotpo ID.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"order": {
"cancellation": {
"cancellation_date": "example"
},
"created_at": "example",
"currency": "example",
"customer": {
"email": "example",
"external_id": "example",
"first_name": "example",
"last_name": "example",
"phone_number": "example"
},
"external_id": "example",
"fulfillments": [
{
"external_id": "example",
"fulfilled_items": [
{
"external_product_id": "example",
"quantity": 1
}
],
"fulfillment_date": "example",
"shipment_info": {
"shipment_status": "example",
"tracking_company": "example",
"tracking_number": "example",
"tracking_url": "example"
},
"status": "example"
}
],
"line_items": [
{
"coupon_code": "example",
"external_product_id": "example",
"product_id": 1,
"quantity": 1,
"subtotal_price": 1,
"total_price": 1,
"yotpo_id": 1
}
],
"order_date": "example",
"order_name": "example",
"order_number": "example",
"payment_method": "example",
"payment_status": "example",
"store_id": "example",
"subtotal_price": 1,
"total_price": 1,
"updated_at": "example",
"yotpo_id": 1
}
}
}Get product
Get a product from your Yotpo catalog.
Inputs
- Product
product_idtextRequired - The product, by its Yotpo ID.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"product": {
"brand": "example",
"created_at": "example",
"currency": "example",
"description": "example",
"external_id": "example",
"group_name": "example",
"handle": "example",
"image_url": "example",
"inventory_quantity": 1,
"is_discontinued": true,
"name": "example",
"price": 1,
"sku": "example",
"status": "example",
"updated_at": "example",
"url": "example",
"yotpo_id": 1
}
}
}Get review
Get a review with its rating, text, reviewer, product and whether it's published.
Inputs
- Review ID
review_idnumberRequired - The review's Yotpo ID, a number.At least 1.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"archived": true,
"content": "example",
"created_at": "example",
"deleted": true,
"id": 1,
"new": true,
"products_apps": [
{
"domain_key": "example",
"id": 1,
"product": {
"id": 1,
"name": "example"
},
"product_url": "example"
}
],
"score": 1,
"sentiment": 1,
"title": "example",
"user": {
"display_name": "example",
"id": 1
},
"verified_buyer": true,
"votes_down": 1,
"votes_up": 1
}
}List collections
List the product collections in your Yotpo catalog.
Inputs
- Names
nameslist - Only collections with these names.
- Store IDs
external_idslist - Only these records, by the IDs your store gave them.
- Limit
limitnumber - How many collections to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
- Next page
cursortext - To read the next page, the next_page_info a previous list step returned.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"collections": [
{
"created_at": "example",
"external_id": "example",
"name": "example",
"updated_at": "example",
"yotpo_id": 1
}
],
"pagination": {
"next_page_info": "example"
}
}
}List customer segments
List your store's customer segments and imported customer lists.
Inputs
None.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"profileGroups": [
{
"createdAt": "example",
"dataSources": [
"example"
],
"description": "example",
"enabled": "example",
"group": "example",
"id": 1,
"name": "example",
"status": "example",
"type": "example",
"updatedAt": "example"
}
]
}
}List customers
List your Yotpo customers with their review and loyalty summaries, or find one by email or phone.
Inputs
- Email
emailtext - Only the customer with this email address.
- Phone
phone_numbertext - Only customers with this phone number, such as +14155552671.
- Updated since
updated_sincedate - Only customers updated on or after this date.
- Include
expandtext - Which summaries to include with each customer. Yotpo's default is both.One of:
all(Reviews and loyalty),reviews(Reviews only),loyalty(Loyalty only). - Store IDs
external_idslist - Only these records, by the IDs your store gave them.
- Limit
limitnumber - How many customers to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
- Next page
cursortext - To read the next page, the next_page_info a previous list step returned.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"customers": [
{
"account_created_at": "example",
"account_updated_at": "example",
"email": "example",
"external_id": "example",
"first_name": "example",
"gender": "example",
"last_name": "example",
"phone_number": "example",
"yotpo_loyalty": {
"is_opt_in": true,
"points_balance": 1,
"points_earned": 1,
"vip_tier_name": "example"
},
"yotpo_ugc": {
"last_review_date": "example",
"last_star_rating": 1,
"total_avg_rating": 1,
"total_reviews": 1
}
}
],
"pagination": {
"next_page_info": "example"
}
}
}List fulfillments
List an order's shipments with their status and tracking.
Inputs
- Order
order_idtextRequired - The order, by its Yotpo ID.
- Limit
limitnumber - How many fulfillments to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
- Next page
cursortext - To read the next page, the next_page_info a previous list step returned.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"fulfillments": [
{
"created_at": "example",
"external_id": "example",
"fulfilled_items": [
{
"external_product_id": "example",
"quantity": 1
}
],
"fulfillment_date": "example",
"id": 1,
"order_id": 1,
"shipment_info": {
"shipment_status": "example",
"tracking_company": "example",
"tracking_number": "example",
"tracking_url": "example"
},
"status": "example",
"updated_at": "example"
}
],
"pagination": {
"next_page_info": "example"
}
}
}List orders
List the orders in Yotpo, optionally only those placed between two times.
Inputs
- Placed after
placed_afterdate and time - Only orders placed at or after this time.
- Placed before
placed_beforedate and time - Only orders placed at or before this time.
- Store IDs
external_idslist - Only these records, by the IDs your store gave them.
- Limit
limitnumber - How many orders to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
- Next page
cursortext - To read the next page, the next_page_info a previous list step returned.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"orders": [
{
"cancellation": {
"cancellation_date": "example"
},
"created_at": "example",
"currency": "example",
"customer": {
"email": "example",
"external_id": "example",
"first_name": "example",
"last_name": "example",
"phone_number": "example"
},
"external_id": "example",
"fulfillments": [
{
"external_id": "example",
"fulfilled_items": [
{
"external_product_id": "example",
"quantity": 1
}
],
"fulfillment_date": "example",
"shipment_info": {
"shipment_status": "example",
"tracking_company": "example",
"tracking_number": "example",
"tracking_url": "example"
},
"status": "example"
}
],
"line_items": [
{
"coupon_code": "example",
"external_product_id": "example",
"product_id": 1,
"quantity": 1,
"subtotal_price": 1,
"total_price": 1,
"yotpo_id": 1
}
],
"order_date": "example",
"order_name": "example",
"order_number": "example",
"payment_method": "example",
"payment_status": "example",
"store_id": "example",
"subtotal_price": 1,
"total_price": 1,
"updated_at": "example",
"yotpo_id": 1
}
],
"pagination": {
"next_page_info": "example"
}
}
}List product questions
List the published questions shoppers asked about a product, with their public answers.
Inputs
- Product
producttextRequired - The product, by the ID your store gave it.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"page": 1,
"per_page": 1,
"questions": [
{
"asker": {
"display_name": "example",
"id": 1
},
"content": "example",
"created_at": "example",
"id": 1,
"sorted_public_answers": [
{
"answerer": {
"display_name": "example",
"id": 1
},
"content": "example",
"created_at": "example",
"id": 1,
"votes_down": 1,
"votes_up": 1
}
]
}
],
"total_answers": 1,
"total_questions": 1
}
}List product variants
List a product's variants.
Inputs
- Product
product_idtextRequired - The product, by its Yotpo ID.
- Limit
limitnumber - How many variants to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
- Next page
cursortext - To read the next page, the next_page_info a previous list step returned.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"pagination": {
"next_page_info": "example"
},
"variants": [
{
"created_at": "example",
"currency": "example",
"external_id": "example",
"image_url": "example",
"name": "example",
"options": [
{
"name": "example",
"value": "example"
}
],
"price": 1,
"sku": "example",
"updated_at": "example",
"url": "example",
"yotpo_id": 1,
"yotpo_product_id": 1
}
]
}
}List products
List the products in your Yotpo catalog.
Inputs
- Store IDs
external_idslist - Only these records, by the IDs your store gave them.
- Limit
limitnumber - How many products to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
- Next page
cursortext - To read the next page, the next_page_info a previous list step returned.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"pagination": {
"next_page_info": "example"
},
"products": [
{
"brand": "example",
"created_at": "example",
"currency": "example",
"description": "example",
"external_id": "example",
"group_name": "example",
"handle": "example",
"image_url": "example",
"inventory_quantity": 1,
"is_discontinued": true,
"name": "example",
"price": 1,
"sku": "example",
"status": "example",
"updated_at": "example",
"url": "example",
"yotpo_id": 1
}
]
}
}List reviews
List your store's product and site reviews, with their star ratings and reviewers. Yotpo's copy can be up to an hour behind.
Inputs
- Written since
since_datedate - Only reviews written on or after this date.
- Changed since
since_updated_atdate - Only reviews changed on or after this date, such as by being published.
- Include unpublished
include_unpublishedtrue/false - Also return reviews that aren't on your storefront: pending, rejected or escalated ones.
- User reference
user_referencetext - Only reviews sent with this user reference of yours.
- Limit
countnumber - How many reviews to return, up to 100. Yotpo's default is 10.From 1 to 100.
- Page
pagenumber - Which page of reviews to return, starting at 1.At least 1.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"reviews": [
{
"archived": true,
"content": "example",
"created_at": "example",
"deleted": true,
"email": "example",
"escalated": true,
"id": 1,
"incentive_type": "example",
"is_incentivized": true,
"name": "example",
"reviewer_type": "example",
"score": 1,
"sentiment": 1,
"sku": "example",
"title": "example",
"updated_at": "example",
"user_reference": "example",
"votes_down": 1,
"votes_up": 1
}
]
}
}Remove product from collection
Take a product out of one of your Yotpo collections. The product stays in your catalog.
Inputs
- Collection
collection_idtextRequired - The collection, by its Yotpo ID.
- Product
producttextRequired - The product to remove, by the ID your store gave it.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"collection_id": "example",
"product": "example",
"updated": true
}
}Update fulfillment
Change a shipment's status or tracking details. Anything left empty stays as it is.
Inputs
- Order
order_idtextRequired - The order, by its Yotpo ID.
- Fulfillment
fulfillment_idtextRequired - The shipment, by its Yotpo ID.
- Status
statustext - The shipment's new status.One of:
pending,open,success(Fulfilled (Yotpo can send a review request)),cancelled,error,failure(Failed). - Shipment status
shipment_statustext - Where the shipment is now.One of:
label_printed(Label printed),label_purchased(Label purchased),attempted_delivery(Attempted delivery),ready_for_pickup(Ready for pickup),confirmed,in_transit(In transit),out_for_delivery(Out for delivery),delivered,failure(Failed). - Carrier
tracking_companytext - The carrier, such as UPS.
- Tracking number
tracking_numbertext - The carrier's tracking number.
- Tracking page
tracking_urltext - The carrier's tracking page for the shipment.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"fulfillment_id": "example",
"updated": true
}
}Update order
Change an order's payment status, total or name, or mark it canceled. Anything left empty stays as it is.
Inputs
- Order
order_idtextRequired - The order, by its Yotpo ID.
- Payment status
payment_statustext - Where the order's payment stands now.One of:
pending,authorized,partially_paid(Partially paid),paid,partially_refunded(Partially refunded),refunded,voided. - Total
total_pricenumber - The new order total.At least 0.
- Order name
order_nametext - The order's name shown to the customer.
- Canceled at
cancelled_atdate and time - When the order was canceled. Fill it in to mark the order canceled.
- No review request
suppress_review_requeststrue/false - Stop Yotpo sending this order's customer an automatic review request.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"order_id": "example",
"updated": true
}
}Update product
Change a product in your Yotpo catalog. Anything left empty stays as it is.
Inputs
- Product
product_idtextRequired - The product, by its Yotpo ID.
- Name
nametext - The product's name.
- Description
descriptiontext - The product's description.
- Status
statustext - The product's status in your store.One of:
active,draft,archived,inactive. - Page URL
urltext - The product's page in your store.
- Image URL
image_urltext - A picture of the product.
- Price
pricenumber - The product's price.At least 0.
- Currency
currencytext - The price's three-letter currency code, such as USD.
- In stock
inventory_quantitynumber - How many are in stock.At least 0.
- Discontinued
is_discontinuedtrue/false - Mark the product discontinued. Yotpo then stops asking for its reviews and leaves it out of widgets.
- Review group
group_nametext - Products with the same group name share their reviews.
- Brand
brandtext - The product's brand.
- SKU
skutext - The product's SKU, without spaces or slashes.
Outputs
dataobject- The response from Yotpo.
Example output
{
"data": {
"product_id": "example",
"updated": true
}
}