You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing the lat/long in the store lookup APIs if no stores are visible it can be due to the defined distance parameter in the request. to resolve this distance parameter can be removed and sortby parameter can be used
Need to add the following parameter details and edgecases
Key Parameters and Edge Cases:
distance (in miles): Defines the search radius. If no stores are within the radius, no results are returned.
point (lat,long): The central point for distance-based queries. The API sorts results by distance automatically.
sortBy: Not needed for distance sorting; omit it when using point.
fieldsToSelect: Allows limiting response fields, but only works when point is not used.
Edge Cases:
Ensure that stores have valid geolocation data.
Narrow distances (e.g., 50m) may result in no results if stores are outside the range.
Sorting by distance is automatic when using point.
The text was updated successfully, but these errors were encountered:
https://discord.com/channels/919820544684212225/1041689790795501598/threads/1237262180492247111
When passing the lat/long in the store lookup APIs if no stores are visible it can be due to the defined distance parameter in the request. to resolve this distance parameter can be removed and sortby parameter can be used
Need to add the following parameter details and edgecases
Key Parameters and Edge Cases:
distance (in miles): Defines the search radius. If no stores are within the radius, no results are returned.
point (lat,long): The central point for distance-based queries. The API sorts results by distance automatically.
sortBy: Not needed for distance sorting; omit it when using point.
fieldsToSelect: Allows limiting response fields, but only works when point is not used.
Edge Cases:
Ensure that stores have valid geolocation data.
Narrow distances (e.g., 50m) may result in no results if stores are outside the range.
Sorting by distance is automatic when using point.
The text was updated successfully, but these errors were encountered: