A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I guess this is a feature request, as Shopify doesn't seem to have created this functionality.
My app creates a deliveryProfile, but if a user uninstalls and reinstalls my app, there is an issue where the deliveryProfile with the same name remains. It would be very helpful if I could filter (query ) the deliveryProfiles on a store to see if a profile created by the app already exists.
Are you not able to store the ID pre-emptively ? And filter to that?
https://shopify.dev/api/admin-graphql/2021-10/objects/deliveryprofile#queries
And I didn't realize gifs were working on pfps and If I did that Nicholson one I would have considered for myself 😉
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
I'm not sure what you mean 'preemptively', do mean query deliveryProfiles, pull back the first ~25, find the id of the matching named entity, and use that? I mean, that is what I'm trying to avoid. Ideally I'd pass in a query filter (like the one available for products ) so I could find only the one I need to deal with.
Also, lol, I stole it, but that gif definitely one of the best available.