How do you query for the local delivery configuration that is attached to a location?
Looking for things like: which locations support local delivery, the list of zip codes that a location will provide local delivery for, the cost of local delivery, etc.
There don’t seem to be any fields on the Location object that relate to locale delivery, and deliveryProfiles only seems to include information about shipping?
1 Like
Hey @Nic_Oliver , there’s currently no Admin API for local delivery configuration. Local delivery settings (zones, postal codes, radius, pricing) are managed exclusively through the Admin UI at Settings > Shipping and delivery > Local delivery.
For context, Shopify does provide API access for related delivery features, but local delivery isn’t one of them:
If you need programmatic control over delivery rates, you could build a Carrier Service app that returns custom local delivery rates. This requires maintaining an endpoint that responds to Shopify’s rate requests, but gives you full control over the logic.
Alternatively, you can use Delivery Customization Functions to rename, hide, or reorder delivery options at checkout (though this won’t let you create zones or set pricing).
You can find the manual setup steps in the local delivery help doc.
Thanks for the quick response @KyleG-Shopify
Surprised by this gap in the API - unfortunately none of the options that you mentioned are feasible for this project, but thanks for the suggestions. Looks like we may need to manually maintain a duplicate dataset using metafields to store postal codes etc.
Would be great to add this one to the feature request list!
Thanks for the feedback, Nic. I have passed that on for you. 