{"info":{"_postman_id":"131849d4-4185-4356-abc7-8a33105bd4a5","name":"Wayfair 3d Model API","description":"<html><head></head><body><p>Welcome to Wayfair's 3d Model API Documentation. Use our 3d models for your next amazing project! </p>\n<hr>\n<h1 id=\"basic-auth\">Basic Auth</h1>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Username: &lt;your email&gt;\nPassword: &lt;your api key&gt;\n</code></pre><br>\n\n<p>For full API access, you must sign up for an API key from <a href=\"https://wayfair.com/3dapi\">https://wayfair.com/3dapi</a></p>\n<br>\n\n<p>See our public demos to help you get up and running:</p>\n<p><a href=\"https://github.com/PVUL/hello-vr-furniture\">Hello WebVR demo</a>\n<br>\n<a href=\"https://github.com/zgay/iOSHackathonModelViewer\">iOS Hello AR demo</a>\n<br>\n<a href=\"https://github.com/khonakr/hello-ar-wayfair\">Android Hello AR demo</a>\n<br>\n<a href=\"https://github.com/timzhang642/Hacking_Arts_2018\">Python code for processing OBJ zip files in batch</a>\n<br></p>\n<hr>\n<h1 id=\"the-product-object\">The product object</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>sku</code> <br> <em>string</em></td>\n<td>the unique product identifier</td>\n</tr>\n<tr>\n<td><code>product_name</code> <br> <em>string</em></td>\n<td>the name of the product</td>\n</tr>\n<tr>\n<td><code>product_description</code> <br> <em>string</em></td>\n<td>the description of the product used on the product page</td>\n</tr>\n<tr>\n<td><code>product_page_url</code> <br> <em>string</em></td>\n<td>the url to the product page</td>\n</tr>\n<tr>\n<td><code>class_name</code> <br> <em>string</em></td>\n<td>product class name which can be used to group products together</td>\n</tr>\n<tr>\n<td><code>sale_price</code> <br> <em>float</em></td>\n<td>the sale price of the product at the time of the request</td>\n</tr>\n<tr>\n<td><code>thumbnail_image_url</code> <br> <em>string</em></td>\n<td>url of the thumbnail image for quick reference</td>\n</tr>\n<tr>\n<td><code>model</code> <br> <em>model object</em></td>\n<td>the model related to the product</td>\n</tr>\n</tbody>\n</table>\n</div><br>\n\n<hr>\n<h1 id=\"the-model-object\">The model object</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>dimensions_inches</code> <br> <em>object</em></td>\n<td>dimensions of the x, y, z of the model, in inches</td>\n</tr>\n<tr>\n<td><code>glb</code> <br> <em>string</em></td>\n<td>url to download the <code>glb</code> asset</td>\n</tr>\n<tr>\n<td><code>obj</code> <br> <em>string</em></td>\n<td>url to download the <code>obj</code> asset</td>\n</tr>\n</tbody>\n</table>\n</div><br>\n\n<hr>\n<h1 id=\"example-curl-request\">Example cUrl Request</h1>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl https://www.wayfair.com/3dapi/models -H 'user-agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36'\n</code></pre><br>\n\n<p>Above will return a limited set of models. For more models, you must add Auth to headers which require your email and API key. </p>\n<br>\n\n<p><code>With Auth</code>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl https://www.wayfair.com/3dapi/models -u &lt;your_email&gt;:&lt;your_api_key&gt; -H 'user-agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36'\n</code></pre><br>\n\n<p>Get an API key here <a href=\"https://wayfair.com/3dapi\">https://wayfair.com/3dapi</a></p>\n<br></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Basic Auth","slug":"basic-auth"},{"content":"The product object","slug":"the-product-object"},{"content":"The model object","slug":"the-model-object"},{"content":"Example cUrl Request","slug":"example-curl-request"}],"owner":"427064","collectionId":"131849d4-4185-4356-abc7-8a33105bd4a5","publishedId":"RWgqVK43","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-10-13T19:33:47.000Z"},"item":[{"name":"/3dapi/models","event":[{"listen":"prerequest","script":{"id":"8fa0db64-d7f9-4634-9556-50ad6842adec","exec":[""],"type":"text/javascript"}}],"id":"8c08ef71-3acb-4940-814c-b64cfa53e9a5","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[{"key":"User-Agent","value":"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36","type":"text"}],"url":"https://wayfair.com/3dapi/models","description":"<p>Retrieve details for all products, along with their 3d models.</p>\n<h1 id=\"params\">Params</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>skus[]</code> <br /><em>optional</em></td>\n<td>get specific model data by sku, for example: <br /><br /><code>?skus[]=abc123</code> for data on a single sku <br /><code>?skus[]=abc123&amp;skus[]=def456</code> for data on multiple skus</td>\n</tr>\n<tr>\n<td><code>page</code><br /><em>optional</em></td>\n<td>get a specific page, for example: <br /><br /> <code>?page=2</code> for 2nd page of results <br /><br /> <em>note: results are limited to <code>50</code> models per page</em></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["3dapi","models"],"host":["wayfair","com"],"query":[],"variable":[]}},"response":[{"id":"b0a9c2b9-07a1-48c3-845f-a50b1e84daed","name":"/3dapi/models","originalRequest":{"method":"GET","header":[{"key":"User-Agent","value":"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36","description":"(Required)","type":"text"}],"url":"https://wayfair.com/3dapi/models"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Link","value":"<https://secure.img1-fg.wfcdn.com/>; rel=preconnect; crossorigin,<https://www.csnstores.com>; rel=preconnect; crossorigin,<https://www.google-analytics.com>; rel=preconnect; crossorigin,<https://client.perimeterx.net>; rel=preconnect; crossorigin,<https://collector-PX3Vk96I6i.perimeterx.net>; rel=preconnect; crossorigin,"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server_Id","value":"bo1.197.90"},{"key":"Content-Encoding","value":"gzip"},{"key":"Lb_Id","value":"bo1.6.47"},{"key":"TXID","value":"otAgcFvCR10s4qzUMQsmAg=="},{"key":"Date","value":"Sat, 13 Oct 2018 19:28:29 GMT"},{"key":"Content-Length","value":"2329"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"vid=a2d02063-5bc2-3706-b953-f913addd6a02; expires=Sat, 13-Oct-2018 22:28:29 GMT; Max-Age=10800; path=/; domain=wayfair.com"},{"key":"Set-Cookie","value":"CSNPersist=page_of_visit%3D36; expires=Tue, 19-Jan-2038 03:14:07 GMT; Max-Age=608024738; path=/; domain=wayfair.com"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"sku\": \"ZIPC4121\",\n        \"product_name\": \"Liam Barrel Chair\",\n        \"product_description\": \"<i>Mooove</i> on over to make room for your new favorite accent chair! This American-made design brings a little down-home flair to any seating arrangement, combining a cowhide pattern with a classic silhouette to create a piece that pairs well with both contemporary and rustic ensembles. Founded atop four tapered legs, its manufactured wood frame is wrapped in polyester blend fabric that’s easy to keep pristine. Measuring 32'' H x 30.5'' W x 27.5'' D.\",\n        \"product_page_url\": \"https://www.wayfair.com/furniture/pdp/zipcode-design-liam-barrel-chair-zipc4121.html\",\n        \"class_name\": \"Accent Chairs\",\n        \"sale_price\": 172.99,\n        \"thumbnail_image_url\": \"https://secure.img1.wfcdn.com/lf/43/hash/2664/59803713/1/custom_image.jpg\",\n        \"model\": {\n            \"dimensions_inches\": {\n                \"x\": 34.29,\n                \"y\": 27.86,\n                \"z\": 32.46\n            },\n            \"glb\": \"http://img.wfrcdn.com/docresources/37311/108/1089869.glb\",\n            \"obj\": \"http://img.wfrcdn.com/docresources/37311/101/1014484.zip\"\n        }\n    }\n]"}],"_postman_id":"8c08ef71-3acb-4940-814c-b64cfa53e9a5"}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]}},"event":[{"listen":"prerequest","script":{"id":"2468b479-0170-416f-8e6a-76d18fb66d77","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bf3363df-6709-4e0b-9c45-68294e63190d","type":"text/javascript","exec":[""]}}]}