Rebuy

App · 9 actions

Read recommendations, trending products and customer product history from Rebuy.

Actions

ActionWhat it does
List collection productsFind products in selected Shopify collections.
List previously purchased productsFind items a customer has previously ordered.
List product recommendationsFind products Rebuy recommends for the store.
List recently viewed productsFind products a customer recently viewed.
List recommendations from viewsFind products related to items a customer viewed.
List selected productsLook up specified products by Shopify IDs or handles.
List similar productsFind similar items for a Shopify product.
List top sellersFind the store’s best-selling products.
List trending productsFind products currently trending in the store.

List collection products

Find products in selected Shopify collections.

Inputs

Collection Idscollection_idslistRequired
Shopify collection IDs to look up.
Excluded Product Idsexcluded_product_idslist
Shopify product IDs to omit.
Smart Sortsmart_sorttext
How to order the products.One of: yes, top_sellers (Top sellers).
Limitlimitnumber
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 Idcustomer_idtextRequired
A Shopify customer ID.
Limitlimitnumber
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 Idsexcluded_product_idslist
Shopify product IDs to omit.
Limitlimitnumber
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 Idcustomer_idtextRequired
A Shopify customer ID.
Limitlimitnumber
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 Idcustomer_idtextRequired
A Shopify customer ID.
Limitlimitnumber
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 Idproduct_idtext
One Shopify product ID.
Product Idsproduct_idslist
Shopify product IDs to look up.
Handleshandleslist
Shopify product handles to look up.
Limitlimitnumber
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 Idproduct_idtextRequired
A Shopify product ID.
Limitlimitnumber
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 Idsexcluded_product_idslist
Shopify product IDs to omit.
Limitlimitnumber
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": {}
  }
}

Find products currently trending in the store.

Inputs

Excluded Product Idsexcluded_product_idslist
Shopify product IDs to omit.
Limitlimitnumber
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": {}
  }
}

On this page