Yotpo

App · 25 actions

Read and collect product reviews and questions, and sync orders, products and customers with Yotpo.

Actions

ActionWhat it does
Add product to collectionAdd a product to one of your Yotpo collections.
Create collectionCreate a product collection in your Yotpo catalog.
Create fulfillmentRecord a shipment for an order.
Create or update customerAdd a customer to Yotpo, or update the one with the same store ID or email address.
Create orderSend an order to Yotpo.
Create productAdd a product to your Yotpo catalog, so it can collect reviews.
Create product variantAdd a variant, such as a size or color, to a product in your Yotpo catalog.
Create reviewAdd a review a customer wrote somewhere else, such as in a survey.
Get AI review summaryGet Yotpo's AI-written summary of a product's reviews, by topic, with quotes.
Get orderGet an order with its customer, products, payment status and fulfillments.
Get productGet a product from your Yotpo catalog.
Get reviewGet a review with its rating, text, reviewer, product and whether it's published.
List collectionsList the product collections in your Yotpo catalog.
List customer segmentsList your store's customer segments and imported customer lists.
List customersList your Yotpo customers with their review and loyalty summaries, or find one by email or phone.
List fulfillmentsList an order's shipments with their status and tracking.
List ordersList the orders in Yotpo, optionally only those placed between two times.
List product questionsList the published questions shoppers asked about a product, with their public answers.
List product variantsList a product's variants.
List productsList the products in your Yotpo catalog.
List reviewsList your store's product and site reviews, with their star ratings and reviewers.
Remove product from collectionTake a product out of one of your Yotpo collections.
Update fulfillmentChange a shipment's status or tracking details.
Update orderChange an order's payment status, total or name, or mark it canceled.
Update productChange a product in your Yotpo catalog.

Add product to collection

Add a product to one of your Yotpo collections.

Inputs

Collectioncollection_idtextRequired
The collection, by its Yotpo ID.
ProductproducttextRequired
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 IDexternal_idtextRequired
The collection's ID in your store. It must be new to Yotpo.
NamenametextRequired
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

Orderorder_idtextRequired
The order, by its Yotpo ID.
Fulfillment IDexternal_idtextRequired
The shipment's ID in your store. It must be new for this order.
Fulfilled atfulfillment_datedate and timeRequired
When the shipment was made.
StatusstatustextRequired
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).
Productsfulfilled_itemslistRequired
The products shipped, each with how many.
Shipment statusshipment_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).
Carriertracking_companytext
The carrier, such as UPS.
Tracking numbertracking_numbertext
The carrier's tracking number.
Tracking pagetracking_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

Emailemailtext
The customer's email address. Give it, the customer's store ID, or both.
Customer IDexternal_idtext
The customer's ID in your store.
First namefirst_nametext
The customer's first name.
Last namelast_nametext
The customer's last name.
Phonephone_numbertext
The customer's phone number, such as +14155552671.
Gendergendertext
The customer's gender.One of: F (Female), M (Male), Other.
Account createdaccount_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 IDexternal_idtextRequired
The order's ID in your store. It must be new to Yotpo.
Placed atorder_datedate and timeRequired
When the order was placed. Yotpo sends no review requests for orders more than six months old.
Customer emailemailtext
The customer's email address, where review requests go.
First namefirst_nametext
The customer's first name.
Last namelast_nametext
The customer's last name.
Phonephone_numbertext
The customer's phone number, such as +14155552671.
Customer IDcustomer_external_idtext
The customer's ID in your store.
Productsline_itemslistRequired
The products ordered, each with how many.
Order nameorder_nametext
The order's name shown to the customer, such as #1001.
Totaltotal_pricenumber
The order total with discounts, shipping, taxes and tips.At least 0.
Currencycurrencytext
The order's three-letter currency code, such as USD.
Payment statuspayment_statustext
Where the order's payment stands.One of: pending, authorized, partially_paid (Partially paid), paid, partially_refunded (Partially refunded), refunded, voided.
No review requestsuppress_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 IDexternal_idtextRequired
The product's ID in your store. It must be new to Yotpo.
NamenametextRequired
The product's name.
Descriptiondescriptiontext
The product's description.
Statusstatustext
The product's status in your store.One of: active, draft, archived, inactive.
Page URLurltext
The product's page in your store.
Image URLimage_urltext
A picture of the product.
Pricepricenumber
The product's price.At least 0.
Currencycurrencytext
The price's three-letter currency code, such as USD.
In stockinventory_quantitynumber
How many are in stock.At least 0.
Discontinuedis_discontinuedtrue/false
Mark the product discontinued. Yotpo then stops asking for its reviews and leaves it out of widgets.
Review groupgroup_nametext
Products with the same group name share their reviews.
Brandbrandtext
The product's brand.
SKUskutext
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

Productproduct_idtextRequired
The product, by its Yotpo ID.
Variant IDexternal_idtextRequired
The variant's ID in your store. It must be new to Yotpo.
Namenametext
The variant's name.
Pricepricenumber
The variant's price.At least 0.
Currencycurrencytext
The price's three-letter currency code, such as USD.
SKUskutext
The variant's SKU, without spaces or slashes.
Page URLurltext
The variant's page in your store.
Image URLimage_urltext
A picture of the variant.
Optionsoptionslist
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

ProductskutextRequired
The product's ID in your store. Use yotpo_site_reviews for a review of the store itself.
Product nameproduct_titletextRequired
The product's name.
Product pageproduct_urltext
The product's page, used only when Yotpo doesn't know the product yet.
Reviewer namedisplay_nametextRequired
The reviewer's name, as shown with the review.
Reviewer emailemailtextRequired
The reviewer's email address.
Starsreview_scorenumberRequired
The star rating, from 1 to 5.From 1 to 5.
Titlereview_titletextRequired
The review's title.
Reviewreview_contenttextRequired
What the reviewer wrote.
Incentivizedis_incentivizedtrue/false
The reviewer was given something for writing it.
Incentiveincentive_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

ProductproducttextRequired
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

Orderorder_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

Productproduct_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 IDreview_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

Namesnameslist
Only collections with these names.
Store IDsexternal_idslist
Only these records, by the IDs your store gave them.
Limitlimitnumber
How many collections to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
Next pagecursortext
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

Emailemailtext
Only the customer with this email address.
Phonephone_numbertext
Only customers with this phone number, such as +14155552671.
Updated sinceupdated_sincedate
Only customers updated on or after this date.
Includeexpandtext
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 IDsexternal_idslist
Only these records, by the IDs your store gave them.
Limitlimitnumber
How many customers to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
Next pagecursortext
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

Orderorder_idtextRequired
The order, by its Yotpo ID.
Limitlimitnumber
How many fulfillments to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
Next pagecursortext
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 afterplaced_afterdate and time
Only orders placed at or after this time.
Placed beforeplaced_beforedate and time
Only orders placed at or before this time.
Store IDsexternal_idslist
Only these records, by the IDs your store gave them.
Limitlimitnumber
How many orders to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
Next pagecursortext
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

ProductproducttextRequired
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

Productproduct_idtextRequired
The product, by its Yotpo ID.
Limitlimitnumber
How many variants to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
Next pagecursortext
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 IDsexternal_idslist
Only these records, by the IDs your store gave them.
Limitlimitnumber
How many products to return, from 1 to 100. Yotpo's default is 100.From 1 to 100.
Next pagecursortext
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 sincesince_datedate
Only reviews written on or after this date.
Changed sincesince_updated_atdate
Only reviews changed on or after this date, such as by being published.
Include unpublishedinclude_unpublishedtrue/false
Also return reviews that aren't on your storefront: pending, rejected or escalated ones.
User referenceuser_referencetext
Only reviews sent with this user reference of yours.
Limitcountnumber
How many reviews to return, up to 100. Yotpo's default is 10.From 1 to 100.
Pagepagenumber
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

Collectioncollection_idtextRequired
The collection, by its Yotpo ID.
ProductproducttextRequired
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

Orderorder_idtextRequired
The order, by its Yotpo ID.
Fulfillmentfulfillment_idtextRequired
The shipment, by its Yotpo ID.
Statusstatustext
The shipment's new status.One of: pending, open, success (Fulfilled (Yotpo can send a review request)), cancelled, error, failure (Failed).
Shipment statusshipment_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).
Carriertracking_companytext
The carrier, such as UPS.
Tracking numbertracking_numbertext
The carrier's tracking number.
Tracking pagetracking_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

Orderorder_idtextRequired
The order, by its Yotpo ID.
Payment statuspayment_statustext
Where the order's payment stands now.One of: pending, authorized, partially_paid (Partially paid), paid, partially_refunded (Partially refunded), refunded, voided.
Totaltotal_pricenumber
The new order total.At least 0.
Order nameorder_nametext
The order's name shown to the customer.
Canceled atcancelled_atdate and time
When the order was canceled. Fill it in to mark the order canceled.
No review requestsuppress_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

Productproduct_idtextRequired
The product, by its Yotpo ID.
Namenametext
The product's name.
Descriptiondescriptiontext
The product's description.
Statusstatustext
The product's status in your store.One of: active, draft, archived, inactive.
Page URLurltext
The product's page in your store.
Image URLimage_urltext
A picture of the product.
Pricepricenumber
The product's price.At least 0.
Currencycurrencytext
The price's three-letter currency code, such as USD.
In stockinventory_quantitynumber
How many are in stock.At least 0.
Discontinuedis_discontinuedtrue/false
Mark the product discontinued. Yotpo then stops asking for its reviews and leaves it out of widgets.
Review groupgroup_nametext
Products with the same group name share their reviews.
Brandbrandtext
The product's brand.
SKUskutext
The product's SKU, without spaces or slashes.

Outputs

dataobject
The response from Yotpo.
Example output
{
  "data": {
    "product_id": "example",
    "updated": true
  }
}

On this page