{"info":{"_postman_id":"6b1f6bb1-83a8-477f-87cc-09c1a1a596d7","name":"Magento 2 Countdown Timer GraphQL & Examples","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"6b1f6bb1-83a8-477f-87cc-09c1a1a596d7","publishedId":"TVeqc6z2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-11-17T04:37:24.000Z"},"item":[{"name":"Get  product information according to Countdown Timer rules","id":"95774eba-114a-481f-bea2-8c784ba0a6ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tproducts(filter: { sku: { eq: \"24-MB01\" } }) {\r\n\t\titems {\r\n\t\t\tmp_countdown_timer_catalog_rule {\r\n\t\t\t\trule_id\r\n\t\t\t\tname\r\n\t\t\t\tstatus\r\n\t\t\t\tstore_ids\r\n\t\t\t\tcustomer_group_ids\r\n\t\t\t\tfrom_date\r\n\t\t\t\tto_date\r\n\t\t\t\tpriority\r\n\t\t\t\tposition\r\n\t\t\t\tenable_before_start\r\n\t\t\t\tclock_style_before\r\n\t\t\t\ttemplate_before_product\r\n\t\t\t\ttemplate_before_category\r\n\t\t\t\ttitle_color_before\r\n\t\t\t\tmessage_color_before\r\n\t\t\t\tclock_color_before\r\n\t\t\t\tnumber_color_before\r\n\t\t\t\ttext_color_before\r\n\t\t\t\tenable_while_running\r\n\t\t\t\tclock_style_running\r\n\t\t\t\ttemplate_running_product\r\n\t\t\t\ttemplate_running_category\r\n\t\t\t\ttitle_color_running\r\n\t\t\t\tmessage_color_running\r\n\t\t\t\tclock_color_running\r\n\t\t\t\tnumber_color_running\r\n\t\t\t\ttext_color_running\r\n\t\t\t\tupdated_at\r\n\t\t\t\tcreated_at\r\n\t\t\t\tsave_amount\r\n\t\t\t\tsave_amount_value\r\n\t\t\t\tsave_percent\r\n\t\t\t\ttimezone\r\n\t\t\t\tremaining_time\r\n\t\t\t}\r\n\t\t\tmp_countdown_timer_product_rule {\r\n\t\t\t\trule_id\r\n\t\t\t\tname\r\n\t\t\t\tstatus\r\n\t\t\t\tstore_ids\r\n\t\t\t\tcustomer_group_ids\r\n\t\t\t\tfrom_date\r\n\t\t\t\tto_date\r\n\t\t\t\tpriority\r\n\t\t\t\tposition\r\n\t\t\t\tenable_before_start\r\n\t\t\t\tclock_style_before\r\n\t\t\t\ttemplate_before_product\r\n\t\t\t\ttemplate_before_category\r\n\t\t\t\ttitle_color_before\r\n\t\t\t\tmessage_color_before\r\n\t\t\t\tclock_color_before\r\n\t\t\t\tnumber_color_before\r\n\t\t\t\ttext_color_before\r\n\t\t\t\tenable_while_running\r\n\t\t\t\tclock_style_running\r\n\t\t\t\ttemplate_running_product\r\n\t\t\t\ttemplate_running_category\r\n\t\t\t\ttitle_color_running\r\n\t\t\t\tmessage_color_running\r\n\t\t\t\tclock_color_running\r\n\t\t\t\tnumber_color_running\r\n\t\t\t\ttext_color_running\r\n\t\t\t\tupdated_at\r\n\t\t\t\tcreated_at\r\n\t\t\t\tsave_amount\r\n\t\t\t\tsave_amount_value\r\n\t\t\t\tsave_percent\r\n\t\t\t\ttimezone\r\n\t\t\t\tremaining_time\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"14280ca6-b8b8-4afc-a5ae-7313febad0d1","name":"Get  confgurable product information according to Countdown Timer rules","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n  products(filter: {sku: {eq: \"MH01\"}}) {\r\n    items {\r\n      id\r\n      sku\r\n    \t... on ConfigurableProduct {\r\n        variants {\r\n          product {\r\n            sku\r\n            mp_countdown_timer_catalog_rule {\r\n              catalog_rule_id\r\n              clock_color_before\r\n              clock_color_running\r\n              clock_style_before\r\n              clock_style_running\r\n              created_at\r\n              customer_group_ids\r\n              enable_before_start\r\n              enable_while_running\r\n              from_date\r\n              message_color_before\r\n              message_color_running\r\n              name\r\n              number_color_before\r\n              number_color_running\r\n              position\r\n              priority\r\n              remaining_time\r\n              rule_id\r\n              rule_type\r\n              save_amount\r\n              save_amount_value\r\n              save_percent\r\n              status\r\n              store_ids\r\n              template_before_category\r\n              template_before_product\r\n              template_running_category\r\n              template_running_product\r\n              text_color_before\r\n              text_color_running\r\n              timezone\r\n              title_color_before\r\n              title_color_running\r\n              to_date\r\n              updated_at\r\n            }\r\n          }\r\n        }\r\n      }  \r\n    }\r\n  }\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Nov 2020 04:53:02 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sun, 17 Nov 2019 04:53:03 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=vjm3k4mnkaq53b8ncj61ppskfi; expires=Tue, 17-Nov-2020 05:53:02 GMT; Max-Age=3600; path=/api/api; domain=192.168.1.100; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=5370250b6d8146a42421b42d65cc2146; expires=Fri, 15-Nov-2030 04:53:02 GMT; Max-Age=315360000; path=/"},{"key":"Set-Cookie","value":"private_content_version=0d8a7c952a2d448e8c6a16195c42595b; expires=Fri, 15-Nov-2030 04:53:03 GMT; Max-Age=315360000; path=/"},{"key":"Set-Cookie","value":"private_content_version=1bd560792e1a9c1d6cf31ce2fa25f7df; expires=Fri, 15-Nov-2030 04:53:03 GMT; Max-Age=315360000; path=/"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"2839"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"products\": {\n            \"items\": [\n                {\n                    \"id\": 68,\n                    \"sku\": \"MH01\",\n                    \"variants\": [\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XS-Black\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XS-Gray\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XS-Orange\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-S-Black\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-S-Gray\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-S-Orange\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-M-Black\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-M-Gray\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-M-Orange\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-L-Black\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-L-Gray\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-L-Orange\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XL-Black\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XL-Gray\",\n                                \"mp_countdown_timer_catalog_rule\": {\n                                    \"catalog_rule_id\": null,\n                                    \"clock_color_before\": \"\",\n                                    \"clock_color_running\": \"\",\n                                    \"clock_style_before\": \"style1\",\n                                    \"clock_style_running\": \"style1\",\n                                    \"created_at\": \"2020-11-17 02:58:22\",\n                                    \"customer_group_ids\": \"0,1,2,3,4\",\n                                    \"enable_before_start\": \"1\",\n                                    \"enable_while_running\": \"1\",\n                                    \"from_date\": \"2020/11/02\",\n                                    \"message_color_before\": \"#eb5202\",\n                                    \"message_color_running\": \"#eb5202\",\n                                    \"name\": \"All Products\",\n                                    \"number_color_before\": \"#eb5202\",\n                                    \"number_color_running\": \"#eb5202\",\n                                    \"position\": \"0,1\",\n                                    \"priority\": \"0\",\n                                    \"remaining_time\": \"1105617\",\n                                    \"rule_id\": \"1\",\n                                    \"rule_type\": \"0\",\n                                    \"save_amount\": \"<span class=\\\"price\\\">€15.99</span>\",\n                                    \"save_amount_value\": \"22.62\",\n                                    \"save_percent\": \"62%\",\n                                    \"status\": \"1\",\n                                    \"store_ids\": \"0\",\n                                    \"template_before_category\": \"<div class=\\\"mp-countdown-title\\\">Discounting {{save_percent}}. Hurry up!</div>\\r\\n                            {{clock}}\",\n                                    \"template_before_product\": \"<div class=\\\"mp-countdown-title\\\">This product is discounting {{save_percent}}</div>\\r\\n                            {{clock}}\\r\\n                            <div class=\\\"mp-countdown-message\\\">Hurry up!</div>\",\n                                    \"template_running_category\": \"<div class=\\\"mp-countdown-title\\\">Discounting {{save_percent}}. Hurry up!</div>\\r\\n                            {{clock}}\",\n                                    \"template_running_product\": \"<div class=\\\"mp-countdown-title\\\">This product is discounting {{save_percent}}</div>\\r\\n                            {{clock}}\\r\\n                            <div class=\\\"mp-countdown-message\\\">Hurry up!</div>\",\n                                    \"text_color_before\": \"#eb5202\",\n                                    \"text_color_running\": \"#eb5202\",\n                                    \"timezone\": \"Asia/Ho_Chi_Minh\",\n                                    \"title_color_before\": \"#eb5202\",\n                                    \"title_color_running\": \"#eb5202\",\n                                    \"to_date\": \"2020/12/01\",\n                                    \"updated_at\": \"2020-11-17 04:04:28\"\n                                }\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XL-Orange\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"},{"id":"a7492154-fe5e-4de5-9424-f18eeded65e0","name":"Get  product information according to Countdown Timer rules Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tproducts(filter: { sku: { eq: \"24-MB01\" } }) {\r\n\t\titems {\r\n\t\t\tmp_countdown_timer_catalog_rule {\r\n\t\t\t\trule_id\r\n\t\t\t\tname\r\n\t\t\t\tstatus\r\n\t\t\t\tstore_ids\r\n\t\t\t\tcustomer_group_ids\r\n\t\t\t\tfrom_date\r\n\t\t\t\tto_date\r\n\t\t\t\tpriority\r\n\t\t\t\tposition\r\n\t\t\t\tenable_before_start\r\n\t\t\t\tclock_style_before\r\n\t\t\t\ttemplate_before_product\r\n\t\t\t\ttemplate_before_category\r\n\t\t\t\ttitle_color_before\r\n\t\t\t\tmessage_color_before\r\n\t\t\t\tclock_color_before\r\n\t\t\t\tnumber_color_before\r\n\t\t\t\ttext_color_before\r\n\t\t\t\tenable_while_running\r\n\t\t\t\tclock_style_running\r\n\t\t\t\ttemplate_running_product\r\n\t\t\t\ttemplate_running_category\r\n\t\t\t\ttitle_color_running\r\n\t\t\t\tmessage_color_running\r\n\t\t\t\tclock_color_running\r\n\t\t\t\tnumber_color_running\r\n\t\t\t\ttext_color_running\r\n\t\t\t\tupdated_at\r\n\t\t\t\tcreated_at\r\n\t\t\t\tsave_amount\r\n\t\t\t\tsave_amount_value\r\n\t\t\t\tsave_percent\r\n\t\t\t\ttimezone\r\n\t\t\t\tremaining_time\r\n\t\t\t}\r\n\t\t\tmp_countdown_timer_product_rule {\r\n\t\t\t\trule_id\r\n\t\t\t\tname\r\n\t\t\t\tstatus\r\n\t\t\t\tstore_ids\r\n\t\t\t\tcustomer_group_ids\r\n\t\t\t\tfrom_date\r\n\t\t\t\tto_date\r\n\t\t\t\tpriority\r\n\t\t\t\tposition\r\n\t\t\t\tenable_before_start\r\n\t\t\t\tclock_style_before\r\n\t\t\t\ttemplate_before_product\r\n\t\t\t\ttemplate_before_category\r\n\t\t\t\ttitle_color_before\r\n\t\t\t\tmessage_color_before\r\n\t\t\t\tclock_color_before\r\n\t\t\t\tnumber_color_before\r\n\t\t\t\ttext_color_before\r\n\t\t\t\tenable_while_running\r\n\t\t\t\tclock_style_running\r\n\t\t\t\ttemplate_running_product\r\n\t\t\t\ttemplate_running_category\r\n\t\t\t\ttitle_color_running\r\n\t\t\t\tmessage_color_running\r\n\t\t\t\tclock_color_running\r\n\t\t\t\tnumber_color_running\r\n\t\t\t\ttext_color_running\r\n\t\t\t\tupdated_at\r\n\t\t\t\tcreated_at\r\n\t\t\t\tsave_amount\r\n\t\t\t\tsave_amount_value\r\n\t\t\t\tsave_percent\r\n\t\t\t\ttimezone\r\n\t\t\t\tremaining_time\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Nov 2020 03:31:01 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sun, 17 Nov 2019 03:31:01 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=vjm3k4mnkaq53b8ncj61ppskfi; expires=Tue, 17-Nov-2020 04:31:01 GMT; Max-Age=3600; path=/api/api; domain=192.168.1.100; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=09f105e6ec0275e7e301daca18a21ec1; expires=Fri, 15-Nov-2030 03:31:01 GMT; Max-Age=315360000; path=/"},{"key":"Set-Cookie","value":"private_content_version=2e15fc28c63395b3957d056d1585c91a; expires=Fri, 15-Nov-2030 03:31:01 GMT; Max-Age=315360000; path=/"},{"key":"Set-Cookie","value":"private_content_version=5862002f42632fba9881d010cec69753; expires=Fri, 15-Nov-2030 03:31:01 GMT; Max-Age=315360000; path=/"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"3285"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"products\": {\n            \"items\": [\n                {\n                    \"mp_countdown_timer_catalog_rule\": {\n                        \"rule_id\": \"2\",\n                        \"name\": \"Inherit Conditions\",\n                        \"status\": \"1\",\n                        \"store_ids\": \"0\",\n                        \"customer_group_ids\": \"0,1,2,3\",\n                        \"from_date\": \"2020/11/16\",\n                        \"to_date\": \"2020/12/01\",\n                        \"priority\": \"0\",\n                        \"position\": \"0,1\",\n                        \"enable_before_start\": \"1\",\n                        \"clock_style_before\": \"style2\",\n                        \"template_before_product\": \"<div class=\\\"mp-countdown-title\\\">This product is discounting {{save_percent}}</div>\\r\\n                            {{clock}}\\r\\n                            <div class=\\\"mp-countdown-message\\\">Hurry up!</div>\",\n                        \"template_before_category\": \"<div class=\\\"mp-countdown-title\\\">Discounting {{save_percent}}. Hurry up!</div>\\r\\n                            {{clock}}\",\n                        \"title_color_before\": \"#000000\",\n                        \"message_color_before\": \"#000000\",\n                        \"clock_color_before\": \"#846add\",\n                        \"number_color_before\": \"#ffffff\",\n                        \"text_color_before\": \"#ffffff\",\n                        \"enable_while_running\": \"1\",\n                        \"clock_style_running\": \"style3\",\n                        \"template_running_product\": \"<div class=\\\"mp-countdown-title\\\">This product is discounting {{save_percent}}</div>\\r\\n                            {{clock}}\\r\\n                            <div class=\\\"mp-countdown-message\\\">Hurry up!</div>\",\n                        \"template_running_category\": \"<div class=\\\"mp-countdown-title\\\">Discounting {{save_percent}}. Hurry up!</div>\\r\\n                            {{clock}}\",\n                        \"title_color_running\": \"#000000\",\n                        \"message_color_running\": \"#000000\",\n                        \"clock_color_running\": \"#333333\",\n                        \"number_color_running\": \"#ffffff\",\n                        \"text_color_running\": \"#ffffff\",\n                        \"updated_at\": \"2020-11-17 03:10:56\",\n                        \"created_at\": \"2020-11-17 02:58:54\",\n                        \"save_amount\": \"\",\n                        \"save_amount_value\": \"\",\n                        \"save_percent\": \"50%\",\n                        \"timezone\": \"America/Chicago\",\n                        \"remaining_time\": \"1110539\"\n                    },\n                    \"mp_countdown_timer_product_rule\": {\n                        \"rule_id\": \"2\",\n                        \"name\": \"Inherit Conditions\",\n                        \"status\": \"1\",\n                        \"store_ids\": \"0\",\n                        \"customer_group_ids\": \"0,1,2,3\",\n                        \"from_date\": \"2020/11/16\",\n                        \"to_date\": \"2020/12/01\",\n                        \"priority\": \"0\",\n                        \"position\": \"0,1\",\n                        \"enable_before_start\": \"1\",\n                        \"clock_style_before\": \"style2\",\n                        \"template_before_product\": \"<div class=\\\"mp-countdown-title\\\">This product is discounting {{save_percent}}</div>\\r\\n                            {{clock}}\\r\\n                            <div class=\\\"mp-countdown-message\\\">Hurry up!</div>\",\n                        \"template_before_category\": \"<div class=\\\"mp-countdown-title\\\">Discounting {{save_percent}}. Hurry up!</div>\\r\\n                            {{clock}}\",\n                        \"title_color_before\": \"#000000\",\n                        \"message_color_before\": \"#000000\",\n                        \"clock_color_before\": \"#846add\",\n                        \"number_color_before\": \"#ffffff\",\n                        \"text_color_before\": \"#ffffff\",\n                        \"enable_while_running\": \"1\",\n                        \"clock_style_running\": \"style3\",\n                        \"template_running_product\": \"<div class=\\\"mp-countdown-title\\\">This product is discounting {{save_percent}}</div>\\r\\n                            {{clock}}\\r\\n                            <div class=\\\"mp-countdown-message\\\">Hurry up!</div>\",\n                        \"template_running_category\": \"<div class=\\\"mp-countdown-title\\\">Discounting {{save_percent}}. Hurry up!</div>\\r\\n                            {{clock}}\",\n                        \"title_color_running\": \"#000000\",\n                        \"message_color_running\": \"#000000\",\n                        \"clock_color_running\": \"#333333\",\n                        \"number_color_running\": \"#ffffff\",\n                        \"text_color_running\": \"#ffffff\",\n                        \"updated_at\": \"2020-11-17 03:10:56\",\n                        \"created_at\": \"2020-11-17 02:58:54\",\n                        \"save_amount\": \"\",\n                        \"save_amount_value\": \"\",\n                        \"save_percent\": \"50%\",\n                        \"timezone\": \"America/Chicago\",\n                        \"remaining_time\": \"1110539\"\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"95774eba-114a-481f-bea2-8c784ba0a6ed"},{"name":"Get  confgurable product information according to Countdown Timer rules","id":"04fa4335-0b7f-4e21-9d7a-ba91849ed8c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n  products(filter: {sku: {eq: \"MH01\"}}) {\r\n    items {\r\n      id\r\n      sku\r\n    \t... on ConfigurableProduct {\r\n        variants {\r\n          product {\r\n            sku\r\n            mp_countdown_timer_catalog_rule {\r\n              catalog_rule_id\r\n              clock_color_before\r\n              clock_color_running\r\n              clock_style_before\r\n              clock_style_running\r\n              created_at\r\n              customer_group_ids\r\n              enable_before_start\r\n              enable_while_running\r\n              from_date\r\n              message_color_before\r\n              message_color_running\r\n              name\r\n              number_color_before\r\n              number_color_running\r\n              position\r\n              priority\r\n              remaining_time\r\n              rule_id\r\n              rule_type\r\n              save_amount\r\n              save_amount_value\r\n              save_percent\r\n              status\r\n              store_ids\r\n              template_before_category\r\n              template_before_product\r\n              template_running_category\r\n              template_running_product\r\n              text_color_before\r\n              text_color_running\r\n              timezone\r\n              title_color_before\r\n              title_color_running\r\n              to_date\r\n              updated_at\r\n            }\r\n          }\r\n        }\r\n      }  \r\n    }\r\n  }\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e05d5841-aded-481e-89dd-b8fcaf23e62b","name":"Get  confgurable product information according to Countdown Timer rules Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n  products(filter: {sku: {eq: \"MH01\"}}) {\r\n    items {\r\n      id\r\n      sku\r\n    \t... on ConfigurableProduct {\r\n        variants {\r\n          product {\r\n            sku\r\n            mp_countdown_timer_catalog_rule {\r\n              catalog_rule_id\r\n              clock_color_before\r\n              clock_color_running\r\n              clock_style_before\r\n              clock_style_running\r\n              created_at\r\n              customer_group_ids\r\n              enable_before_start\r\n              enable_while_running\r\n              from_date\r\n              message_color_before\r\n              message_color_running\r\n              name\r\n              number_color_before\r\n              number_color_running\r\n              position\r\n              priority\r\n              remaining_time\r\n              rule_id\r\n              rule_type\r\n              save_amount\r\n              save_amount_value\r\n              save_percent\r\n              status\r\n              store_ids\r\n              template_before_category\r\n              template_before_product\r\n              template_running_category\r\n              template_running_product\r\n              text_color_before\r\n              text_color_running\r\n              timezone\r\n              title_color_before\r\n              title_color_running\r\n              to_date\r\n              updated_at\r\n            }\r\n          }\r\n        }\r\n      }  \r\n    }\r\n  }\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Nov 2020 04:59:36 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Expires","value":"Sun, 17 Nov 2019 04:59:37 GMT"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=vjm3k4mnkaq53b8ncj61ppskfi; expires=Tue, 17-Nov-2020 05:59:36 GMT; Max-Age=3600; path=/api/api; domain=192.168.1.100; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=4965bfbfaa03b6502a8fd2996d427e02; expires=Fri, 15-Nov-2030 04:59:36 GMT; Max-Age=315360000; path=/"},{"key":"Set-Cookie","value":"private_content_version=f50ea9040679ac618a0bfd71a6ea9723; expires=Fri, 15-Nov-2030 04:59:37 GMT; Max-Age=315360000; path=/"},{"key":"Set-Cookie","value":"private_content_version=b961ceb16a448068f1ca4c78df0f3a83; expires=Fri, 15-Nov-2030 04:59:37 GMT; Max-Age=315360000; path=/"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"2839"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"products\": {\n            \"items\": [\n                {\n                    \"id\": 68,\n                    \"sku\": \"MH01\",\n                    \"variants\": [\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XS-Black\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XS-Gray\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XS-Orange\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-S-Black\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-S-Gray\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-S-Orange\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-M-Black\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-M-Gray\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-M-Orange\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-L-Black\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-L-Gray\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-L-Orange\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XL-Black\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XL-Gray\",\n                                \"mp_countdown_timer_catalog_rule\": {\n                                    \"catalog_rule_id\": null,\n                                    \"clock_color_before\": \"\",\n                                    \"clock_color_running\": \"\",\n                                    \"clock_style_before\": \"style1\",\n                                    \"clock_style_running\": \"style1\",\n                                    \"created_at\": \"2020-11-17 02:58:22\",\n                                    \"customer_group_ids\": \"0,1,2,3,4\",\n                                    \"enable_before_start\": \"1\",\n                                    \"enable_while_running\": \"1\",\n                                    \"from_date\": \"2020/11/02\",\n                                    \"message_color_before\": \"#eb5202\",\n                                    \"message_color_running\": \"#eb5202\",\n                                    \"name\": \"All Products\",\n                                    \"number_color_before\": \"#eb5202\",\n                                    \"number_color_running\": \"#eb5202\",\n                                    \"position\": \"0,1\",\n                                    \"priority\": \"0\",\n                                    \"remaining_time\": \"1105223\",\n                                    \"rule_id\": \"1\",\n                                    \"rule_type\": \"0\",\n                                    \"save_amount\": \"<span class=\\\"price\\\">€15.99</span>\",\n                                    \"save_amount_value\": \"22.62\",\n                                    \"save_percent\": \"62%\",\n                                    \"status\": \"1\",\n                                    \"store_ids\": \"0\",\n                                    \"template_before_category\": \"<div class=\\\"mp-countdown-title\\\">Discounting {{save_percent}}. Hurry up!</div>\\r\\n                            {{clock}}\",\n                                    \"template_before_product\": \"<div class=\\\"mp-countdown-title\\\">This product is discounting {{save_percent}}</div>\\r\\n                            {{clock}}\\r\\n                            <div class=\\\"mp-countdown-message\\\">Hurry up!</div>\",\n                                    \"template_running_category\": \"<div class=\\\"mp-countdown-title\\\">Discounting {{save_percent}}. Hurry up!</div>\\r\\n                            {{clock}}\",\n                                    \"template_running_product\": \"<div class=\\\"mp-countdown-title\\\">This product is discounting {{save_percent}}</div>\\r\\n                            {{clock}}\\r\\n                            <div class=\\\"mp-countdown-message\\\">Hurry up!</div>\",\n                                    \"text_color_before\": \"#eb5202\",\n                                    \"text_color_running\": \"#eb5202\",\n                                    \"timezone\": \"Asia/Ho_Chi_Minh\",\n                                    \"title_color_before\": \"#eb5202\",\n                                    \"title_color_running\": \"#eb5202\",\n                                    \"to_date\": \"2020/12/01\",\n                                    \"updated_at\": \"2020-11-17 04:04:28\"\n                                }\n                            }\n                        },\n                        {\n                            \"product\": {\n                                \"sku\": \"MH01-XL-Orange\",\n                                \"mp_countdown_timer_catalog_rule\": null\n                            }\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"04fa4335-0b7f-4e21-9d7a-ba91849ed8c9"}]}