Old Navy

Check in-store pickup stock for an Old Navy, Gap, Banana Republic, or Athleta product

Checks per-size, in-store pickup stock status for one color (pid) at one or more physical stores. pid matches oldnavy-product's own color-level id. Give store location either directly with store_id (one or more comma-separated store ids, e.g. from a prior call to this endpoint or a value you already have) or with zip or both lat and lng, which resolves the nearest stores automatically. Select the storefront with the brand parameter (on for Old Navy, gap for Gap, br for Banana Republic, at for Athleta; defaults to on). Each returned store lists every offered size's stock status: in_stock, out_of_stock, or low_stock.

get/oldnavy/product/availability

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/oldnavy/product/availability
  • Auth: API key in header x-api-key

Query parameters

pidstring required

Color-level Old Navy/Gap/Banana Republic/Athleta product id

brand'on' | 'gap' | 'br' | 'at'

Storefront to check

store_idstring

One or more comma-separated numeric store ids

zipstring

Zip code to resolve the nearest stores from

latnumber

Latitude to resolve the nearest stores from (must be given together with lng)

lngnumber

Longitude to resolve the nearest stores from (must be given together with lat)

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.