Rebuy
App · 9 actions
Read recommendations, trending products and customer product history from Rebuy.
Actions
| Action | What it does |
|---|---|
| List collection products | Find products in selected Shopify collections. |
| List previously purchased products | Find items a customer has previously ordered. |
| List product recommendations | Find products Rebuy recommends for the store. |
| List recently viewed products | Find products a customer recently viewed. |
| List recommendations from views | Find products related to items a customer viewed. |
| List selected products | Look up specified products by Shopify IDs or handles. |
| List similar products | Find similar items for a Shopify product. |
| List top sellers | Find the store’s best-selling products. |
| List trending products | Find products currently trending in the store. |
List collection products
Find products in selected Shopify collections.
Inputs
- Collection Ids
collection_idslistRequired - Shopify collection IDs to look up.
- Excluded Product Ids
excluded_product_idslist - Shopify product IDs to omit.
- Smart Sort
smart_sorttext - How to order the products.One of:
yes,top_sellers(Top sellers). - Limit
limitnumber - The maximum number of products to return.At least 1.
Outputs
dataobject- The response from Rebuy.
Example output
{
"data": {
"data": [
{
"handle": "example",
"id": 1,
"product_type": "example",
"title": "example",
"variants": [
{}
],
"vendor": "example"
}
],
"metadata": {}
}
}List previously purchased products
Find items a customer has previously ordered.
Inputs
- Customer Id
customer_idtextRequired - A Shopify customer ID.
- Limit
limitnumber - The maximum number of products to return.At least 1.
Outputs
dataobject- The response from Rebuy.
Example output
{
"data": {
"data": [
{
"handle": "example",
"id": 1,
"product_type": "example",
"title": "example",
"variants": [
{}
],
"vendor": "example"
}
],
"metadata": {}
}
}List product recommendations
Find products Rebuy recommends for the store.
Inputs
- Excluded Product Ids
excluded_product_idslist - Shopify product IDs to omit.
- Limit
limitnumber - The maximum number of products to return.At least 1.
Outputs
dataobject- The response from Rebuy.
Example output
{
"data": {
"data": [
{
"handle": "example",
"id": 1,
"product_type": "example",
"title": "example",
"variants": [
{}
],
"vendor": "example"
}
],
"metadata": {}
}
}List recently viewed products
Find products a customer recently viewed.
Inputs
- Customer Id
customer_idtextRequired - A Shopify customer ID.
- Limit
limitnumber - The maximum number of products to return.At least 1.
Outputs
dataobject- The response from Rebuy.
Example output
{
"data": {
"data": [
{
"handle": "example",
"id": 1,
"product_type": "example",
"title": "example",
"variants": [
{}
],
"vendor": "example"
}
],
"metadata": {}
}
}List recommendations from views
Find products related to items a customer viewed.
Inputs
- Customer Id
customer_idtextRequired - A Shopify customer ID.
- Limit
limitnumber - The maximum number of products to return.At least 1.
Outputs
dataobject- The response from Rebuy.
Example output
{
"data": {
"data": [
{
"handle": "example",
"id": 1,
"product_type": "example",
"title": "example",
"variants": [
{}
],
"vendor": "example"
}
],
"metadata": {}
}
}List selected products
Look up specified products by Shopify IDs or handles.
Inputs
- Product Id
product_idtext - One Shopify product ID.
- Product Ids
product_idslist - Shopify product IDs to look up.
- Handles
handleslist - Shopify product handles to look up.
- Limit
limitnumber - The maximum number of products to return.At least 1.
Outputs
dataobject- The response from Rebuy.
Example output
{
"data": {
"data": [
{
"handle": "example",
"id": 1,
"product_type": "example",
"title": "example",
"variants": [
{}
],
"vendor": "example"
}
],
"metadata": {}
}
}List similar products
Find similar items for a Shopify product.
Inputs
- Product Id
product_idtextRequired - A Shopify product ID.
- Limit
limitnumber - The maximum number of products to return.At least 1.
Outputs
dataobject- The response from Rebuy.
Example output
{
"data": {
"data": [
{
"handle": "example",
"id": 1,
"product_type": "example",
"title": "example",
"variants": [
{}
],
"vendor": "example"
}
],
"metadata": {}
}
}List top sellers
Find the store’s best-selling products.
Inputs
- Excluded Product Ids
excluded_product_idslist - Shopify product IDs to omit.
- Limit
limitnumber - The maximum number of products to return.At least 1.
Outputs
dataobject- The response from Rebuy.
Example output
{
"data": {
"data": [
{
"handle": "example",
"id": 1,
"product_type": "example",
"title": "example",
"variants": [
{}
],
"vendor": "example"
}
],
"metadata": {}
}
}List trending products
Find products currently trending in the store.
Inputs
- Excluded Product Ids
excluded_product_idslist - Shopify product IDs to omit.
- Limit
limitnumber - The maximum number of products to return.At least 1.
Outputs
dataobject- The response from Rebuy.
Example output
{
"data": {
"data": [
{
"handle": "example",
"id": 1,
"product_type": "example",
"title": "example",
"variants": [
{}
],
"vendor": "example"
}
],
"metadata": {}
}
}