How to load all attributes of a DeliveryProfile using Admin GQL API?

Dear Shopify Community,

I am using the most recent Admin GQL API to fetch Data from Stores.

Now straight to my question:

I want to load all attributes of a DeliveryProfile and have the following problem:

deliveryProfile(id:__){> > profileLocationGroups{> > locationGroupZones(first:x after:?? ){…}> > }> > }

But since profileLocationGroups is just a List/Set of Objects how can get the Zones of one particular Group that has more entries?

Sadly DeliveryProfileLocationGroup nor DeliveryLocationGroupZone does not implement the Node interface.

If profileLocationGroups would be a Connection instead I could use the cursor to access those Zones directly but with this setup I really dont know how I am supposed to do this and I would be very greatful for any Tips & Help.

Best Regards,

Marco

1 Like