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.
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.