{"info":{"_postman_id":"57c7bb48-da95-4644-92f9-44d740bbe949","name":"Magento 2 Recent Sales Notification REST 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":"57c7bb48-da95-4644-92f9-44d740bbe949","publishedId":"SzRyzq2J","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-03-11T07:35:15.000Z"},"item":[{"name":"GET Popup List","id":"c48d8dbc-7015-442f-be26-32e5742877a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mprecentsalesnotification","urlObject":{"path":["rest","V1","mprecentsalesnotification"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"1b50c091-bb37-49ad-89fb-f28ad6cddd74","name":"GET Popup List Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mprecentsalesnotification"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Apr 2022 03:53:51 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cache-Control","value":"no-store"},{"key":"Content-Length","value":"915"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"122568"},{"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    {\n        \"id\": 1,\n        \"status\": \"1\",\n        \"name\": \"Recent Sales\",\n        \"content\": \"{{product_name}} purchased by {{customer_name}} <div class=\\\"mprecentsalesnotification-time-content\\\">{{time}}</div>\",\n        \"pop_type\": \"recent-sales\",\n        \"device\": \"0\",\n        \"position\": \"top-left\",\n        \"page\": \"0\",\n        \"number_recent_order\": 15,\n        \"check_order_time\": 5,\n        \"view\": 0,\n        \"click\": 0,\n        \"close\": 0,\n        \"parent_id\": 0\n    },\n    {\n        \"id\": 2,\n        \"status\": \"1\",\n        \"name\": \"Checkout Total \",\n        \"content\": \"{{customer_count}} have checked out for the last 24 hours!\",\n        \"pop_type\": \"checkout-info\",\n        \"device\": \"0\",\n        \"position\": \"top-right\",\n        \"page\": \"1\",\n        \"number_recent_order\": null,\n        \"check_order_time\": null,\n        \"view\": 0,\n        \"click\": 0,\n        \"close\": 0,\n        \"parent_id\": 0\n    },\n    {\n        \"id\": 3,\n        \"status\": \"1\",\n        \"name\": \"Up Sell Product\",\n        \"content\": \"Customers often buy {{upsell_product_name}} along with {{product_name}}\",\n        \"pop_type\": \"up-sell\",\n        \"device\": \"0\",\n        \"position\": \"top-right\",\n        \"page\": \"0\",\n        \"number_recent_order\": null,\n        \"check_order_time\": null,\n        \"view\": 0,\n        \"click\": 0,\n        \"close\": 0,\n        \"parent_id\": 0\n    }\n]"}],"_postman_id":"c48d8dbc-7015-442f-be26-32e5742877a8"},{"name":"GET Popup By ID","id":"eb440909-7b07-438d-bc24-b3b236d581ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mprecentsalesnotification/1","urlObject":{"path":["rest","V1","mprecentsalesnotification","1"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8f3b55cc-b03f-4718-ad03-57c52c443d11","name":"GET Popup By ID","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{admin_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mprecentsalesnotification/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Apr 2022 04:12:01 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cache-Control","value":"no-store"},{"key":"Content-Length","value":"334"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"470123"},{"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    \"id\": 1,\n    \"status\": \"1\",\n    \"name\": \"Recent Sales\",\n    \"content\": \"{{product_name}} purchased by {{customer_name}} <div class=\\\"mprecentsalesnotification-time-content\\\">{{time}}</div>\",\n    \"pop_type\": \"recent-sales\",\n    \"device\": \"0\",\n    \"position\": \"top-left\",\n    \"page\": \"0\",\n    \"number_recent_order\": 15,\n    \"check_order_time\": 5,\n    \"view\": 0,\n    \"click\": 0,\n    \"close\": 0,\n    \"parent_id\": 0\n}"}],"_postman_id":"eb440909-7b07-438d-bc24-b3b236d581ad"}]}