get https://api.staging.deliverect.com/commerce//stores
Returns the list of stores. A store represents a unique ordering experience from a specific location.
This endpoint returns all commerce stores for a given account.
Store distance to a given coordinates pair
When a pair of latitude and longitude coordinates are provided as parameters, a distance attribute for each store will be returned showing in metres how far the store is from the given coordinates.
Results can also be sorted by closest distance as in sample below;
?latitude=30.4515&longitude=-91.1871&sort=distanceStore status
The store status returns the current status. It can have the following values:
- open: the store is open and accepting orders.
- closed: the store is either closed or outside of the opening hours.
- busy: the store is open, but with a delay in the preparation time (refers to the busy mode orange).
- paused: the store is virtually closed (within the opening hours) and does not accept orders (refers to busy mode red).