Skip to main content
With the MultiLikes API, you can call favorites from your theme and build favorite buttons and lists in designs the app’s blocks can’t produce. Use it to add only a favorite button to an existing brand or store list, or to match the favorites list on the account page to your own design.

Available APIs

These APIs are called from your store’s pages. Each favorite type has the following APIs.
  • Products: get the favorite count and status, get a customer’s favorites list, add and remove favorites
  • Favorite ranking: get the most-favorited products, in order
  • Brands and stores: get the brand or store list (with favorite counts and status), get a customer’s favorites list, add and remove favorites, get the brand linked to a product
  • Collections, pages, and articles: for each, get the favorite count and status, get a customer’s favorites list, add and remove favorites
  • Favorite time-limited sales: get the products in a customer’s favorites that are in a running sale, grouped by campaign

Common behavior

  • Calls are made from your store’s domain through the app proxy (App Proxy).
  • Responses are JSON. APIs that return lists let you set the number of items and page through them.
  • Adding and removing favorites is accepted only for the customer who is signed in to the store.
If you want to add only a favorite button to a list you already have, you need to build it with this API.