diff --git a/PostmanCollections/VTEX - Intelligent Search API.json b/PostmanCollections/VTEX - Intelligent Search API.json index 9f65fc6e3..62f15c2ae 100644 --- a/PostmanCollections/VTEX - Intelligent Search API.json +++ b/PostmanCollections/VTEX - Intelligent Search API.json @@ -1,10 +1,10 @@ { "_": { - "postman_id": "aebb129b-8d24-4c00-a1ff-ce4476f191c5" + "postman_id": "199c75c7-3ec0-4734-861e-4940229409e2" }, "item": [ { - "id": "b5232865-5223-4617-b878-7b97c39293f2", + "id": "067c9d8f-6655-4c81-bbdb-5681c992915f", "name": "Autocomplete", "description": { "content": "", @@ -12,12 +12,12 @@ }, "item": [ { - "id": "49acb435-51f3-429c-a99f-507c9ff29411", + "id": "d434e647-a4c5-4d5e-b545-d11d80721445", "name": "Get list of the 10 most searched terms", "request": { "name": "Get list of the 10 most searched terms", "description": { - "content": "Lists the 10 most searched terms.", + "content": "Lists the 10 most searched terms in the past 14 days.", "type": "text/plain" }, "url": { @@ -72,7 +72,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "5451d0a2-73d4-4f36-be99-670a758198a0", + "id": "75e39503-a498-4794-abb8-20412cf3071d", "name": "OK", "originalRequest": { "url": { @@ -133,7 +133,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "5152ab99-2256-4414-8146-8ab258a8ff3e", + "id": "96a10415-54cf-4c98-b250-3c3fa01c3c14", "name": "Server error.", "originalRequest": { "url": { @@ -187,7 +187,7 @@ "value": "application/json" } ], - "body": "{\n \"stack\": \"commodo ut ex Duis exercitation\",\n \"message\": \"amet in\"\n}", + "body": "{\n \"stack\": \"proident esse\",\n \"message\": \"dolore ea \"\n}", "cookie": [] } ], @@ -195,13 +195,13 @@ { "listen": "test", "script": { - "id": "c411b5c6-bc2e-4908-bf29-757e78ab30a1", + "id": "bff1abf3-8dd6-4dfc-99a6-34ceb3155fc3", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/top_searches - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", "// Validate if response header has matching content-type\npm.test(\"[GET]::/top_searches - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", "// Validate if response has JSON Body \npm.test(\"[GET]::/top_searches - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", - "// Response Validation\nconst schema = {\"type\":\"object\",\"properties\":{\"searches\":{\"type\":\"array\",\"description\":\"A list of the 10 most searched terms.\",\"minItems\":10,\"maxItems\":10,\"items\":{\"type\":\"object\",\"properties\":{\"term\":{\"type\":\"string\",\"description\":\"Search term.\"},\"count\":{\"type\":\"number\",\"description\":\"Number of times the term was searched.\"}}}}},\"example\":{\"searches\":[{\"term\":\"home\",\"count\":14},{\"term\":\"shirt\",\"count\":10},{\"term\":\"top\",\"count\":9},{\"term\":\"tops\",\"count\":6},{\"term\":\"camera\",\"count\":5},{\"term\":\"kit\",\"count\":5},{\"term\":\"work shirt\",\"count\":2},{\"term\":\"shirts\",\"count\":2},{\"term\":\"clothing\",\"count\":2},{\"term\":\"classic shoes\",\"count\":1}]}}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/top_searches - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + "// Response Validation\nconst schema = {\"type\":\"object\",\"properties\":{\"searches\":{\"type\":\"array\",\"description\":\"List of the 10 most searched terms in the past 14 days.\",\"minItems\":10,\"maxItems\":10,\"items\":{\"type\":\"object\",\"properties\":{\"term\":{\"type\":\"string\",\"description\":\"Search term.\"},\"count\":{\"type\":\"number\",\"description\":\"Number of times the term was searched.\"}}}}},\"example\":{\"searches\":[{\"term\":\"home\",\"count\":14},{\"term\":\"shirt\",\"count\":10},{\"term\":\"top\",\"count\":9},{\"term\":\"tops\",\"count\":6},{\"term\":\"camera\",\"count\":5},{\"term\":\"kit\",\"count\":5},{\"term\":\"work shirt\",\"count\":2},{\"term\":\"shirts\",\"count\":2},{\"term\":\"clothing\",\"count\":2},{\"term\":\"classic shoes\",\"count\":1}]}}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/top_searches - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" ] } } @@ -211,7 +211,7 @@ } }, { - "id": "faf7f3b0-6b11-4a4b-9a80-770fe5cf176d", + "id": "309848b2-19a8-406e-8525-67fc3e342c26", "name": "Get list of suggested terms and attributes similar to the search term", "request": { "name": "Get list of suggested terms and attributes similar to the search term", @@ -280,7 +280,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "41e55628-e3e1-4a32-84b1-d64408096db0", + "id": "f7dcd1ee-3a65-49d1-9d81-107bb9119701", "name": "OK", "originalRequest": { "url": { @@ -338,14 +338,14 @@ "value": "application/json" } ], - "body": "{\n \"searches\": [\n {\n \"term\": \"consequat\",\n \"count\": 98657276.78479356,\n \"attributes\": [\n {\n \"key\": \"non est cupidatat occaecat\",\n \"value\": \"elit ut Lo\",\n \"labelKey\": \"cillum\",\n \"labelValue\": \"est sint Ut mollit enim\"\n },\n {\n \"key\": \"amet \",\n \"value\": \"nostrud laboris\",\n \"labelKey\": \"eu\",\n \"labelValue\": \"cillum est\"\n }\n ]\n },\n {\n \"term\": \"dolor quis Lorem\",\n \"count\": -63091413.248775385,\n \"attributes\": [\n {\n \"key\": \"aliquip elit\",\n \"value\": \"ut commodo pariatur adipisicing\",\n \"labelKey\": \"ipsum reprehenderit voluptate in consectetur\",\n \"labelValue\": \"sint ex labore commodo\"\n },\n {\n \"key\": \"of\",\n \"value\": \"p\",\n \"labelKey\": \"irure sed veniam sint\",\n \"labelValue\": \"repreh\"\n }\n ]\n }\n ]\n}", + "body": "{\n \"searches\": [\n {\n \"term\": \"nisi occaecat labore\",\n \"count\": 35255450.230689526,\n \"attributes\": [\n {\n \"key\": \"dolore irure ipsum\",\n \"value\": \"fugiat Duis elit\",\n \"labelKey\": \"quis minim in in\",\n \"labelValue\": \"irure pariatur ad aliquip est\"\n },\n {\n \"key\": \"sed con\",\n \"value\": \"qui labore anim cu\",\n \"labelKey\": \"magna quis\",\n \"labelValue\": \"aute ut adipisicing Lorem culpa\"\n }\n ]\n },\n {\n \"term\": \"elit aliqua dolore anim Duis\",\n \"count\": -38011330.03964505,\n \"attributes\": [\n {\n \"key\": \"quis\",\n \"value\": \"commodo enim nulla non\",\n \"labelKey\": \"commodo voluptate\",\n \"labelValue\": \"dolore\"\n },\n {\n \"key\": \"amet do\",\n \"value\": \"aute dolore velit pariatur\",\n \"labelKey\": \"culpa fugiat\",\n \"labelValue\": \"dolor Lorem proident\"\n }\n ]\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "45c9587f-644f-47a5-bd37-915770872b05", + "id": "d3097b1a-cd00-4538-b30e-464b690bbace", "name": "Server error.", "originalRequest": { "url": { @@ -403,7 +403,7 @@ "value": "application/json" } ], - "body": "{\n \"stack\": \"commodo ut ex Duis exercitation\",\n \"message\": \"amet in\"\n}", + "body": "{\n \"stack\": \"proident esse\",\n \"message\": \"dolore ea \"\n}", "cookie": [] } ], @@ -411,7 +411,7 @@ { "listen": "test", "script": { - "id": "1e0e3b36-af58-4cdf-a66e-fb8043071a9f", + "id": "6ecfae2f-789d-4cb4-9643-3c5771aead48", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/autocomplete_suggestions - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -430,7 +430,7 @@ "event": [] }, { - "id": "d6ba318e-e7fd-4199-9c24-006d3c9454a5", + "id": "46775c84-ad52-42ae-af92-64c5967bc291", "name": "Product List Page", "description": { "content": "", @@ -438,7 +438,7 @@ }, "item": [ { - "id": "fcc25709-7769-4dce-b55e-ddd7839c1274", + "id": "4067d8ad-cd8e-48c8-8732-a6f609faab65", "name": "Get attempt of correction of a misspelled term", "request": { "name": "Get attempt of correction of a misspelled term", @@ -507,7 +507,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "fa9cb436-720f-4086-97d2-c2b3985f41b1", + "id": "f24a4d85-7932-4a29-be82-491b53ca3d5e", "name": "OK", "originalRequest": { "url": { @@ -573,7 +573,7 @@ { "listen": "test", "script": { - "id": "9be690bc-3885-474c-a564-cea90d430461", + "id": "93457818-9b70-4350-bbbf-c36b27d055d7", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/correction_search - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -589,7 +589,7 @@ } }, { - "id": "e6475268-09ac-47fc-820d-18d0f1af83ac", + "id": "5446bcb3-01a7-4f10-9db5-d22bfd56ad1f", "name": "Get list of banners registered for query", "request": { "name": "Get list of banners registered for query", @@ -669,7 +669,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "6ab35bf4-13f5-496b-ab50-c4aa8c942cd3", + "id": "ae64d81a-d615-436b-8e1e-6c02f110bd82", "name": "OK", "originalRequest": { "url": { @@ -746,7 +746,7 @@ { "listen": "test", "script": { - "id": "07cf906a-3af1-4085-9754-b4e1d1b1d782", + "id": "b721b99f-9611-404a-9fe2-0468d3d49164", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/banners/:facets - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -762,7 +762,7 @@ } }, { - "id": "e7db668f-b729-4ac1-bdc4-e6c337252ef8", + "id": "bcf3d875-0513-4d68-a913-2ab3157bab48", "name": "Get list of suggested terms similar to the search term", "request": { "name": "Get list of suggested terms similar to the search term", @@ -831,7 +831,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "7e310ea5-441e-4b3c-a60b-1c4cace20753", + "id": "43b3bf4e-cfbc-44d6-93d4-89e127bc6c8b", "name": "OK", "originalRequest": { "url": { @@ -889,14 +889,14 @@ "value": "application/json" } ], - "body": "{\n \"searches\": [\n {\n \"term\": \"pariatur et consequat\",\n \"count\": 89059904.810471\n },\n {\n \"term\": \"labore Ut\",\n \"count\": -16372010.954075515\n }\n ]\n}", + "body": "{\n \"searches\": [\n {\n \"term\": \"in nostrud\",\n \"count\": 64036833.35332051\n },\n {\n \"term\": \"enim sed\",\n \"count\": -36857681.629819706\n }\n ]\n}", "cookie": [] }, { "_": { "postman_previewlanguage": "json" }, - "id": "4af6aba5-cfd1-4945-8e85-02f526a6db1b", + "id": "de9a5348-2eb7-4d9e-a073-bb649d4e0c80", "name": "Server error.", "originalRequest": { "url": { @@ -954,7 +954,7 @@ "value": "application/json" } ], - "body": "{\n \"stack\": \"commodo ut ex Duis exercitation\",\n \"message\": \"amet in\"\n}", + "body": "{\n \"stack\": \"proident esse\",\n \"message\": \"dolore ea \"\n}", "cookie": [] } ], @@ -962,7 +962,7 @@ { "listen": "test", "script": { - "id": "f57163d6-4b53-4c94-87d0-68b921d8ee7a", + "id": "2e8c785b-c95b-4031-a22a-630a7bbf59c5", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/search_suggestions - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -978,12 +978,12 @@ } }, { - "id": "adb38898-0233-4fdf-b755-43cd5aa7a4b8", + "id": "675a63c2-8dc2-45d6-996c-2bcbcbada5f1", "name": "Get list of products for a query", "request": { "name": "Get list of products for a query", "description": { - "content": "Lists the products for a given query.", + "content": "Lists the active products for a given query.", "type": "text/plain" }, "url": { @@ -1103,7 +1103,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "b7fd9cda-0f5b-44ff-9f43-34385f4cb85e", + "id": "4f595127-fb15-4233-94ea-287108fe8405", "name": "List of products for the given query.", "originalRequest": { "url": { @@ -1200,13 +1200,13 @@ { "listen": "test", "script": { - "id": "ebb6430a-366d-4c07-92b1-ca8e59bac645", + "id": "92863c20-7ca2-40c5-960e-e585025953b0", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/product_search/:facets - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", "// Validate if response header has matching content-type\npm.test(\"[GET]::/product_search/:facets - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", "// Validate if response has JSON Body \npm.test(\"[GET]::/product_search/:facets - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", - "// Response Validation\nconst schema = {\"example\":{\"products\":[{\"cacheId\":\"sp-2000003\",\"productId\":\"2000003\",\"description\":\"With this beautiful design piece you will never miss an appointment anymore. Yay.\",\"productName\":\"Top Wood Clock\",\"productReference\":\"clock120\",\"linkText\":\"wood-clock\",\"brand\":\"Sony\",\"brandId\":2000005,\"link\":\"/wood-clock/p\",\"categories\":[\"/Home & Decor/\"],\"categoryId\":\"40\",\"categoriesIds\":[\"/40/\"],\"priceRange\":{\"sellingPrice\":{\"highPrice\":197.99,\"lowPrice\":197.99},\"listPrice\":{\"highPrice\":197.99,\"lowPrice\":197.99}},\"specificationGroups\":[{\"originalName\":\"allSpecifications\",\"name\":\"allSpecifications\",\"specifications\":[{\"originalName\":\"sellerId\",\"name\":\"sellerId\",\"values\":[\"1\"]}]}],\"skuSpecifications\":[],\"productClusters\":[{\"id\":\"1970\",\"name\":\"Summer\"}],\"clusterHighlights\":[{\"id\":\"1970\",\"name\":\"Summer\"}],\"properties\":[{\"name\":\"sellerId\",\"originalName\":\"sellerId\",\"values\":[\"1\"]}],\"items\":[{\"sellers\":[{\"sellerId\":\"1\",\"sellerName\":\"VTEX\",\"addToCartLink\":\"\",\"sellerDefault\":true,\"commertialOffer\":{\"DeliverySlaSamplesPerRegion\":{},\"DeliverySlaSamples\":[],\"AvailableQuantity\":10000,\"discountHighlights\":[],\"Installments\":[{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"American Express à vista\",\"PaymentSystemName\":\"American Express\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Visa à vista\",\"PaymentSystemName\":\"Visa\"},{\"Value\":98.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":2,\"Name\":\"Visa 2 vezes sem juros\",\"PaymentSystemName\":\"Visa\"},{\"Value\":65.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":3,\"Name\":\"Visa 3 vezes sem juros\",\"PaymentSystemName\":\"Visa\"},{\"Value\":49.49,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":4,\"Name\":\"Visa 4 vezes sem juros\",\"PaymentSystemName\":\"Visa\"},{\"Value\":39.59,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":5,\"Name\":\"Visa 5 vezes sem juros\",\"PaymentSystemName\":\"Visa\"},{\"Value\":32.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":6,\"Name\":\"Visa 6 vezes sem juros\",\"PaymentSystemName\":\"Visa\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Diners à vista\",\"PaymentSystemName\":\"Diners\"},{\"Value\":100.48,\"InterestRate\":100,\"TotalValuePlusInterestRate\":200.96,\"NumberOfInstallments\":2,\"Name\":\"Diners 2 vezes com juros\",\"PaymentSystemName\":\"Diners\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Mastercard à vista\",\"PaymentSystemName\":\"Mastercard\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Boleto Bancário à vista\",\"PaymentSystemName\":\"Boleto Bancário\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Vale à vista\",\"PaymentSystemName\":\"Vale\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Promissory à vista\",\"PaymentSystemName\":\"Promissory\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Customer Credit à vista\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":98.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":2,\"Name\":\"Customer Credit 2 vezes sem juros\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":67.97,\"InterestRate\":100,\"TotalValuePlusInterestRate\":203.91,\"NumberOfInstallments\":3,\"Name\":\"Customer Credit 3 vezes com juros\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Free à vista\",\"PaymentSystemName\":\"Free\"}],\"Price\":197.99,\"ListPrice\":197.99,\"spotPrice\":197.99,\"taxPercentage\":0,\"PriceWithoutDiscount\":197.99,\"Tax\":0,\"GiftSkuIds\":[],\"BuyTogether\":[],\"ItemMetadataAttachment\":[],\"RewardValue\":0,\"PriceValidUntil\":\"2023-04-01T13:13:20Z\",\"GetInfoErrorMessage\":null,\"CacheVersionUsedToCallCheckout\":\"\",\"teasers\":[{\"name\":\"8% Boleto\",\"conditions\":{\"minimumQuantity\":0,\"parameters\":[{\"name\":\"PaymentMethodId\",\"value\":\"6\"}]},\"effects\":{\"parameters\":[{\"name\":\"PercentualDiscount\",\"value\":\"8.0\"}]}}]}}],\"images\":[{\"imageId\":\"155484\",\"cacheId\":\"155484\",\"imageTag\":\"\",\"imageLabel\":\"\",\"imageText\":\"\",\"imageUrl\":\"https://storecomponents.vtexassets.com/arquivos/ids/155484/Frame.jpg?v=636793817478300000\"},{\"imageId\":\"155485\",\"cacheId\":\"155485\",\"imageTag\":\"\",\"imageLabel\":\"\",\"imageText\":\"\",\"imageUrl\":\"https://storecomponents.vtexassets.com/arquivos/ids/155485/Frame-1.jpg?v=636793817642000000\"},{\"imageId\":\"155486\",\"cacheId\":\"155486\",\"imageTag\":\"\",\"imageLabel\":\"\",\"imageText\":\"\",\"imageUrl\":\"https://storecomponents.vtexassets.com/arquivos/ids/155486/Frame-2.jpg?v=636793817785530000\"}],\"itemId\":\"2000534\",\"name\":\"1\",\"nameComplete\":\"Top Wood Clock 1\",\"complementName\":\"\",\"referenceId\":[{\"Key\":\"RefId\",\"Value\":\"16001\"}],\"measurementUnit\":\"un\",\"unitMultiplier\":1,\"variations\":[],\"ean\":\"16001\",\"modalType\":\"\",\"videos\":[],\"attachments\":[],\"isKit\":false}],\"origin\":\"intelligent-search\"},{\"cacheId\":\"sp-2000214\",\"productId\":\"2000214\",\"description\":\"\",\"productName\":\"kevin1\",\"linkText\":\"kevin1-lkn\",\"brand\":\"Sony\",\"brandId\":2000005,\"link\":\"/kevin1-lkn/p\",\"categories\":[\"/Home & Decor/\"],\"categoryId\":\"40\",\"categoriesIds\":[\"/40/\"],\"priceRange\":{\"sellingPrice\":{\"highPrice\":10,\"lowPrice\":10},\"listPrice\":{\"highPrice\":10,\"lowPrice\":10}},\"specificationGroups\":[{\"originalName\":\"allSpecifications\",\"name\":\"allSpecifications\",\"specifications\":[{\"originalName\":\"sellerId\",\"name\":\"sellerId\",\"values\":[\"1\"]}]}],\"skuSpecifications\":[],\"productClusters\":[],\"clusterHighlights\":[],\"properties\":[{\"name\":\"sellerId\",\"originalName\":\"sellerId\",\"values\":[\"1\"]}],\"items\":[{\"sellers\":[{\"sellerId\":\"1\",\"sellerName\":\"VTEX\",\"addToCartLink\":\"\",\"sellerDefault\":true,\"commertialOffer\":{\"DeliverySlaSamplesPerRegion\":{},\"DeliverySlaSamples\":[],\"AvailableQuantity\":10000,\"discountHighlights\":[],\"Installments\":[{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"American Express à vista\",\"PaymentSystemName\":\"American Express\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Visa à vista\",\"PaymentSystemName\":\"Visa\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Diners à vista\",\"PaymentSystemName\":\"Diners\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Mastercard à vista\",\"PaymentSystemName\":\"Mastercard\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Boleto Bancário à vista\",\"PaymentSystemName\":\"Boleto Bancário\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Vale à vista\",\"PaymentSystemName\":\"Vale\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Promissory à vista\",\"PaymentSystemName\":\"Promissory\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Customer Credit à vista\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":5,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":2,\"Name\":\"Customer Credit 2 vezes sem juros\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":3.43,\"InterestRate\":100,\"TotalValuePlusInterestRate\":10.29,\"NumberOfInstallments\":3,\"Name\":\"Customer Credit 3 vezes com juros\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Free à vista\",\"PaymentSystemName\":\"Free\"}],\"Price\":10,\"ListPrice\":10,\"spotPrice\":10,\"taxPercentage\":0,\"PriceWithoutDiscount\":10,\"Tax\":0,\"GiftSkuIds\":[],\"BuyTogether\":[],\"ItemMetadataAttachment\":[],\"RewardValue\":0,\"PriceValidUntil\":\"2023-04-01T13:13:20Z\",\"GetInfoErrorMessage\":null,\"CacheVersionUsedToCallCheckout\":\"\",\"teasers\":[{\"name\":\"8% Boleto\",\"conditions\":{\"minimumQuantity\":0,\"parameters\":[{\"name\":\"PaymentMethodId\",\"value\":\"6\"}]},\"effects\":{\"parameters\":[{\"name\":\"PercentualDiscount\",\"value\":\"8.0\"}]}}]}}],\"images\":[{\"imageId\":\"155675\",\"cacheId\":\"155675\",\"imageTag\":\"\",\"imageLabel\":\"vtex\",\"imageText\":\"vtex\",\"imageUrl\":\"https://storecomponents.vtexassets.com/arquivos/ids/155675/vtex.jpg?v=637655270451200000\"}],\"itemId\":\"310124211\",\"name\":\"kevin1sku\",\"nameComplete\":\"kevin1sku\",\"complementName\":\"\",\"referenceId\":[{\"Key\":\"RefId\",\"Value\":\"2983678w63478\"}],\"measurementUnit\":\"un\",\"unitMultiplier\":1,\"variations\":[],\"ean\":\"2398428937489\",\"modalType\":\"\",\"videos\":[],\"attachments\":[],\"isKit\":false}],\"origin\":\"intelligent-search\"}],\"recordsFiltered\":5,\"correction\":{\"misspelled\":false},\"fuzzy\":\"0\",\"operator\":\"and\",\"translated\":false},\"type\":\"object\",\"properties\":{\"recordsFiltered\":{\"type\":\"number\",\"description\":\"Total number of products.\"},\"correction\":{\"type\":\"object\",\"description\":\"Object with information of misspelled terms.\",\"properties\":{\"misspelled\":{\"type\":\"boolean\",\"description\":\"Whether the term is misspelled (`true`) or not (`false`).\"}}},\"fuzzy\":{\"type\":\"string\",\"description\":\"Indicates how the search engine corrected the misspelled word by using fuzzy logic. It can be a number representing the max number of misspelled letters, or the string `auto` suggesting that the search-engine should set this value by itself.\"},\"operator\":{\"type\":\"string\",\"enum\":[\"and\",\"or\"],\"description\":\"Indicates how the search-engine dealt with the fullText when there is more than one word.\\n * `and` - It means that the products contains all the words in the query.\\n * `or` - It means that the results will contain at least one word from the original search query. If `and` was not possible, `or` will be the fallback.\"},\"products\":{\"type\":\"array\",\"description\":\"List of products\",\"items\":{\"type\":\"object\"}},\"translated\":{\"type\":\"boolean\",\"description\":\"Whether the list of products was translated by the IS (`true`) or not (`false`).\"}}}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/product_search/:facets - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + "// Response Validation\nconst schema = {\"example\":{\"products\":[{\"cacheId\":\"sp-2000003\",\"productId\":\"2000003\",\"description\":\"With this beautiful design piece you will never miss an appointment anymore. Yay.\",\"productName\":\"Top Wood Clock\",\"productReference\":\"clock120\",\"linkText\":\"wood-clock\",\"brand\":\"Sony\",\"brandId\":2000005,\"link\":\"/wood-clock/p\",\"categories\":[\"/Home & Decor/\"],\"categoryId\":\"40\",\"categoriesIds\":[\"/40/\"],\"priceRange\":{\"sellingPrice\":{\"highPrice\":197.99,\"lowPrice\":197.99},\"listPrice\":{\"highPrice\":197.99,\"lowPrice\":197.99}},\"specificationGroups\":[{\"originalName\":\"allSpecifications\",\"name\":\"allSpecifications\",\"specifications\":[{\"originalName\":\"sellerId\",\"name\":\"sellerId\",\"values\":[\"1\"]}]}],\"skuSpecifications\":[],\"productClusters\":[{\"id\":\"1970\",\"name\":\"Summer\"}],\"clusterHighlights\":[{\"id\":\"1970\",\"name\":\"Summer\"}],\"properties\":[{\"name\":\"sellerId\",\"originalName\":\"sellerId\",\"values\":[\"1\"]}],\"items\":[{\"sellers\":[{\"sellerId\":\"1\",\"sellerName\":\"VTEX\",\"addToCartLink\":\"\",\"sellerDefault\":true,\"commertialOffer\":{\"DeliverySlaSamplesPerRegion\":{},\"DeliverySlaSamples\":[],\"AvailableQuantity\":10000,\"discountHighlights\":[],\"Installments\":[{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"American Express à vista\",\"PaymentSystemName\":\"American Express\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Visa à vista\",\"PaymentSystemName\":\"Visa\"},{\"Value\":98.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":2,\"Name\":\"Visa 2 vezes sem juros\",\"PaymentSystemName\":\"Visa\"},{\"Value\":65.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":3,\"Name\":\"Visa 3 vezes sem juros\",\"PaymentSystemName\":\"Visa\"},{\"Value\":49.49,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":4,\"Name\":\"Visa 4 vezes sem juros\",\"PaymentSystemName\":\"Visa\"},{\"Value\":39.59,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":5,\"Name\":\"Visa 5 vezes sem juros\",\"PaymentSystemName\":\"Visa\"},{\"Value\":32.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":6,\"Name\":\"Visa 6 vezes sem juros\",\"PaymentSystemName\":\"Visa\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Diners à vista\",\"PaymentSystemName\":\"Diners\"},{\"Value\":100.48,\"InterestRate\":100,\"TotalValuePlusInterestRate\":200.96,\"NumberOfInstallments\":2,\"Name\":\"Diners 2 vezes com juros\",\"PaymentSystemName\":\"Diners\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Mastercard à vista\",\"PaymentSystemName\":\"Mastercard\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Boleto Bancário à vista\",\"PaymentSystemName\":\"Boleto Bancário\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Vale à vista\",\"PaymentSystemName\":\"Vale\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Promissory à vista\",\"PaymentSystemName\":\"Promissory\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Customer Credit à vista\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":98.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":2,\"Name\":\"Customer Credit 2 vezes sem juros\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":67.97,\"InterestRate\":100,\"TotalValuePlusInterestRate\":203.91,\"NumberOfInstallments\":3,\"Name\":\"Customer Credit 3 vezes com juros\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":197.99,\"InterestRate\":0,\"TotalValuePlusInterestRate\":197.99,\"NumberOfInstallments\":1,\"Name\":\"Free à vista\",\"PaymentSystemName\":\"Free\"}],\"Price\":197.99,\"ListPrice\":197.99,\"spotPrice\":197.99,\"taxPercentage\":0,\"PriceWithoutDiscount\":197.99,\"Tax\":0,\"GiftSkuIds\":[],\"BuyTogether\":[],\"ItemMetadataAttachment\":[],\"RewardValue\":0,\"PriceValidUntil\":\"2023-04-01T13:13:20Z\",\"GetInfoErrorMessage\":null,\"CacheVersionUsedToCallCheckout\":\"\",\"teasers\":[{\"name\":\"8% Boleto\",\"conditions\":{\"minimumQuantity\":0,\"parameters\":[{\"name\":\"PaymentMethodId\",\"value\":\"6\"}]},\"effects\":{\"parameters\":[{\"name\":\"PercentualDiscount\",\"value\":\"8.0\"}]}}]}}],\"images\":[{\"imageId\":\"155484\",\"cacheId\":\"155484\",\"imageTag\":\"\",\"imageLabel\":\"\",\"imageText\":\"\",\"imageUrl\":\"https://storecomponents.vtexassets.com/arquivos/ids/155484/Frame.jpg?v=636793817478300000\"},{\"imageId\":\"155485\",\"cacheId\":\"155485\",\"imageTag\":\"\",\"imageLabel\":\"\",\"imageText\":\"\",\"imageUrl\":\"https://storecomponents.vtexassets.com/arquivos/ids/155485/Frame-1.jpg?v=636793817642000000\"},{\"imageId\":\"155486\",\"cacheId\":\"155486\",\"imageTag\":\"\",\"imageLabel\":\"\",\"imageText\":\"\",\"imageUrl\":\"https://storecomponents.vtexassets.com/arquivos/ids/155486/Frame-2.jpg?v=636793817785530000\"}],\"itemId\":\"2000534\",\"name\":\"1\",\"nameComplete\":\"Top Wood Clock 1\",\"complementName\":\"\",\"referenceId\":[{\"Key\":\"RefId\",\"Value\":\"16001\"}],\"measurementUnit\":\"un\",\"unitMultiplier\":1,\"variations\":[],\"ean\":\"16001\",\"modalType\":\"\",\"videos\":[],\"attachments\":[],\"isKit\":false}],\"origin\":\"intelligent-search\"},{\"cacheId\":\"sp-2000214\",\"productId\":\"2000214\",\"description\":\"\",\"productName\":\"kevin1\",\"linkText\":\"kevin1-lkn\",\"brand\":\"Sony\",\"brandId\":2000005,\"link\":\"/kevin1-lkn/p\",\"categories\":[\"/Home & Decor/\"],\"categoryId\":\"40\",\"categoriesIds\":[\"/40/\"],\"priceRange\":{\"sellingPrice\":{\"highPrice\":10,\"lowPrice\":10},\"listPrice\":{\"highPrice\":10,\"lowPrice\":10}},\"specificationGroups\":[{\"originalName\":\"allSpecifications\",\"name\":\"allSpecifications\",\"specifications\":[{\"originalName\":\"sellerId\",\"name\":\"sellerId\",\"values\":[\"1\"]}]}],\"skuSpecifications\":[],\"productClusters\":[],\"clusterHighlights\":[],\"properties\":[{\"name\":\"sellerId\",\"originalName\":\"sellerId\",\"values\":[\"1\"]}],\"items\":[{\"sellers\":[{\"sellerId\":\"1\",\"sellerName\":\"VTEX\",\"addToCartLink\":\"\",\"sellerDefault\":true,\"commertialOffer\":{\"DeliverySlaSamplesPerRegion\":{},\"DeliverySlaSamples\":[],\"AvailableQuantity\":10000,\"discountHighlights\":[],\"Installments\":[{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"American Express à vista\",\"PaymentSystemName\":\"American Express\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Visa à vista\",\"PaymentSystemName\":\"Visa\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Diners à vista\",\"PaymentSystemName\":\"Diners\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Mastercard à vista\",\"PaymentSystemName\":\"Mastercard\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Boleto Bancário à vista\",\"PaymentSystemName\":\"Boleto Bancário\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Vale à vista\",\"PaymentSystemName\":\"Vale\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Promissory à vista\",\"PaymentSystemName\":\"Promissory\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Customer Credit à vista\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":5,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":2,\"Name\":\"Customer Credit 2 vezes sem juros\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":3.43,\"InterestRate\":100,\"TotalValuePlusInterestRate\":10.29,\"NumberOfInstallments\":3,\"Name\":\"Customer Credit 3 vezes com juros\",\"PaymentSystemName\":\"Customer Credit\"},{\"Value\":10,\"InterestRate\":0,\"TotalValuePlusInterestRate\":10,\"NumberOfInstallments\":1,\"Name\":\"Free à vista\",\"PaymentSystemName\":\"Free\"}],\"Price\":10,\"ListPrice\":10,\"spotPrice\":10,\"taxPercentage\":0,\"PriceWithoutDiscount\":10,\"Tax\":0,\"GiftSkuIds\":[],\"BuyTogether\":[],\"ItemMetadataAttachment\":[],\"RewardValue\":0,\"PriceValidUntil\":\"2023-04-01T13:13:20Z\",\"GetInfoErrorMessage\":null,\"CacheVersionUsedToCallCheckout\":\"\",\"teasers\":[{\"name\":\"8% Boleto\",\"conditions\":{\"minimumQuantity\":0,\"parameters\":[{\"name\":\"PaymentMethodId\",\"value\":\"6\"}]},\"effects\":{\"parameters\":[{\"name\":\"PercentualDiscount\",\"value\":\"8.0\"}]}}]}}],\"images\":[{\"imageId\":\"155675\",\"cacheId\":\"155675\",\"imageTag\":\"\",\"imageLabel\":\"vtex\",\"imageText\":\"vtex\",\"imageUrl\":\"https://storecomponents.vtexassets.com/arquivos/ids/155675/vtex.jpg?v=637655270451200000\"}],\"itemId\":\"310124211\",\"name\":\"kevin1sku\",\"nameComplete\":\"kevin1sku\",\"complementName\":\"\",\"referenceId\":[{\"Key\":\"RefId\",\"Value\":\"2983678w63478\"}],\"measurementUnit\":\"un\",\"unitMultiplier\":1,\"variations\":[],\"ean\":\"2398428937489\",\"modalType\":\"\",\"videos\":[],\"attachments\":[],\"isKit\":false}],\"origin\":\"intelligent-search\"}],\"recordsFiltered\":5,\"correction\":{\"misspelled\":false},\"fuzzy\":\"0\",\"operator\":\"and\",\"translated\":false},\"type\":\"object\",\"properties\":{\"recordsFiltered\":{\"type\":\"number\",\"description\":\"Total number of products.\"},\"correction\":{\"type\":\"object\",\"description\":\"Object with information of misspelled terms.\",\"properties\":{\"misspelled\":{\"type\":\"boolean\",\"description\":\"Whether the term is misspelled (`true`) or not (`false`).\"}}},\"fuzzy\":{\"type\":\"string\",\"description\":\"Indicates how the search engine corrected the misspelled word by using fuzzy logic. It can be a number representing the max number of misspelled letters, or the string `auto` suggesting that the search-engine should set this value by itself.\"},\"operator\":{\"type\":\"string\",\"enum\":[\"and\",\"or\"],\"description\":\"Indicates how the search-engine dealt with the fullText when there is more than one word.\\n * `and` - It means that the products contains all the words in the query.\\n * `or` - It means that the results will contain at least one word from the original search query. If `and` was not possible, `or` will be the fallback.\"},\"products\":{\"type\":\"array\",\"description\":\"List of active products.\",\"items\":{\"type\":\"object\"}},\"translated\":{\"type\":\"boolean\",\"description\":\"Whether the list of products was translated by the IS (`true`) or not (`false`).\"}}}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/product_search/:facets - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" ] } } @@ -1216,7 +1216,7 @@ } }, { - "id": "ec7be714-8eff-4fa9-a4db-18813ca4494a", + "id": "3f7c52e8-bf2b-4048-ada1-d9c18cdfe023", "name": "Get list of the possible facets for a given query", "request": { "name": "Get list of the possible facets for a given query", @@ -1305,7 +1305,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "fcfedcb4-f607-4318-b644-386aa0da5026", + "id": "4719b164-5b2d-4116-af3a-8ca08ac30485", "name": "List of facets for the given query.", "originalRequest": { "url": { @@ -1378,7 +1378,7 @@ "value": "application/json" } ], - "body": "{\n \"facets\": [\n {\n \"type\": \"TEXT\",\n \"name\": \"culpa aute\",\n \"hidden\": true,\n \"quantity\": -8512438.044276834,\n \"values\": [\n {\n \"id\": \"deserunt\",\n \"quantity\": 26723699.133038044,\n \"name\": \"id culpa\",\n \"key\": \"reprehenderit deserunt\",\n \"value\": \"do sit \",\n \"selected\": false\n },\n {\n \"id\": \"ut qui consectetur deserunt est\",\n \"quantity\": -5485874.52255775,\n \"name\": \"enim minim culpa\",\n \"key\": \"fugiat\",\n \"value\": \"consectetur nisi veniam non Ut\",\n \"selected\": false\n }\n ]\n },\n {\n \"type\": \"PRICERANGE\",\n \"name\": \"tempor magna in ullamco\",\n \"hidden\": false,\n \"quantity\": -11635659.162261546,\n \"values\": [\n {\n \"id\": \"officia occaecat\",\n \"quantity\": -41025999.646688804,\n \"name\": \"Ut aute consectetur\",\n \"key\": \"dolor\",\n \"value\": \"ame\",\n \"selected\": false\n },\n {\n \"id\": \"quis velit Lorem ipsum\",\n \"quantity\": 33376411.071588755,\n \"name\": \"deserunt commodo\",\n \"key\": \"cillum incididunt ut est\",\n \"value\": \"nulla aliquip Lorem\",\n \"selected\": true\n }\n ]\n }\n ],\n \"sampling\": true,\n \"breadcrumb\": [\n {\n \"name\": \"qui esse consequat\",\n \"href\": \"veniam cupidatat aliqua\"\n },\n {\n \"name\": \"pariatur nisi eu ullamco\",\n \"href\": \"aliqua Ut\"\n }\n ],\n \"queryArgs\": {\n \"query\": \"proident consectetur\",\n \"selectedFacets\": [\n {\n \"key\": \"esse in\",\n \"value\": \"adipisicing deserunt Lorem consectetur dolore\"\n },\n {\n \"key\": \"quis qui adipisicing ut\",\n \"value\": \"consequat magna sit reprehenderit\"\n }\n ]\n }\n}", + "body": "{\n \"facets\": [\n {\n \"type\": \"PRICERANGE\",\n \"name\": \"aute deserunt anim elit\",\n \"hidden\": false,\n \"quantity\": 59920858.40352321,\n \"values\": [\n {\n \"id\": \"aute dolore Duis\",\n \"quantity\": 96103806.66636035,\n \"name\": \"amet adipisicing eiusmod Ut\",\n \"key\": \"\",\n \"value\": \"voluptate culpa cillum et sed\",\n \"selected\": false\n },\n {\n \"id\": \"dolore consequat occaecat exercitation\",\n \"quantity\": -70252750.38618974,\n \"name\": \"anim ullamco Ut\",\n \"key\": \"est \",\n \"value\": \"nulla velit qui\",\n \"selected\": false\n }\n ]\n },\n {\n \"type\": \"TEXT\",\n \"name\": \"aute Lorem mollit esse culpa\",\n \"hidden\": false,\n \"quantity\": 82950028.45529336,\n \"values\": [\n {\n \"id\": \"amet veniam\",\n \"quantity\": -11107039.777527869,\n \"name\": \"qui enim\",\n \"key\": \"mollit ad Excepteur aliqua\",\n \"value\": \"in non Lorem\",\n \"selected\": false\n },\n {\n \"id\": \"ea ad\",\n \"quantity\": -4230130.630298361,\n \"name\": \"laborum commodo Excepteur\",\n \"key\": \"ea elit\",\n \"value\": \"incididunt sit nulla do\",\n \"selected\": true\n }\n ]\n }\n ],\n \"sampling\": false,\n \"breadcrumb\": [\n {\n \"name\": \"est incididunt dolore\",\n \"href\": \"Ut eiusmod consequat\"\n },\n {\n \"name\": \"est cupidatat \",\n \"href\": \"ut culpa Lorem mollit\"\n }\n ],\n \"queryArgs\": {\n \"query\": \"mollit eu ex\",\n \"selectedFacets\": [\n {\n \"key\": \"ad non\",\n \"value\": \"eiusmod consectetur in\"\n },\n {\n \"key\": \"ad dolor ex\",\n \"value\": \"nisi sunt in\"\n }\n ]\n }\n}", "cookie": [] } ], @@ -1386,7 +1386,7 @@ { "listen": "test", "script": { - "id": "57540a82-e8e8-4cb3-b02f-fc6e0857139a", + "id": "04c41edd-08a7-4dfc-80a6-f403c72fae16", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/facets/:facets - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1432,7 +1432,7 @@ } ], "info": { - "_postman_id": "aebb129b-8d24-4c00-a1ff-ce4476f191c5", + "_postman_id": "199c75c7-3ec0-4734-861e-4940229409e2", "name": "Intelligent Search API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { diff --git a/VTEX - Intelligent Search API.json b/VTEX - Intelligent Search API.json index 294d59549..5f63bf69c 100644 --- a/VTEX - Intelligent Search API.json +++ b/VTEX - Intelligent Search API.json @@ -31,7 +31,7 @@ "/top_searches": { "get": { "summary": "Get list of the 10 most searched terms", - "description": "Lists the 10 most searched terms.", + "description": "Lists the 10 most searched terms in the past 14 days.", "parameters": [ { "$ref": "#/components/parameters/locale" @@ -206,7 +206,7 @@ "/product_search/{facets}": { "get": { "summary": "Get list of products for a query", - "description": "Lists the products for a given query.", + "description": "Lists the active products for a given query.", "tags": [ "Product List Page" ], @@ -484,7 +484,7 @@ "properties": { "searches": { "type": "array", - "description": "A list of the 10 most searched terms.", + "description": "List of the 10 most searched terms in the past 14 days.", "minItems": 10, "maxItems": 10, "items": { @@ -1227,7 +1227,7 @@ }, "products": { "type": "array", - "description": "List of products", + "description": "List of active products.", "items": { "type": "object" }