How to get all unique vendors in a Shopify store

Hura Product Showcase Builder

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

Hura Theme Blocks

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *