Development discussions around Shopify APIs
For nine years, people have been asking why there isn't a LinkList API endpoint:
I read http://api.shopify.com/ but I really, really felt like I was missing something because an object that necessary to developing a Shopify app really seems like it should be accessible in the API...
And for nine years, there's only been one hacky workaround. Here's from 2010:
A workaround I used: sacrifice your "page.liquid" template, set its layout to none and include a snippet file containing the straight menu code HTML. then, access it through cURL.
Here's from February of 2019:
...one way around that is to build out a page without layout and do something like shown in this gist which will traverse the linklist object ... Give it a try to see what I mean - many workarounds are solved using this concept.
So, given responses like these from Shopify staff and partners for nearly a decade:
"The short answer is a big unfortunate no. Linklists are not in the api."
Why hasn't this API been created yet?
This data already being populated at `/admin/menus.json` and `/admin/menus/{{ ID }}.json`. A simple GET endpoint, like the product or collections endpoints would solve a lot of developer headaches, including mine. But for some reason, after years of this being a clear pain point, there's been absolutely no movement on this.
In the meantime, here's how you'll have to set up your own pseudo-API for linklists.
This is beautiful. Just sayin'
This would be so helpful.
Make that 12 YEARS. Ridiculous.
Apparently, Rome was not built in a day either, so I guess we wait. This stuff is hard you know!
It's probably not as hard as manually managing dozens of linklists across a dozen stores, but nobody at Shopify has to do that so they don't care.
There is no excuse for this omission. Shopify has massively overhauled the entire platform this year, but they still "can't" even add a single API endpoint that simply returns a relatively small JSON object populated with data that already exists in their database...OK, sure, sounds really really really hard to me.
User | RANK |
---|---|
10 | |
5 | |
3 | |
3 | |
3 |
Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023