Skip to content

Commit f4f974c

Browse files
Document availability by SKU attributes (#97)
Co-authored-by: danolsonbby <[email protected]>
1 parent d27ea21 commit f4f974c

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

source/includes/stores/_index.md.erb

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -296,15 +296,16 @@ curl "https://api.bestbuy.com/v1/products/4807511/stores.json?postalCode=55423&a
296296
"ispuEligible": true,
297297
"stores": [
298298
{
299-
"storeID": "281",
300-
"name": "RICHFIELD MN",
301-
"address": "1000 WEST 78TH ST",
302-
"city": "RICHFIELD",
299+
"storeID": "10",
300+
"name": "Maplewood",
301+
"address": "1795 County Rd D E",
302+
"city": "Maplewood",
303303
"state": "MN",
304-
"postalCode": "55423",
304+
"postalCode": "55109",
305305
"storeType": "Big_Box_Store",
306-
"minPickupHours": 1,
307-
"lowStock": false
306+
"minPickupHours": null,
307+
"lowStock": false,
308+
"distance": 16.594
308309
},
309310
]
310311
}
@@ -317,3 +318,16 @@ The Stores API, in conjunction with the Products API, allows you to search store
317318
You can look up near real time store availability for single SKUs. You may search either on `postalCode` or based on `storeId`. Results for `postalCode` queries will include all stores within a 250 mile radius, sorted by proximity.
318319

319320
_HINT: The Products API attribute `inStoreAvailability` will tell you if a product is sold in stores but not if it's available at a particular store. Using the In-Store availability queries is equivalent to checking product availability in store._
321+
322+
Attribute | Description
323+
--------- | -----------
324+
**stores.storeID** | The unique ID of the store
325+
**stores.name** | The store name
326+
**stores.address** | The street address of the store
327+
**stores.city** | The city in which the store is located
328+
**stores.postalCode** | The postal code in which the store is located
329+
**stores.storeType** | The type of store
330+
**stores.minPickupHours** | The minimum number of hours that must pass after placing a store pick up order before the item will be available for pick up.
331+
**stores.lowStock** | Whether or not the product availability at this store is low and may soon shift to out of stock.
332+
**stores.distance** | The store's distance (in miles) from the given postalCode
333+

0 commit comments

Comments
 (0)