The Location API allows users to search both by a specific Global Location Number (GLN) as well as by the various attributes associated with each GLN.
If you need to download all shared GLNs, follow the steps below.
Note: for this GetAll workaround, you can use the Post call, which allows you to search by attribute. This functionality is not a true GetAll. You cannot download every GLN inside GS1 US Data Hub | Location with a single call.
1. Using the Post call, search for the industry of choice. To download all GLNs, at least one search criteria must be applied. In this example, "Healthcare" is selected as the industry. Each individual call can return up to 1,000 GLNs.
Note: specify the number of GLNs up to the maximum 1,000 by using the "count" element.