When requesting product variations, for example: https://api.molt.in/v1/products?status=1&modifier%5B1031496585520874354%5D=1031496636750103412&modifier%5B1031496611072574323%5D=1031496684984599416
It will return all live products, not the requested product variation!
{ "status": true, "result": [ { "id": "1031496575588762481", "order": null, "created_at": "2015-07-18 01:45:05", "updated_at": "2015-07-27 09:36:37", "sku": "d1d7af40-2cee-11e5-bafc-7108f6eaaa9f", "title": "sggfg g ff", "slug": "sggfg-g-ff", "sale_price": 25, "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "category": { "value": "Test", "data": { "1020824221456007355": { "id": "1020824221456007355", "order": null, "created_at": "2015-07-03 08:22:35", "updated_at": "2015-07-28 10:53:37", "parent": null, "slug": "Test", "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "title": "Test", "description": "Test tag" } } }, "stock_level": 4, "stock_status": { "value": "Unlimited", "data": { "key": "0", "value": "Unlimited" } }, "description": "gdfgvgv", "requires_shipping": { "value": "No", "data": { "key": "0", "value": "No" } }, "weight": 0, "height": 0, "width": 0, "depth": 0, "catalog_only": { "value": "No", "data": { "key": "0", "value": "No" } }, "brand": null, "collection": null, "tax_band": { "value": "Default", "data": { "id": "909423295621759411", "title": "Default", "description": null, "rate": 20, "created_at": null, "updated_at": null } }, "user_id": "facebook|10153300780764382", "large_image_url": "http:\\/\\/nodejs-jollyrogers.rhcloud.com\\/files\\/6b94b6e4-4389-463e-9c6f-b4f914ce1560.png", "price": { "value": "£27.60", "data": { "formatted": { "with_tax": "£27.60", "without_tax": "£23.00", "tax": "£4.60" }, "rounded": { "with_tax": 27.6, "without_tax": 23, "tax": 4.6 }, "raw": { "with_tax": 27.6, "without_tax": 23, "tax": 4.6 } } }, "is_variation": false, "modifiers": { "1031496585520874354": { "id": "1031496585520874354", "order": null, "created_at": "2015-07-18 01:45:35", "updated_at": "2015-07-18 01:45:35", "type": { "value": "Variant", "data": { "key": "variant", "value": "Variant" } }, "title": "Size", "instructions": "Select size!", "product": 1031496575588762481, "variations": { "1031496636750103412": { "id": "1031496636750103412", "order": null, "created_at": "2015-07-18 01:45:42", "updated_at": "2015-07-18 01:45:42", "title": "Swatch One", "mod_price": "=5.0", "modifier": 1031496585520874354, "product": 0, "difference": "=£5.00" }, "1031496652805899126": { "id": "1031496652805899126", "order": null, "created_at": "2015-07-18 01:45:43", "updated_at": "2015-07-18 01:45:43", "title": "Swatch Two", "mod_price": "=10.0", "modifier": 1031496585520874354, "product": 0, "difference": "=£10.00" } } }, "1031496611072574323": { "id": "1031496611072574323", "order": null, "created_at": "2015-07-18 01:45:38", "updated_at": "2015-07-18 01:45:38", "type": { "value": "Variant", "data": { "key": "variant", "value": "Variant" } }, "title": "Fabric", "instructions": "Select fabric!", "product": 1031496575588762481, "variations": { "1031496684984599416": { "id": "1031496684984599416", "order": null, "created_at": "2015-07-18 01:45:47", "updated_at": "2015-07-18 01:45:47", "title": "Basic Combed", "mod_price": "=0.0", "modifier": 1031496611072574323, "product": 0, "difference": "=£0.00" }, "1031497210883212155": { "id": "1031497210883212155", "order": null, "created_at": "2015-07-18 01:46:50", "updated_at": "2015-07-18 01:46:50", "title": "Satin", "mod_price": "=0.0", "modifier": 1031496611072574323, "product": 0, "difference": "=£0.00" } } } }, "images": [ { "id": 1031497776896148477, "name": "mod_var_right.png", "url": { "http": "http:\\/\\/commercecdn.com\\/909423294489297855\\/42307c2c-1617-4ae5-8b5c-1f6660406606.png", "https": "https:\\/\\/commercecdn.com\\/909423294489297855\\/42307c2c-1617-4ae5-8b5c-1f6660406606.png" }, "segments": { "domain": "commercecdn.com\\/", "suffix": "909423294489297855\\/42307c2c-1617-4ae5-8b5c-1f6660406606.png" }, "details": { "type": "image", "size": 133365, "width": 1392, "height": 920 } } ] }, { "id": "1028320617998320246", "order": null, "created_at": "2015-07-13 16:36:37", "updated_at": "2015-07-13 16:41:59", "sku": "4ffb2ca0-297d-11e5-be93-831cb00d64b1", "title": "Canvas test", "slug": "canvas-test", "sale_price": 25, "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "category": { "value": "Test", "data": { "1020824221456007355": { "id": "1020824221456007355", "order": null, "created_at": "2015-07-03 08:22:35", "updated_at": "2015-07-28 10:53:37", "parent": null, "slug": "Test", "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "title": "Test", "description": "Test tag" } } }, "stock_level": 4, "stock_status": { "value": "Unlimited", "data": { "key": "0", "value": "Unlimited" } }, "description": "rfrgr gtg tg t gtr t rg gr", "requires_shipping": { "value": "No", "data": { "key": "0", "value": "No" } }, "weight": 0, "height": 0, "width": 0, "depth": 0, "catalog_only": { "value": "No", "data": { "key": "0", "value": "No" } }, "brand": null, "collection": null, "tax_band": { "value": "Default", "data": { "id": "909423295621759411", "title": "Default", "description": null, "rate": 20, "created_at": null, "updated_at": null } }, "user_id": "facebook|10153300780764382", "large_image_url": "http:\\/\\/localhost:8080\\/files\\/1eef833c-f618-4c18-91fb-70a6b02c43f7.jpg", "price": { "value": "£27.60", "data": { "formatted": { "with_tax": "£27.60", "without_tax": "£23.00", "tax": "£4.60" }, "rounded": { "with_tax": 27.6, "without_tax": 23, "tax": 4.6 }, "raw": { "with_tax": 27.6, "without_tax": 23, "tax": 4.6 } } }, "is_variation": false, "modifiers": { "1028320633542410871": { "id": "1028320633542410871", "order": null, "created_at": "2015-07-13 16:36:38", "updated_at": "2015-07-13 16:36:38", "type": { "value": "Variant", "data": { "key": "variant", "value": "Variant" } }, "title": "Size", "instructions": "Select type of fabric", "product": 1028320617998320246, "variations": { "1028320649128444536": { "id": "1028320649128444536", "order": null, "created_at": "2015-07-13 16:36:40", "updated_at": "2015-07-13 16:36:40", "title": "Swatch 1", "mod_price": "=5", "modifier": 1028320633542410871, "product": 0, "difference": "=£5.00" }, "1028320669118497402": { "id": "1028320669118497402", "order": null, "created_at": "2015-07-13 16:36:43", "updated_at": "2015-07-13 16:36:43", "title": "Swatch 2", "mod_price": "=10", "modifier": 1028320633542410871, "product": 0, "difference": "=£10.00" } } }, "1028320688965943932": { "id": "1028320688965943932", "order": null, "created_at": "2015-07-13 16:36:45", "updated_at": "2015-07-13 16:36:45", "type": { "value": "Variant", "data": { "key": "variant", "value": "Variant" } }, "title": "Fabric", "instructions": "Select type of fabric", "product": 1028320617998320246, "variations": [] } }, "images": [ { "id": 1028320793622217698, "name": "myCanvas.png", "url": { "http": "http:\\/\\/commercecdn.com\\/909423294489297855\\/8f9098fd-7025-4c04-b3c6-d657913b5b1e.png", "https": "https:\\/\\/commercecdn.com\\/909423294489297855\\/8f9098fd-7025-4c04-b3c6-d657913b5b1e.png" }, "segments": { "domain": "commercecdn.com\\/", "suffix": "909423294489297855\\/8f9098fd-7025-4c04-b3c6-d657913b5b1e.png" }, "details": { "type": "image", "size": 490642, "width": 1392, "height": 920 } } ] }, { "id": "1021022977812070736", "order": null, "created_at": "2015-07-03 14:57:29", "updated_at": "2015-07-04 10:40:55", "sku": "ce98d5e0-2193-11e5-8fd3-05e85835f7e3", "title": "fvregRWEG trg tg TR h", "slug": "fvregrweg-trg-tg-tr-h", "sale_price": 25, "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "category": { "value": "Test", "data": { "1020824221456007355": { "id": "1020824221456007355", "order": null, "created_at": "2015-07-03 08:22:35", "updated_at": "2015-07-28 10:53:37", "parent": null, "slug": "Test", "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "title": "Test", "description": "Test tag" } } }, "stock_level": 4, "stock_status": { "value": "Unlimited", "data": { "key": "0", "value": "Unlimited" } }, "description": "fgerg egw er rg erew rg", "requires_shipping": { "value": "No", "data": { "key": "0", "value": "No" } }, "weight": 0, "height": 0, "width": 0, "depth": 0, "catalog_only": { "value": "No", "data": { "key": "0", "value": "No" } }, "brand": null, "collection": null, "tax_band": { "value": "Default", "data": { "id": "909423295621759411", "title": "Default", "description": null, "rate": 20, "created_at": null, "updated_at": null } }, "user_id": "auth0|5575fe366cd9f1c929960799", "large_image_url": "http:\\/\\/localhost:8080\\/files\\/6ecf25f5-fb4e-4f25-bd4f-ff3049b37d3b.png", "price": { "value": "£27.60", "data": { "formatted": { "with_tax": "£27.60", "without_tax": "£23.00", "tax": "£4.60" }, "rounded": { "with_tax": 27.6, "without_tax": 23, "tax": 4.6 }, "raw": { "with_tax": 27.6, "without_tax": 23, "tax": 4.6 } } }, "is_variation": false, "modifiers": { "1021023022598848852": { "id": "1021023022598848852", "order": null, "created_at": "2015-07-03 14:57:34", "updated_at": "2015-07-03 14:57:34", "type": { "value": "Variant", "data": { "key": "variant", "value": "Variant" } }, "title": "Basic test 2", "instructions": "Select type of fabric", "product": 1021022977812070736, "variations": { "1021023037094363477": { "id": "1021023037094363477", "order": null, "created_at": "2015-07-03 14:57:36", "updated_at": "2015-07-03 14:57:36", "title": "Basic test 2", "mod_price": "+10", "modifier": 1021023022598848852, "product": 0, "difference": "+£10.00" } } } }, "images": [ { "id": 1021023061572322236, "name": "818aa3b4-d5f2-45a3-b760-717014f00972.png", "url": { "http": "http:\\/\\/commercecdn.com\\/909423294489297855\\/36286dc5-3934-4e0c-9dd6-5c8774c57d08.png", "https": "https:\\/\\/commercecdn.com\\/909423294489297855\\/36286dc5-3934-4e0c-9dd6-5c8774c57d08.png" }, "segments": { "domain": "commercecdn.com\\/", "suffix": "909423294489297855\\/36286dc5-3934-4e0c-9dd6-5c8774c57d08.png" }, "details": { "type": "image", "size": 90712, "width": 1392, "height": 920 } } ] }, { "id": "1020602105989169203", "order": null, "created_at": "2015-07-03 01:01:17", "updated_at": "2015-07-06 21:42:14", "sku": "fae05710-211e-11e5-a089-7bea64f0fcb3", "title": "Testing 123", "slug": "testing-123", "sale_price": 25, "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "category": { "value": "Fabrics", "data": { "915479985974674420": { "id": "915479985974674420", "order": null, "created_at": "2015-02-08 00:02:20", "updated_at": "2015-07-28 10:52:19", "parent": null, "slug": "fabrics", "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "title": "Fabrics", "description": "<p>Fabrics<\\/p>" } } }, "stock_level": 4, "stock_status": { "value": "Unlimited", "data": { "key": "0", "value": "Unlimited" } }, "description": "Testing abc def...", "requires_shipping": { "value": "No", "data": { "key": "0", "value": "No" } }, "weight": 0, "height": 0, "width": 0, "depth": 0, "catalog_only": { "value": "No", "data": { "key": "0", "value": "No" } }, "brand": null, "collection": null, "tax_band": { "value": "Default", "data": { "id": "909423295621759411", "title": "Default", "description": null, "rate": 20, "created_at": null, "updated_at": null } }, "user_id": "auth0|5575fe366cd9f1c929960799", "large_image_url": "http:\\/\\/localhost:8080\\/files\\/38f430eb-726d-4f8c-889a-3bf56e80131d.jpg", "price": { "value": "£27.60", "data": { "formatted": { "with_tax": "£27.60", "without_tax": "£23.00", "tax": "£4.60" }, "rounded": { "with_tax": 27.6, "without_tax": 23, "tax": 4.6 }, "raw": { "with_tax": 27.6, "without_tax": 23, "tax": 4.6 } } }, "is_variation": false, "modifiers": { "1023416364125127490": { "id": "1023416364125127490", "order": null, "created_at": "2015-07-06 22:12:43", "updated_at": "2015-07-06 22:12:43", "type": { "value": "Variant", "data": { "key": "variant", "value": "Variant" } }, "title": "Size", "instructions": "Add size", "product": 1020602105989169203, "variations": { "1023417060899685187": { "id": "1023417060899685187", "order": null, "created_at": "2015-07-06 22:14:06", "updated_at": "2015-07-07 13:50:48", "title": "Test Swatch (8\" x 8\") ", "mod_price": "=5.00", "modifier": 1023416364125127490, "product": 0, "difference": "=£5.00" }, "1023888981839839419": { "id": "1023888981839839419", "order": null, "created_at": "2015-07-07 13:51:44", "updated_at": "2015-07-07 13:51:44", "title": "Fat Quarter (28\" x 18\") ", "mod_price": "=11.00", "modifier": 1023416364125127490, "product": 0, "difference": "=£11.00" }, "1023889395683426493": { "id": "1023889395683426493", "order": null, "created_at": "2015-07-07 13:52:33", "updated_at": "2015-07-07 13:52:33", "title": "Yards (54\" width)", "mod_price": "=18.00", "modifier": 1023416364125127490, "product": 0, "difference": "=£18.00" } } }, "1020602117892603956": { "id": "1020602117892603956", "order": null, "created_at": "2015-07-03 01:01:18", "updated_at": "2015-07-07 13:48:15", "type": { "value": "Variant", "data": { "key": "variant", "value": "Variant" } }, "title": "Fabric", "instructions": "Select type of fabric", "product": 1020602105989169203, "variations": { "1020612521008037952": { "id": "1020612521008037952", "order": null, "created_at": "2015-07-03 01:21:58", "updated_at": "2015-07-07 13:48:53", "title": "Satin ($18\\/yd)", "mod_price": "+0.00", "modifier": 1020602117892603956, "product": 0, "difference": "+£0.00" }, "1023892239429927103": { "id": "1023892239429927103", "order": null, "created_at": "2015-07-07 13:58:12", "updated_at": "2015-07-07 13:58:12", "title": "Basic Combed Cotton ($17.50\\/yd)", "mod_price": "+0.00", "modifier": 1020602117892603956, "product": 0, "difference": "+£0.00" } } } }, "images": [ { "id": 1020602198121251771, "name": "DeathtoStock6_ kopia_2.jpg", "url": { "http": "http:\\/\\/commercecdn.com\\/909423294489297855\\/a2fe06a0-1bc9-4d2e-9e10-763bdfbcdc1e.png", "https": "https:\\/\\/commercecdn.com\\/909423294489297855\\/a2fe06a0-1bc9-4d2e-9e10-763bdfbcdc1e.png" }, "segments": { "domain": "commercecdn.com\\/", "suffix": "909423294489297855\\/a2fe06a0-1bc9-4d2e-9e10-763bdfbcdc1e.png" }, "details": { "type": "image", "size": 421674, "width": 1392, "height": 920 } } ] }, { "id": "1020153260205409011", "order": null, "created_at": "2015-07-02 10:09:30", "updated_at": "2015-07-02 10:09:30", "sku": "69b8aed0-20a2-11e5-ae51-61b8b3ab20e2", "title": "Escheresque2", "slug": "escheresque2", "sale_price": 25, "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "category": null, "stock_level": 4, "stock_status": { "value": "Unlimited", "data": { "key": "0", "value": "Unlimited" } }, "description": "escheresque mönster", "requires_shipping": { "value": "No", "data": { "key": "0", "value": "No" } }, "weight": 0, "height": 0, "width": 0, "depth": 0, "catalog_only": { "value": "No", "data": { "key": "0", "value": "No" } }, "brand": null, "collection": null, "tax_band": null, "user_id": "auth0|5575fe366cd9f1c929960799", "large_image_url": "http:\\/\\/localhost:8080\\/files\\/95642005-b360-4875-be81-accdea9cce6d.png", "price": { "value": "£23.00", "data": { "formatted": { "with_tax": "£23.00", "without_tax": "£23.00", "tax": "£0.00" }, "rounded": { "with_tax": 23, "without_tax": 23, "tax": 0 }, "raw": { "with_tax": 23, "without_tax": 23, "tax": 0 } } }, "is_variation": false, "modifiers": { "1020527340800704516": { "id": "1020527340800704516", "order": null, "created_at": "2015-07-02 22:32:44", "updated_at": "2015-07-02 22:32:44", "type": { "value": "Variant", "data": { "key": "variant", "value": "Variant" } }, "title": "Basic TEST", "instructions": "Select type of fabric", "product": 1020153260205409011, "variations": [] }, "1020305275262862169": { "id": "1020305275262862169", "order": null, "created_at": "2015-07-02 15:11:32", "updated_at": "2015-07-02 15:11:32", "type": { "value": "Variant", "data": { "key": "variant", "value": "Variant" } }, "title": "Basic test", "instructions": "", "product": 1020153260205409011, "variations": [] } }, "images": [ { "id": 1020153286537249718, "name": "escheresque_ste kopia.png", "url": { "http": "http:\\/\\/commercecdn.com\\/909423294489297855\\/5ae9dc26-9f2a-4ff5-b6d7-a630d5969570.png", "https": "https:\\/\\/commercecdn.com\\/909423294489297855\\/5ae9dc26-9f2a-4ff5-b6d7-a630d5969570.png" }, "segments": { "domain": "commercecdn.com\\/", "suffix": "909423294489297855\\/5ae9dc26-9f2a-4ff5-b6d7-a630d5969570.png" }, "details": { "type": "image", "size": 132867, "width": 1392, "height": 920 } } ] }, { "id": "1018355053901120436", "order": null, "created_at": "2015-06-29 22:35:26", "updated_at": "2015-06-29 22:35:26", "sku": "50640370-1eaf-11e5-ab60-657b4fe21bb4", "title": "Sjö", "slug": "sjoe", "sale_price": 25, "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "category": null, "stock_level": 4, "stock_status": { "value": "Unlimited", "data": { "key": "0", "value": "Unlimited" } }, "description": "En sjö", "requires_shipping": { "value": "No", "data": { "key": "0", "value": "No" } }, "weight": 0, "height": 0, "width": 0, "depth": 0, "catalog_only": { "value": "No", "data": { "key": "0", "value": "No" } }, "brand": null, "collection": null, "tax_band": null, "user_id": "auth0|5575fe366cd9f1c929960799", "large_image_url": "http:\\/\\/nodejs-jollyrogers.rhcloud.com\\/files\\/ffa97b3c-7e8f-49c7-9243-43c801a69971.JPG", "price": { "value": "£23.00", "data": { "formatted": { "with_tax": "£23.00", "without_tax": "£23.00", "tax": "£0.00" }, "rounded": { "with_tax": 23, "without_tax": 23, "tax": 0 }, "raw": { "with_tax": 23, "without_tax": 23, "tax": 0 } } }, "is_variation": false, "modifiers": [], "images": [ { "id": 1018355189872067228, "name": "IMG_5636 kopia.JPG", "url": { "http": "http:\\/\\/commercecdn.com\\/909423294489297855\\/2a1307dc-c883-4064-8844-cbf84b0abac5.png", "https": "https:\\/\\/commercecdn.com\\/909423294489297855\\/2a1307dc-c883-4064-8844-cbf84b0abac5.png" }, "segments": { "domain": "commercecdn.com\\/", "suffix": "909423294489297855\\/2a1307dc-c883-4064-8844-cbf84b0abac5.png" }, "details": { "type": "image", "size": 1709739, "width": 1392, "height": 920 } } ] }, { "id": "1014410241128792480", "order": null, "created_at": "2015-06-24 11:59:07", "updated_at": "2015-06-24 11:59:07", "sku": "6967a7f0-1a68-11e5-998f-4709feb131af", "title": "jkblkbkjkjkj kjkj kj", "slug": "jkblkbkjkjkj-kjkj-kj", "sale_price": 25, "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "category": null, "stock_level": 4, "stock_status": { "value": "Unlimited", "data": { "key": "0", "value": "Unlimited" } }, "description": "kbbjkkjkj kj", "requires_shipping": { "value": "No", "data": { "key": "0", "value": "No" } }, "weight": 0, "height": 0, "width": 0, "depth": 0, "catalog_only": { "value": "No", "data": { "key": "0", "value": "No" } }, "brand": null, "collection": null, "tax_band": null, "user_id": "auth0|5575fe366cd9f1c929960799", "large_image_url": "http:\\/\\/localhost:8080\\/files\\/3ab98a29-0c77-4a3f-b1ce-0abf1046d580.png", "price": { "value": "£23.00", "data": { "formatted": { "with_tax": "£23.00", "without_tax": "£23.00", "tax": "£0.00" }, "rounded": { "with_tax": 23, "without_tax": 23, "tax": 0 }, "raw": { "with_tax": 23, "without_tax": 23, "tax": 0 } } }, "is_variation": false, "modifiers": [], "images": [ { "id": 1014410295956734889, "name": "baefec3b-109b-438f-be79-3144af2d879b.png", "url": { "http": "http:\\/\\/commercecdn.com\\/909423294489297855\\/33793877-2b51-4fda-9b61-4c88c7ea6f4e.png", "https": "https:\\/\\/commercecdn.com\\/909423294489297855\\/33793877-2b51-4fda-9b61-4c88c7ea6f4e.png" }, "segments": { "domain": "commercecdn.com\\/", "suffix": "909423294489297855\\/33793877-2b51-4fda-9b61-4c88c7ea6f4e.png" }, "details": { "type": "image", "size": 1101908, "width": 1392, "height": 920 } } ] }, { "id": "1014408793464766879", "order": null, "created_at": "2015-06-24 11:56:14", "updated_at": "2015-06-24 11:56:14", "sku": "0285eb00-1a68-11e5-998f-4709feb131af", "title": "jhnh hjh jk j hjk", "slug": "jhnh-hjh-jk-j-hjk", "sale_price": 25, "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "category": null, "stock_level": 4, "stock_status": { "value": "Unlimited", "data": { "key": "0", "value": "Unlimited" } }, "description": "jhjhhjkhkj jhjkhjk", "requires_shipping": { "value": "No", "data": { "key": "0", "value": "No" } }, "weight": 0, "height": 0, "width": 0, "depth": 0, "catalog_only": { "value": "No", "data": { "key": "0", "value": "No" } }, "brand": null, "collection": null, "tax_band": null, "user_id": "auth0|5575fe366cd9f1c929960799", "large_image_url": "http:\\/\\/localhost:8080\\/files\\/dd63f4c5-a074-400e-85d4-ac12b01b43b4.png", "price": { "value": "£23.00", "data": { "formatted": { "with_tax": "£23.00", "without_tax": "£23.00", "tax": "£0.00" }, "rounded": { "with_tax": 23, "without_tax": 23, "tax": 0 }, "raw": { "with_tax": 23, "without_tax": 23, "tax": 0 } } }, "is_variation": false, "modifiers": [], "images": [ { "id": 1014408899219948456, "name": "molnfrontprotractor.png", "url": { "http": "http:\\/\\/commercecdn.com\\/909423294489297855\\/b959b29e-6d0f-4751-822f-3aa9cbf86f46.png", "https": "https:\\/\\/commercecdn.com\\/909423294489297855\\/b959b29e-6d0f-4751-822f-3aa9cbf86f46.png" }, "segments": { "domain": "commercecdn.com\\/", "suffix": "909423294489297855\\/b959b29e-6d0f-4751-822f-3aa9cbf86f46.png" }, "details": { "type": "image", "size": 1862341, "width": 1392, "height": 920 } } ] }, { "id": "1014396051848692126", "order": null, "created_at": "2015-06-24 11:30:55", "updated_at": "2015-06-24 11:30:55", "sku": "79180fe0-1a64-11e5-91ac-09229c647e72", "title": "hhjjh ghj ghj ghjkhjk", "slug": "hhjjh-ghj-ghj-ghjkhjk", "sale_price": 25, "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "category": null, "stock_level": 4, "stock_status": { "value": "Unlimited", "data": { "key": "0", "value": "Unlimited" } }, "description": "jkh jkhjkhkj hk", "requires_shipping": { "value": "No", "data": { "key": "0", "value": "No" } }, "weight": 0, "height": 0, "width": 0, "depth": 0, "catalog_only": { "value": "No", "data": { "key": "0", "value": "No" } }, "brand": null, "collection": null, "tax_band": null, "user_id": "auth0|5575fe366cd9f1c929960799", "large_image_url": "http:\\/\\/localhost:8080\\/files\\/77003f31-da04-4282-b872-755b3f0219e5.png", "price": { "value": "£23.00", "data": { "formatted": { "with_tax": "£23.00", "without_tax": "£23.00", "tax": "£0.00" }, "rounded": { "with_tax": 23, "without_tax": 23, "tax": 0 }, "raw": { "with_tax": 23, "without_tax": 23, "tax": 0 } } }, "is_variation": false, "modifiers": [], "images": [ { "id": 1014396088045536167, "name": "1c9f6329-ab53-4dc5-9b68-52f50466451c.png", "url": { "http": "http:\\/\\/commercecdn.com\\/909423294489297855\\/0b0f3562-f93c-450d-bb7b-5d3d19942e9b.png", "https": "https:\\/\\/commercecdn.com\\/909423294489297855\\/0b0f3562-f93c-450d-bb7b-5d3d19942e9b.png" }, "segments": { "domain": "commercecdn.com\\/", "suffix": "909423294489297855\\/0b0f3562-f93c-450d-bb7b-5d3d19942e9b.png" }, "details": { "type": "image", "size": 244033, "width": 1392, "height": 920 } } ] }, { "id": "1013360242160828484", "order": null, "created_at": "2015-06-23 01:11:43", "updated_at": "2015-06-23 01:11:43", "sku": "f9c2ec80-1944-11e5-92b1-6591b3121c6c", "title": "fff g rg erg", "slug": "fff-g-rg-erg", "sale_price": 25, "status": { "value": "Live", "data": { "key": "1", "value": "Live" } }, "category": null, "stock_level": 4, "stock_status": { "value": "Unlimited", "data": { "key": "0", "value": "Unlimited" } }, "description": "grgrgr gr", "requires_shipping": { "value": "No", "data": { "key": "0", "value": "No" } }, "weight": 0, "height": 0, "width": 0, "depth": 0, "catalog_only": { "value": "No", "data": { "key": "0", "value": "No" } }, "brand": null, "collection": null, "tax_band": null, "user_id": "auth0|5575fe366cd9f1c929960799", "large_image_url": "http:\\/\\/localhost:8080\\/files\\/a55255a4-7df6-4634-b7d1-8b6dd29a0c4d.jpg", "price": { "value": "£23.00", "data": { "formatted": { "with_tax": "£23.00", "without_tax": "£23.00", "tax": "£0.00" }, "rounded": { "with_tax": 23, "without_tax": 23, "tax": 0 }, "raw": { "with_tax": 23, "without_tax": 23, "tax": 0 } } }, "is_variation": false, "modifiers": [], "images": [ { "id": 1013360318220337788, "name": "Erik%20Hermansson.jpg", "url": { "http": "http:\\/\\/commercecdn.com\\/909423294489297855\\/9c4a24f9-beb1-4173-951a-88829c7d6903.png", "https": "https:\\/\\/commercecdn.com\\/909423294489297855\\/9c4a24f9-beb1-4173-951a-88829c7d6903.png" }, "segments": { "domain": "commercecdn.com\\/", "suffix": "909423294489297855\\/9c4a24f9-beb1-4173-951a-88829c7d6903.png" }, "details": { "type": "image", "size": 442942, "width": 1392, "height": 920 } } ] } ], "pagination": { "total": 144, "current": 10, "limit": 10, "offset": 0, "from": 1, "to": 10, "offsets": { "first": 0, "previous": false, "next": 10, "last": 140 }, "links": { "first": "http:\\/\\/api.molt.in\\/v1\\/products?limit=10&status=1&modifier%5B1031496585520874354%5D=1031496636750103412&modifier%5B1031496611072574323%5D=1031496684984599416", "previous": false, "next": "http:\\/\\/api.molt.in\\/v1\\/products?offset=10&limit=10&status=1&modifier%5B1031496585520874354%5D=1031496636750103412&modifier%5B1031496611072574323%5D=1031496684984599416", "last": "http:\\/\\/api.molt.in\\/v1\\/products?offset=140&limit=10&status=1&modifier%5B1031496585520874354%5D=1031496636750103412&modifier%5B1031496611072574323%5D=1031496684984599416" } } }
A request to the beta API endpoint, for example: https://api.molt.in/beta/product?status=1&modifier%5B1031496585520874354%5D=1031496636750103412&modifier%5B1031496611072574323%5D=1031496684984599416
Will respond with the requested product variation:
`{
"status": true,
"result": {
"id": "1031496688096772985",
"order": null,
"created_at": "2015-07-18 01:45:48",
"updated_at": "2015-07-28 13:38:44",
"sku": "d1d7af40-2cee-11e5-bafc-7108f6eaaa9f_SW_BA",
"title": "sggfg g ff Swatch One Basic Combed",
"slug": "sggfg-g-ff-swatch-one-basic-combed",
"sale_price": 25,
"status": {
"value": "Live",
"data": {
"key": "1",
"value": "Live"
}
},
"category": {
"value": "Test",
"data": {
"1020824221456007355": {
"id": "1020824221456007355",
"order": null,
"created_at": "2015-07-03 08:22:35",
"updated_at": "2015-07-28 10:53:37",
"parent": null,
"slug": "Test",
"status": {
"value": "Live",
"data": {
"key": "1",
"value": "Live"
}
},
"title": "Test",
"description": "Test tag"
}
}
},
"stock_level": 444,
"stock_status": {
"value": "In Stock",
"data": {
"key": "1",
"value": "In Stock"
}
},
"description": "gdfgvgv",
"requires_shipping": {
"value": "No",
"data": {
"key": "0",
"value": "No"
}
},
"weight": 0,
"height": 0,
"width": 0,
"depth": 0,
"catalog_only": {
"value": "No",
"data": {
"key": "0",
"value": "No"
}
},
"brand": null,
"collection": null,
"tax_band": {
"value": "Default",
"data": {
"id": "909423295621759411",
"title": "Default",
"description": null,
"rate": 20,
"created_at": null,
"updated_at": null
}
},
"user_id": "facebook|10153300780764382",
"large_image_url": "http:\/\/nodejs-jollyrogers.rhcloud.com\/files\/6b94b6e4-4389-463e-9c6f-b4f914ce1560.png",
"price": "5",
"pricing": {
"formatted": {
"with_tax": "£6.00",
"without_tax": "£5.00",
"tax": "£1.00"
},
"rounded": {
"with_tax": 6,
"without_tax": 5,
"tax": 1
},
"raw": {
"with_tax": 6,
"without_tax": 5,
"tax": 1
}
},
"is_variation": true,
"modifiers": [
{
"data": {
"type": "variant",
"title": "Size",
"product": "1031496575588762481",
"instructions": "Select size!"
},
"var_title": "Swatch One",
"var_price": null,
"var_id": 1031496636750103412
},
{
"data": {
"type": "variant",
"title": "Fabric",
"product": "1031496575588762481",
"instructions": "Select fabric!"
},
"var_title": "Basic Combed",
"var_price": null,
"var_id": 1031496684984599416
}
],
"images": [
{
"id": 1039100699524202523,
"name": "23f8bcae-6185-44e8-b1da-eed53f9987aa.png",
"url": {
"http": "http:\/\/commercecdn.com\/909423294489297855\/5c3ce147-0c50-484e-9168-fb18aecaa79b.png",
"https": "https:\/\/commercecdn.com\/909423294489297855\/5c3ce147-0c50-484e-9168-fb18aecaa79b.png"
},
"segments": {
"domain": "commercecdn.com\/",
"suffix": "909423294489297855\/5c3ce147-0c50-484e-9168-fb18aecaa79b.png"
}
}
]
}
}``
I have tested with Postman. So this is not a problem with the js-sdk or js-demo code, it is the v1 API endpoint responding with the wrong data.