{"info":{"_postman_id":"80faae8b-b47a-47df-b8eb-0d2bc8df3ace","name":"Magento 2 Daily Deal API & Examples","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"80faae8b-b47a-47df-b8eb-0d2bc8df3ace","publishedId":"SzRxXr7J","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-06-24T02:29:53.000Z"},"item":[{"name":"All Deals","id":"ea039a23-f5d1-4777-97aa-7f6da858d815","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{magento_base_url}}/rest/V1/mpDailyDeal/deals?searchCriteria[filter_groups][0][filters][0][field]=deal_id&searchCriteria[filter_groups][0][filters][0][value]=1&searchCriteria[filter_groups][0][filters][0][condition_type]=neq","urlObject":{"path":["rest","V1","mpDailyDeal","deals"],"host":["{{magento_base_url}}"],"query":[{"disabled":true,"key":"searchCriteria","value":null},{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"deal_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"neq"}],"variable":[]}},"response":[{"id":"09f0469e-e3fb-4220-8db8-ccfa26f6519d","name":"All Deals Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{magento_base_url}}/rest/V1/mpDailyDeal/deals?searchCriteria[filter_groups][0][filters][0][field]=deal_id&searchCriteria[filter_groups][0][filters][0][value]=1&searchCriteria[filter_groups][0][filters][0][condition_type]=neq","host":["{{magento_base_url}}"],"path":["rest","V1","mpDailyDeal","deals"],"query":[{"key":"searchCriteria","value":null,"disabled":true},{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"deal_id"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"1"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"neq"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Aug 2020 04:01:19 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=12ekqlhasdr81dk5d4vjk18sov; expires=Fri, 28-Aug-2020 05:01:19 GMT; Max-Age=3600; path=/api/api5; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1644"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"655847"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"deal_id\": 2,\n            \"product_id\": 2,\n            \"product_name\": \"Strive Shoulder Pack\",\n            \"product_sku\": \"24-MB04\",\n            \"status\": 1,\n            \"is_featured\": 0,\n            \"deal_price\": 10,\n            \"deal_qty\": 20,\n            \"sale_qty\": 0,\n            \"store_ids\": \"0\",\n            \"date_from\": \"2020-08-21 14:30:00\",\n            \"date_to\": \"2020-09-15 14:30:00\",\n            \"created_at\": \"2020-08-28 02:50:45\",\n            \"updated_at\": \"2020-08-28 02:50:45\",\n            \"discount_label\": null,\n            \"remaining_time\": \"1610921000\"\n        },\n        {\n            \"deal_id\": 3,\n            \"product_id\": 2045,\n            \"product_name\": \"Erika Running Short-32-Red\",\n            \"product_sku\": \"WSH12-32-Red\",\n            \"status\": 1,\n            \"is_featured\": 0,\n            \"deal_price\": 30,\n            \"deal_qty\": 10,\n            \"sale_qty\": 0,\n            \"store_ids\": \"0\",\n            \"date_from\": \"2020-08-27 00:00:00\",\n            \"date_to\": \"2020-09-21 00:00:00\",\n            \"created_at\": \"2020-08-28 03:57:37\",\n            \"updated_at\": \"2020-08-28 03:57:37\",\n            \"discount_label\": null,\n            \"remaining_time\": \"2077121000\"\n        },\n        {\n            \"deal_id\": 4,\n            \"product_id\": 23,\n            \"product_name\": \"Harmony Lumaflex™ Strength Band Kit\",\n            \"product_sku\": \"24-UG03\",\n            \"status\": 1,\n            \"is_featured\": 0,\n            \"deal_price\": 10,\n            \"deal_qty\": 10,\n            \"sale_qty\": 0,\n            \"store_ids\": \"0\",\n            \"date_from\": \"2020-08-20 10:00:00\",\n            \"date_to\": \"2020-08-31 10:00:00\",\n            \"created_at\": \"2020-08-28 03:58:15\",\n            \"updated_at\": \"2020-08-28 03:58:15\",\n            \"discount_label\": null,\n            \"remaining_time\": \"298721000\"\n        },\n        {\n            \"deal_id\": 5,\n            \"product_id\": 53,\n            \"product_name\": \"Chaz Kangeroo Hoodie-XS-Black\",\n            \"product_sku\": \"MH01-XS-Black\",\n            \"status\": 1,\n            \"is_featured\": 0,\n            \"deal_price\": 30,\n            \"deal_qty\": 20,\n            \"sale_qty\": 0,\n            \"store_ids\": \"0\",\n            \"date_from\": \"2020-08-27 15:00:00\",\n            \"date_to\": \"2020-09-30 15:00:00\",\n            \"created_at\": \"2020-08-28 03:59:17\",\n            \"updated_at\": \"2020-08-28 03:59:17\",\n            \"discount_label\": null,\n            \"remaining_time\": \"2908721000\"\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"deal_id\",\n                        \"value\": \"1\",\n                        \"condition_type\": \"neq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 4\n}"}],"_postman_id":"ea039a23-f5d1-4777-97aa-7f6da858d815"},{"name":"Add Discount Label, Countdown Timer Data to the product ","id":"6e492db6-b2f1-4b72-8be9-0b3063cb374d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{magento_base_url}}/rest/V1/products?searchCriteria[pageSize]=1","urlObject":{"path":["rest","V1","products"],"host":["{{magento_base_url}}"],"query":[{"key":"searchCriteria[pageSize]","value":"1"}],"variable":[]}},"response":[{"id":"a70dc277-1dd6-4fed-8359-627fef2edf38","name":"Add Discount Label, Countdown Timer Data to the product Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{magento_base_url}}/rest/V1/products?searchCriteria[pageSize]=1","host":["{{magento_base_url}}"],"path":["rest","V1","products"],"query":[{"key":"searchCriteria[pageSize]","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Aug 2020 07:05:05 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=gomcrlamm08bpb75reqj7035os; expires=Fri, 28-Aug-2020 08:05:05 GMT; Max-Age=3600; path=/api/api5; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"3272"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"657556"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": 1,\n            \"sku\": \"24-MB01\",\n            \"name\": \"Joust Duffle Bag\",\n            \"attribute_set_id\": 15,\n            \"price\": 34,\n            \"status\": 1,\n            \"visibility\": 4,\n            \"type_id\": \"simple\",\n            \"created_at\": \"2020-08-28 02:31:13\",\n            \"updated_at\": \"2020-08-28 02:31:13\",\n            \"extension_attributes\": {\n                \"website_ids\": [\n                    1\n                ],\n                \"category_links\": [\n                    {\n                        \"position\": 0,\n                        \"category_id\": \"3\"\n                    },\n                    {\n                        \"position\": 0,\n                        \"category_id\": \"4\"\n                    }\n                ],\n                \"mp_dailydeal\": {\n                    \"deal_id\": 1,\n                    \"product_id\": 1,\n                    \"product_name\": \"Joust Duffle Bag\",\n                    \"product_sku\": \"24-MB01\",\n                    \"status\": 1,\n                    \"is_featured\": 0,\n                    \"deal_price\": 20,\n                    \"deal_qty\": 10,\n                    \"sale_qty\": 0,\n                    \"store_ids\": \"0\",\n                    \"date_from\": \"2020-08-01 05:10:20\",\n                    \"date_to\": \"2020-08-31 05:10:20\",\n                    \"created_at\": \"2020-08-28 02:49:30\",\n                    \"updated_at\": \"2020-08-28 02:49:30\",\n                    \"discount_label\": \"41.18% OFF\",\n                    \"remaining_time\": \"270314000\"\n                }\n            },\n            \"product_links\": [\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-UG01\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 3\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-WG083-blue\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 2\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-WG086\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 1\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-WG085_Group\",\n                    \"linked_product_type\": \"grouped\",\n                    \"position\": 4\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB03\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 2\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB05\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 3\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB06\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 4\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB02\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 1\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-UB02\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 5\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB03\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 6\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB07\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 8\n                },\n                {\n                    \"sku\": \"24-MB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB04\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 7\n                }\n            ],\n            \"options\": [],\n            \"media_gallery_entries\": [\n                {\n                    \"id\": 1,\n                    \"media_type\": \"image\",\n                    \"label\": \"Image\",\n                    \"position\": 1,\n                    \"disabled\": false,\n                    \"types\": [\n                        \"image\",\n                        \"small_image\",\n                        \"thumbnail\"\n                    ],\n                    \"file\": \"/m/b/mb01-blue-0.jpg\"\n                }\n            ],\n            \"tier_prices\": [],\n            \"custom_attributes\": [\n                {\n                    \"attribute_code\": \"image\",\n                    \"value\": \"/m/b/mb01-blue-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"small_image\",\n                    \"value\": \"/m/b/mb01-blue-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"thumbnail\",\n                    \"value\": \"/m/b/mb01-blue-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"url_key\",\n                    \"value\": \"joust-duffle-bag\"\n                },\n                {\n                    \"attribute_code\": \"required_options\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"has_options\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"category_ids\",\n                    \"value\": [\n                        \"3\",\n                        \"4\"\n                    ]\n                },\n                {\n                    \"attribute_code\": \"description\",\n                    \"value\": \"<p>The sporty Joust Duffle Bag can't be beat - not in the gym, not on the luggage carousel, not anywhere. Big enough to haul a basketball or soccer ball and some sneakers with plenty of room to spare, it's ideal for athletes with places to go.<p>\\n<ul>\\n<li>Dual top handles.</li>\\n<li>Adjustable shoulder strap.</li>\\n<li>Full-length zipper.</li>\\n<li>L 29\\\" x W 13\\\" x H 11\\\".</li>\\n</ul>\"\n                }\n            ]\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [],\n        \"page_size\": 1\n    },\n    \"total_count\": 2046\n}"}],"_postman_id":"6e492db6-b2f1-4b72-8be9-0b3063cb374d"},{"name":"Add Discount Label, Countdown Timer Data to the product by product SKU","id":"bc6c2843-1c18-4443-b202-52521b1a9176","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{magento_base_url}}/rest/V1/products/24-MB01","urlObject":{"path":["rest","V1","products","24-MB01"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4eff8cf8-69f0-426b-a6f0-3fc1dc6cb414","name":"Add Discount Label, Countdown Timer Data to the product by product SKU Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{magento_base_url}}/rest/V1/products/24-MB01"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Aug 2020 07:05:28 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=gomcrlamm08bpb75reqj7035os; expires=Fri, 28-Aug-2020 08:05:28 GMT; Max-Age=3600; path=/api/api5; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"3817"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"623952"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"sku\": \"24-MB01\",\n    \"name\": \"Joust Duffle Bag\",\n    \"attribute_set_id\": 15,\n    \"price\": 34,\n    \"status\": 1,\n    \"visibility\": 4,\n    \"type_id\": \"simple\",\n    \"created_at\": \"2020-08-28 02:31:13\",\n    \"updated_at\": \"2020-08-28 02:31:13\",\n    \"extension_attributes\": {\n        \"website_ids\": [\n            1\n        ],\n        \"category_links\": [\n            {\n                \"position\": 0,\n                \"category_id\": \"3\"\n            },\n            {\n                \"position\": 0,\n                \"category_id\": \"4\"\n            }\n        ],\n        \"stock_item\": {\n            \"item_id\": 1,\n            \"product_id\": 1,\n            \"stock_id\": 1,\n            \"qty\": 100,\n            \"is_in_stock\": true,\n            \"is_qty_decimal\": false,\n            \"show_default_notification_message\": false,\n            \"use_config_min_qty\": true,\n            \"min_qty\": 0,\n            \"use_config_min_sale_qty\": 1,\n            \"min_sale_qty\": 1,\n            \"use_config_max_sale_qty\": true,\n            \"max_sale_qty\": 10000,\n            \"use_config_backorders\": true,\n            \"backorders\": 0,\n            \"use_config_notify_stock_qty\": true,\n            \"notify_stock_qty\": 1,\n            \"use_config_qty_increments\": true,\n            \"qty_increments\": 0,\n            \"use_config_enable_qty_inc\": true,\n            \"enable_qty_increments\": false,\n            \"use_config_manage_stock\": true,\n            \"manage_stock\": true,\n            \"low_stock_date\": null,\n            \"is_decimal_divided\": false,\n            \"stock_status_changed_auto\": 0\n        },\n        \"mp_dailydeal\": {\n            \"deal_id\": 1,\n            \"product_id\": 1,\n            \"product_name\": \"Joust Duffle Bag\",\n            \"product_sku\": \"24-MB01\",\n            \"status\": 1,\n            \"is_featured\": 0,\n            \"deal_price\": 20,\n            \"deal_qty\": 10,\n            \"sale_qty\": 0,\n            \"store_ids\": \"0\",\n            \"date_from\": \"2020-08-01 05:10:20\",\n            \"date_to\": \"2020-08-31 05:10:20\",\n            \"created_at\": \"2020-08-28 02:49:30\",\n            \"updated_at\": \"2020-08-28 02:49:30\",\n            \"discount_label\": \"41.18% OFF\",\n            \"remaining_time\": \"270292000\"\n        }\n    },\n    \"product_links\": [\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-UG01\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 3\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-WG083-blue\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 2\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-WG086\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 1\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-WG085_Group\",\n            \"linked_product_type\": \"grouped\",\n            \"position\": 4\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB03\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 2\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB05\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 3\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB06\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 4\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB02\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 1\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-UB02\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 5\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-WB03\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 6\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-WB07\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 8\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-WB04\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 7\n        }\n    ],\n    \"options\": [],\n    \"media_gallery_entries\": [\n        {\n            \"id\": 1,\n            \"media_type\": \"image\",\n            \"label\": \"Image\",\n            \"position\": 1,\n            \"disabled\": false,\n            \"types\": [\n                \"image\",\n                \"small_image\",\n                \"thumbnail\"\n            ],\n            \"file\": \"/m/b/mb01-blue-0.jpg\"\n        }\n    ],\n    \"tier_prices\": [],\n    \"custom_attributes\": [\n        {\n            \"attribute_code\": \"image\",\n            \"value\": \"/m/b/mb01-blue-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"small_image\",\n            \"value\": \"/m/b/mb01-blue-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"thumbnail\",\n            \"value\": \"/m/b/mb01-blue-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"url_key\",\n            \"value\": \"joust-duffle-bag\"\n        },\n        {\n            \"attribute_code\": \"required_options\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"has_options\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"category_ids\",\n            \"value\": [\n                \"3\",\n                \"4\"\n            ]\n        },\n        {\n            \"attribute_code\": \"description\",\n            \"value\": \"<p>The sporty Joust Duffle Bag can't be beat - not in the gym, not on the luggage carousel, not anywhere. Big enough to haul a basketball or soccer ball and some sneakers with plenty of room to spare, it's ideal for athletes with places to go.<p>\\n<ul>\\n<li>Dual top handles.</li>\\n<li>Adjustable shoulder strap.</li>\\n<li>Full-length zipper.</li>\\n<li>L 29\\\" x W 13\\\" x H 11\\\".</li>\\n</ul>\"\n        }\n    ]\n}"}],"_postman_id":"bc6c2843-1c18-4443-b202-52521b1a9176"},{"name":"Add Deals","id":"afa5028a-0841-4f54-ba14-64a8558be6c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"deal\":{\n        \"product_name\": \"Abominable Hoodie-S-Red\",\n        \"product_sku\": \"MH09-S-Red\",\n        \"status\": 5,\n        \"is_featured\": 0,\n        \"deal_price\": 22,\n        \"deal_qty\": 10,\n        \"sale_qty\": 0,\n        \"store_ids\": \"0\",\n        \"date_from\": \"2020-02-06 00:00:00\",\n        \"date_to\": \"2020-02-15 00:00:00\",\n        \"created_at\": \"2020-02-14 07:51:51\",\n        \"updated_at\": \"2020-02-14 07:51:51\",\n        \"discount_label\": null\n\t}\n}"},"url":"{{magento_base_url}}/rest/V1/mpDailyDeal/deals","urlObject":{"path":["rest","V1","mpDailyDeal","deals"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6ff9e017-23c1-4064-ba78-62f70a11d73e","name":"Add Deals Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"deal\":{\n        \"product_name\": \"Savvy Shoulder Tote\",\n        \"product_sku\": \"24-WB05\",\n        \"status\": 1,\n        \"is_featured\": 0,\n        \"deal_price\": 20,\n        \"deal_qty\": 10,\n        \"sale_qty\": 0,\n        \"store_ids\": \"0\",\n        \"date_from\": \"2020-02-11 00:00:00\",\n        \"date_to\": \"2020-02-27 00:00:00\",\n        \"created_at\": \"2020-02-14 02:46:38\",\n        \"updated_at\": \"2020-02-14 02:46:38\",\n        \"discount_label\": null\n\t}\n}"},"url":"{{magento_base_url}}/rest/V1/mpDailyDeal/deals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 14 Feb 2020 09:08:09 GMT"},{"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":"Set-Cookie","value":"PHPSESSID=ibt16sddhai58leknb4nqat9kk; expires=Fri, 14-Feb-2020 10:08:15 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Age","value":"0"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"afa5028a-0841-4f54-ba14-64a8558be6c0"},{"name":"Delete By Deal ID","id":"ab7c9f8f-272c-42cc-978a-749bd2287b71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mpDailyDeal/deals/5","urlObject":{"path":["rest","V1","mpDailyDeal","deals","5"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c745ca6f-ec64-496d-a346-e509731b5e89","name":"Delete By ID Example","originalRequest":{"method":"DELETE","header":[],"url":"{{magento_base_url}}/rest/V1/mpDailyDeal/deals/5"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 14 Feb 2020 09:00:14 GMT"},{"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":"Set-Cookie","value":"PHPSESSID=ibt16sddhai58leknb4nqat9kk; expires=Fri, 14-Feb-2020 10:00:19 GMT; Max-Age=3600; path=/api/api; domain=develop.mageplaza.com; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Age","value":"0"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"ab7c9f8f-272c-42cc-978a-749bd2287b71"},{"name":"Get Configuration","id":"58e48461-c2c1-4b47-862c-16949c905bfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{magento_base_url}}rest/V1/mpDailyDeal/configs","urlObject":{"path":["V1","mpDailyDeal","configs"],"host":["{{magento_base_url}}rest"],"query":[],"variable":[]}},"response":[{"id":"1709bef6-c6ce-42f9-b47d-3105d7075aae","name":"Get Configuration Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text","disabled":true},{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text","disabled":true}],"url":"{{magento_base_url}}/rest/V1/mpDailyDeal/configs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Mar 2021 08:13:43 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"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":"Set-Cookie","value":"PHPSESSID=qrp46nt4ieibcflm3maa1a1l10; expires=Tue, 09-Mar-2021 09:13:44 GMT; Max-Age=3600; path=/vananh/ce240a; domain=192.168.1.200; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1395"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"265441"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/5.2)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_enabled\": true,\n    \"show_qty_remain\": true,\n    \"show_qty_sold\": true,\n    \"show_discount_label\": \"1\",\n    \"content_label\": \"{{number}}% OFF\",\n    \"round_percent\": \"1\",\n    \"show_on\": \"1\",\n    \"label_bg_color\": \"#FFFFFF\",\n    \"label_border_color\": \"#61A969\",\n    \"label_text_color\": \"#61A969\",\n    \"all_deals_page_enabled\": false,\n    \"all_deals_page_route\": \"alldeals\",\n    \"all_deals_page_title\": \"All Deals\",\n    \"new_deals_page_enabled\": false,\n    \"new_deals_page_route\": \"newdeals\",\n    \"new_deals_page_title\": \"Featured Deals\",\n    \"featured_deals_page_enabled\": false,\n    \"featured_deals_page_route\": \"featuredeals\",\n    \"featured_deals_page_title\": \"New Deals\",\n    \"best_deals_page_enabled\": false,\n    \"best_deals_page_route\": \"sellerdeals\",\n    \"best_deals_page_title\": \"BestSeller Deals\",\n    \"show_countdown_timer\": true,\n    \"clock_style\": \"deal_style_4\",\n    \"countdown_outer_color\": \"#00BF96\",\n    \"countdown_inner_color\": \"#00816A\",\n    \"countdown_number_color\": \"#FFFFFF\",\n    \"countdown_text\": \"#FFFFFF\",\n    \"sidebar_widget_enable\": null,\n    \"sidebar_widget_qty_remain\": true,\n    \"sidebar_widget_qty_sold\": true,\n    \"sidebar_random_deal_enable\": true,\n    \"sidebar_random_deal_show_on\": \"2\",\n    \"sidebar_random_deal_limit\": \"10\",\n    \"sidebar_random_deal_title\": \"The title of the block\",\n    \"sidebar_selling_deal_enable\": false,\n    \"sidebar_selling_deal_show_on\": \"1\",\n    \"sidebar_selling_deal_limit\": \"1\",\n    \"sidebar_selling_deal_title\": null,\n    \"sidebar_upcoming_deal_enable\": false,\n    \"sidebar_upcoming_deal_show_on\": \"1\",\n    \"sidebar_upcoming_deal_limit\": \"1\",\n    \"sidebar_upcoming_deal_title\": null\n}"}],"_postman_id":"58e48461-c2c1-4b47-862c-16949c905bfd"}]}