Docs

JSON Samples

JSON Product Feed

{
    "feed": {
        "catalog": {
            "schema": [
                {
                    "fieldName": "occasion", 
                    "dataType": "text", 
                    "multiValued": "true", 
                    "autoSuggest": "false"
                }, 
                {
                    "fieldName": "fabric", 
                    "dataType": "text", 
                    "multiValued": "true", 
                    "autoSuggest": "false"
                }, 
                {
                    "fieldName": "gallery", 
                    "dataType": "link", 
                    "multiValued": "true", 
                    "autoSuggest": "false"
                }, 
                {
                    "fieldName": "qty", 
                    "dataType": "number", 
                    "multiValued": "false", 
                    "autoSuggest": "false"
                }, 
                {
                    "fieldName": "createdAt", 
                    "dataType": "date", 
                    "multiValued": "false", 
                    "autoSuggest": "false"
                }, 
                {
                    "fieldName": "updatedAt", 
                    "dataType": "date", 
                    "multiValued": "false", 
                    "autoSuggest": "false"
                }, 
                {
                    "fieldName": "isFeatured", 
                    "dataType": "bool", 
                    "multiValued": "false", 
                    "autoSuggest": "false"
                }
            ], 
            "add": {
                "items": [
                    {
                        "uniqueId": "5315b8555e4016e5737be1e5", 
                        "title": "Fitted Navy Stripe Wool Sportcoat", 
                        "brand": "The Kooples", 
                        "sku": "EXMP1", 
                        "category": [
                            "Men", 
                            "Apparel", 
                            "Suits", 
                            "Formal"
                        ], 
                        "catlevel1Name": "Men", 
                        "catlevel2Name": "Apparel", 
                        "catlevel3Name": "Suits", 
                        "catlevel4Name": "Formal", 
                        "color": "Navy", 
                        "gender": "men", 
                        "price": "845", 
                        "imageUrl": "http://www.example.com/p-1.jpg", 
                        "size": [
                            "M", 
                            "X", 
                            "XL"
                        ], 
                        "productUrl": "http://www.forexample.com/p-1.html", 
                        "availability": "true", 
                        "createdAt": "2012-02-16T06:02:32Z", 
                        "updatedAt": "2012-07-18T05:42:31Z", 
                        "occasion": "Wedding", 
                        "qty": "34", 
                        "isFeatured": "true", 
                        "gallery": [
                            "http://www.example.com/p-1-1.jpg", 
                            "http://www.example.com/p-1-2.jpg", 
                            "http://www.example.com/p-1-3.jpg", 
                            "http://www.example.com/p-1-4.jpg"
                        ], 
                        "description": "Pin-dot stripes pattern a handsome, two-button wool sportcoat tailored in a lean, modern fit with peak lapels."
                    }, 
                    {
                        "uniqueId": "5315b8555e4016e5737be1d8", 
                        "title": "Floral Print Shorts", 
                        "brand": "Olive and Oak", 
                        "sku": "EXMP2", 
                        "category": [
                            "Women", 
                            "Apparel", 
                            "Shorts"
                        ], 
                        "catlevel1Name": "Women", 
                        "catlevel2Name": "Apparel", 
                        "catlevel3Name": "Shorts", 
                        "color": "Red", 
                        "gender": "Women", 
                        "price": "300", 
                        "imageUrl": "http://www.example.com/p-2.jpg", 
                        "size": [
                            "S", 
                            "M", 
                            "L"
                        ], 
                        "productUrl": "http://www.example.com/p-2.html", 
                        "availability": "true", 
                        "createdAt": "2012-05-26T06:01:16Z", 
                        "updatedAt": "2012-09-18T05:41:51Z", 
                        "qty": "22", 
                        "isFeatured": "false", 
                        "fabric": "rayon", 
                        "gallery": [
                            "http://www.example.com/p-2-1.jpg", 
                            "http://www.example.com/p-2-2.jpg", 
                            "http://www.example.com/p-2-3.jpg", 
                            "http://www.example.com/p-2-4.jpg"
                        ], 
                        "description": "A ditsy floral print adds sweet charm to soft challis shorts with an adjustable drawstring topping the breezy fit."
                    }
                ]
            }, 
            "update": {
                "items": {
                    "uniqueId": "5315b8555e4016e5737be1d8", 
                    "qty": "20"
                }
            }, 
            "delete": {
                "items": {
                    "uniqueId": "5315b85235e4016e5735be1d8"
                }
            }
        }
    }
}

JSON Search Response

{
    "searchMetaData": {
        "status": 0,
        "queryTime": 4,
        "queryParams": {
            "q": "iphone cases",
            "start": "0",
            "rows": "2",
            "wt": "json",
            "facet": "false"
        }
    },
    "response": {
        "numberOfProducts": 87,
        "start": 0,
        "products": [
            {
                "uniqueId": "5315b8565e4016e5737be4a7",
                "category": [
                    "women"
                ],
                "category_fq": [
                    "women"
                ],
                "description": "A sturdy holographic-print case that keeps your iPhone safe from scratches. By MARC BY MARC JACOBS; imported.",
                "title": "'Zebra' Lenticular iPhone 5 & 5s Case",
                "color": [
                    "Orange Multi"
                ],
                "gender": "women",
                "imageUrl": [
                    "http://g.nordstromimage.com/imagegallery/store/product/Medium/1/_8493781.jpg"
                ],
                "image_link": "http://g.nordstromimage.com/imagegallery/store/product/Medium/1/_8493781.jpg",
                "catlevel1Name": "women",
                "pname": "'Zebra' Lenticular iPhone 5 & 5s Case",
                "price": 2803,
                "brand": "MARC BY MARC JACOBS",
                "categories": [
                    "Women"
                ],
            },
            {
                "uniqueId": "5315b8565e4016e5737be4a8",
                "category": [
                    "women"
                ],
                "category_fq": [
                    "women"
                ],
                "description": "A sturdy silicone case that keeps your iPhone safe from scratches. By MARC BY MARC JACOBS; imported.",
                "title": "'Olive' iPhone 5 & 5s Case",
                "color": [
                    "Black Multi"
                ],
                "color_fq": [
                    "Black Multi"
                ],
                "gender": "women",
                "imageUrl": [
                    "http://g.nordstromimage.com/imagegallery/store/product/Medium/5/_8467885.jpg"
                ],
                "image_link": "http://g.nordstromimage.com/imagegallery/store/product/Medium/5/_8467885.jpg",
                "catlevel1Name": "women",
                "pname": "'Olive' iPhone 5 & 5s Case",
                "price": 3204,
                "price_fq": 3204,
                "brand": "MARC BY MARC JACOBS",
                "categories": [
                    "Women"
                ],
           }
        ]
    }
}

Autosuggest Response

{
  "response": {
    "parsererror": {
      "-style": "display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black",
      "h3": [
        "This page contains the following errors:",
        "Below is a rendering of the page up to the first error."
      ],
      "div": {
        "-style": "font-family:monospace;font-size:12px",
        "#text": "error on line 54 at column 2: Extra content at the end of the document
"
      }
    },
    "lst": {
      "-name": "searchMetaData",
      "int": [
        {
          "-name": "status",
          "#text": "value"
        },
        {
          "-name": "queryTime",
          "#text": "value"
        }
      ],
      "lst": {
        "-name": "queryParams",
        "str": [
          {
            "-name": "q",
            "#text": "value"
          },
          {
            "-name": "topQueries.count",
            "#text": "value"
          },
          {
            "-name": "json.wrf",
            "#text": "jQuery11515510874409456_145824823539   "
          },
          {
            "-name": "keywordSuggestions.count",
            "#text": "value"
          },
          {
            "-name": "popularProducts.count",
            "#text": "value"
          },
          {
            "-name": "inFields.count",
            "#text": "value"
          },
          {
            "-name": "wt",
            "#text": "value"
          },
          {
            "-name": "_",
            "#text": "value"
          }
        ]
      }
    },
    "result": {
      "-name": "response",
      "-numberOfProducts": "value",
      "-start": "value",
      "product": [
        {
          "str": [
            {
              "-name": "autosuggest",
              "#text": "value"
            },
            {
              "-name": "doctype",
              "#text": "TOP_SEARCH_QUERIES"
            },
            {
              "-name": "uniqueId",
              "#text": "Random value"
            }
          ],
          "double": {
            "-name": "unbxdAutosuggestScore",
            "#text": "value"
          }
        },
        {
          "str": [
            {
              "-name": "autosuggest",
              "#text": "value"
            },
            {
              "-name": "doctype",
              "#text": "IN_FIELD"
            },
            {
              "-name": "unbxdAutosuggestSrc",
              "#text": "value"
            },
            {
              "-name": "uniqueId",
              "#text": "Random value"
            }
          ],
          "arr": {
            "-name": "value_in",
            "str": "value"
          }
        },
        {
          "str": [
            {
              "-name": "autosuggest",
              "#text": "value"
            },
            {
              "-name": "doctype",
              "#text": "POPULAR_PRODUCTS"
            },
            {
              "-name": "name",
              "#text": "value"
            },
            {
              "-name": "url_path",
              "#text": "
value  
   "
            },
            {
              "-name": "sku",
              "#text": "value"
            },
            {
              "-name": "uniqueId",
              "#text": "popularProduct_value"
            }
          ],
          "double": [
            {
              "-name": "price",
              "#text": "value"
            },
            {
              "-name": "unbxdAutosuggestScore",
              "#text": "value"
            }
          ],
          "arr": {
            "-name": "imageUrl",
            "str": "
value  
   "
          }
        },
        {
          "str": [
            {
              "-name": "autosuggest",
              "#text": "value"
            },
            {
              "-name": "doctype",
              "#text": "KEYWORD_SUGGESTION"
            },
            {
              "-name": "uniqueId",
              "#text": "Random value"
            }
          ]
        }
      ]
    }
  }
}

Bucket Response

{
    "totalProducts": 1101,
    "numberOfBuckets": 3,
    "men": {
        "numberOfProducts": 834,
        "start": 2,
        "products": [{
                "uniqueId": "5315b8555e4016e5737bdb19",
                "title": "Crosshatch Crewneck T-Shirt",
                "color": [
                    "Sapphire Blue"
                ],
                "gender": "men",
                "price": 11846.0,
                "size": [
                    "NA"
                ]
            },
            {
                "uniqueId": "5315b8555e4016e5737bdb3c",
                "description": "A checked sport shirt with a short spread collar is washed for a soft, casual look. Contrast flip cuffs complete the look. 100% cotton.By Hugo Boss; imported.Machine wash cold.Men's Sportswear.Learn more about the Hugo Boss labels.",
                "title": "'Cliffe' Sport Shirt",
                "color": [
                    "Light Blue/ Pink"
                ],
                "gender": "men",
                "price": 8984.0,
                "size": [
                    "NA"
                ]
            }
        ]
    },
    "sport": {
        "numberOfProducts": 207,
        "start": 2,
        "products": [{
                "uniqueId": "5315b8565e4016e5737bef8e",
                "title": "Slim-Fit Oxford Shirt",
                "gender": "men",
                "color": [
                    "Yellow Oxford"
                ],
                "price": 98.0
            },
            {
                "uniqueId": "5315b8565e4016e5737bef91",
                "title": "Custom-Fit Chambray Shirt",
                "gender": "men",
                "color": [
                    "FIELD WASH"
                ],
                "price": 98.0
            }
        ]
    }
}