How to get all unique vendors in a Shopify store

Sell Online With Shopify
Trusted by millions of businesses worldwide
For a limited time, sign up for a free trial and enjoy 3 months of Shopify for $1/month on select plans — offer ends Aug 25.

The Shopify REST API doesn’t have an endpoint that will specifically list only the unique vendors on products in a shop. But Shopify liquid supports that.

If you want to get this list with JSON format. You can follow the below steps:

  • Create a new page template. Eg: page.vendors
  • Add the below code for this template
  • Assign this template for a page and you have a page include all unique vendors with JSON format.

LIVE DEMO

You may also like...

Leave a Reply

Your email address will not be published.