--- http_interactions: - request: method: get uri: http://api.lvh.me:3000/variants?limit=5 body: encoding: US-ASCII string: '' headers: User-Agent: - Gecko/0.0.3 OAuth2/0.9.3 Faraday/0.9.0 Ruby/2.0.0 Authorization: - Bearer 51afbee2b570ac2e4604fa2e936448037c0e69acc388888e89dc88602c3e3c77 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 200 message: OK headers: Date: - Thu, 03 Apr 2014 05:48:03 GMT Status: - 200 OK Connection: - close X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Ua-Compatible: - chrome=1 X-Pagination: - '{"total_records":1343,"total_pages":269,"first_page":true,"last_page":false,"out_of_bounds":false,"offset":0}' Link: - ; rel="next", ; rel="last" Content-Type: - application/json; charset=utf-8 Etag: - '"3458d0642e47b2dae00d851f0db5f171"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - f67eb1e4-2ee5-4f60-9de2-53fa89840fd9 X-Runtime: - '1.713553' Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"variants":[{"id":982891,"product_id":525649,"sku":"","reorder_point":null,"wholesale_price":null,"retail_price":"0.0","status":"active","description":null,"name":"Default","upc":null,"supplier_code":null,"manage_stock":true,"max_online":null,"keep_selling":false,"taxable":true,"is_online":true,"online_id":443033153,"opt1":"Default","opt2":null,"opt3":null,"position":2,"buy_price":null,"last_cost_price":"0.0","stock_on_hand":"0","committed_stock":"0","moving_average_cost":"0","created_at":"2014-02-14T06:58:17.508Z","product_name":"zzzz","product_status":"active","product_type":"Barstool","updated_at":"2014-02-14T06:58:17.508Z","variant_prices":[{"price_list_id":"buy","value":null},{"price_list_id":"retail","value":"0.0"},{"price_list_id":"wholesale","value":null}],"composite":null,"weight":"0","sellable":true,"online_ordering":null,"locations":[{"location_id":159,"stock_on_hand":"0","committed":null}],"prices":{"buy":null,"retail":"0.0","wholesale":null},"stock_levels":{"159":0},"committed_stock_levels":{},"image_ids":[]},{"id":720709,"product_id":380149,"sku":"","reorder_point":null,"wholesale_price":null,"retail_price":"0.0","status":"active","description":null,"name":"Default","upc":null,"supplier_code":null,"manage_stock":true,"max_online":null,"keep_selling":false,"taxable":true,"is_online":true,"online_id":null,"opt1":null,"opt2":null,"opt3":null,"position":2,"buy_price":null,"last_cost_price":null,"stock_on_hand":"-12","committed_stock":"17","moving_average_cost":null,"created_at":"2013-12-12T04:51:39.573Z","product_name":"Cheese","product_status":"active","product_type":"Food","updated_at":"2014-02-10T04:32:00.718Z","variant_prices":[{"price_list_id":"buy","value":null},{"price_list_id":"retail","value":"0.0"},{"price_list_id":"wholesale","value":null}],"composite":true,"weight":"0","sellable":true,"online_ordering":true,"locations":[{"location_id":18,"stock_on_hand":"0","committed":"15"},{"location_id":153,"stock_on_hand":"0","committed":"0"},{"location_id":159,"stock_on_hand":"-10","committed":"1"},{"location_id":160,"stock_on_hand":"-2","committed":"1"},{"location_id":322,"stock_on_hand":"0","committed":"0"},{"location_id":1395,"stock_on_hand":"0","committed":"0"},{"location_id":1400,"stock_on_hand":"0","committed":"0"},{"location_id":1725,"stock_on_hand":"0","committed":"0"},{"location_id":2195,"stock_on_hand":"0","committed":"0"},{"location_id":2196,"stock_on_hand":"0","committed":"0"},{"location_id":3723,"stock_on_hand":"0","committed":"0"},{"location_id":3986,"stock_on_hand":"0","committed":"0"},{"location_id":7779,"stock_on_hand":"0","committed":"0"}],"prices":{"buy":null,"retail":"0.0","wholesale":null},"stock_levels":{"18":"0.0","153":"0.0","159":"-10.0","160":"-2.0","322":"0.0","1395":"0.0","1400":"0.0","1725":"0.0","2195":"0.0","2196":"0.0","3723":"0.0","3986":"0.0","7779":"0.0"},"committed_stock_levels":{"18":"15.0","153":"-0.0","159":"1.0","160":"1.0","322":"-0.0","1395":"-0.0","1400":"-0.0","1725":"-0.0","2195":"-0.0","2196":"-0.0","3723":"-0.0","3986":"-0.0","7779":"-0.0"},"image_ids":[]},{"id":704123,"product_id":370075,"sku":"","reorder_point":null,"wholesale_price":"20.0","retail_price":"30.0","status":"active","description":"","name":"Purple / Small","upc":"","supplier_code":"","manage_stock":true,"max_online":null,"keep_selling":false,"taxable":true,"is_online":true,"online_id":null,"opt1":"Purple","opt2":"Small","opt3":"","position":3,"buy_price":"10.0","last_cost_price":null,"stock_on_hand":"9","committed_stock":"14","moving_average_cost":null,"created_at":"2013-12-09T14:06:27.543Z","product_name":"TestX","product_status":"active","product_type":"Test","updated_at":"2014-03-25T05:11:52.418Z","variant_prices":[{"price_list_id":"buy","value":"10.0"},{"price_list_id":"retail","value":"30.0"},{"price_list_id":"wholesale","value":"20.0"}],"composite":true,"weight":"0","sellable":true,"online_ordering":true,"locations":[{"location_id":18,"stock_on_hand":"0","committed":"0"},{"location_id":153,"stock_on_hand":"0","committed":"0"},{"location_id":159,"stock_on_hand":"-1","committed":"0"},{"location_id":160,"stock_on_hand":"10","committed":"0"},{"location_id":322,"stock_on_hand":"0","committed":"0"},{"location_id":1395,"stock_on_hand":"0","committed":"0"},{"location_id":1400,"stock_on_hand":"0","committed":"0"},{"location_id":1725,"stock_on_hand":"0","committed":"0"},{"location_id":2195,"stock_on_hand":"0","committed":"13"},{"location_id":2196,"stock_on_hand":"0","committed":"0"},{"location_id":3723,"stock_on_hand":"0","committed":"0"},{"location_id":3986,"stock_on_hand":"0","committed":"1"},{"location_id":7779,"stock_on_hand":"0","committed":"0"}],"prices":{"buy":"10.0","retail":"30.0","wholesale":"20.0"},"stock_levels":{"18":"0.0","153":"0.0","159":"-1.0","160":"10.0","322":"0.0","1395":"0.0","1400":"0.0","1725":"0.0","2195":"0.0","2196":"0.0","3723":"0.0","3986":"0.0","7779":"0.0"},"committed_stock_levels":{"18":"-0.0","153":"-0.0","159":"-0.0","160":"-0.0","322":"-0.0","1395":"-0.0","1400":"-0.0","1725":"-0.0","2195":"13.0","2196":"-0.0","3723":"-0.0","3986":"1.0","7779":"-0.0"},"image_ids":[]},{"id":593558,"product_id":307886,"sku":"","reorder_point":null,"wholesale_price":null,"retail_price":null,"status":"active","description":null,"name":"Gecko","upc":null,"supplier_code":null,"manage_stock":true,"max_online":null,"keep_selling":false,"taxable":true,"is_online":false,"online_id":null,"opt1":"Default","opt2":null,"opt3":null,"position":1,"buy_price":"20.0","last_cost_price":"28.18","stock_on_hand":"301","committed_stock":"11","moving_average_cost":"18.745","created_at":"2013-11-21T01:16:50.694Z","product_name":"Gecko","product_status":"active","product_type":"Barstool","updated_at":"2014-02-26T03:37:29.433Z","variant_prices":[{"price_list_id":"buy","value":"20.0"},{"price_list_id":"retail","value":null},{"price_list_id":"wholesale","value":null}],"composite":false,"weight":null,"sellable":true,"online_ordering":false,"locations":[{"location_id":18,"stock_on_hand":"0","committed":null},{"location_id":153,"stock_on_hand":"0","committed":null},{"location_id":159,"stock_on_hand":"202","committed":"10"},{"location_id":160,"stock_on_hand":"98","committed":"1"},{"location_id":322,"stock_on_hand":"0","committed":null},{"location_id":1395,"stock_on_hand":"0","committed":null},{"location_id":1400,"stock_on_hand":"1","committed":null},{"location_id":1725,"stock_on_hand":"0","committed":null},{"location_id":2195,"stock_on_hand":"0","committed":null},{"location_id":2196,"stock_on_hand":"0","committed":null},{"location_id":3723,"stock_on_hand":"0","committed":null},{"location_id":3986,"stock_on_hand":"0","committed":null},{"location_id":7779,"stock_on_hand":"0","committed":null}],"prices":{"buy":"20.0","retail":null,"wholesale":null},"stock_levels":{"18":"0.0","153":"0.0","159":"202.0","160":"98.0","322":"0.0","1395":"0.0","1400":"1.0","1725":"0.0","2195":"0.0","2196":"0.0","3723":"0.0","3986":"0.0","7779":"0.0"},"committed_stock_levels":{"159":"10.0","160":"1.0"},"image_ids":[]},{"id":982815,"product_id":525604,"sku":"","reorder_point":null,"wholesale_price":null,"retail_price":"24.07","status":"active","description":null,"name":"10","upc":null,"supplier_code":null,"manage_stock":true,"max_online":null,"keep_selling":false,"taxable":true,"is_online":true,"online_id":443031765,"opt1":"10","opt2":null,"opt3":null,"position":6,"buy_price":null,"last_cost_price":"0.0","stock_on_hand":"0","committed_stock":"0","moving_average_cost":"0","created_at":"2014-02-14T06:57:53.325Z","product_name":"Cheese","product_status":"active","product_type":"Food","updated_at":"2014-02-14T06:57:53.325Z","variant_prices":[{"price_list_id":"buy","value":null},{"price_list_id":"retail","value":"24.07"},{"price_list_id":"wholesale","value":null}],"composite":null,"weight":"0","sellable":true,"online_ordering":null,"locations":[{"location_id":159,"stock_on_hand":"0","committed":null}],"prices":{"buy":null,"retail":"24.07","wholesale":null},"stock_levels":{"159":0},"committed_stock_levels":{},"image_ids":[]}],"meta":{"total":1343}}' http_version: recorded_at: Thu, 03 Apr 2014 05:48:03 GMT recorded_with: VCR 2.9.0