{"info":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","description":"<html><head></head><body><p>maatoo provides a REST API to manipulate marketing data, including contacts and E-Commerce data, such as Events, Stores, Products and Orders.</p>\n<h2 id=\"support\">Support</h2>\n<ul>\n<li>REST API Documentation: <a href=\"https://docs.maatoo.io\">https://docs.maatoo.io</a></li>\n<li>Knowledge Base: <a href=\"https://maatoo.zendesk.com/\">https://maatoo.zendesk.com/</a></li>\n<li>Support Desk: <a href=\"mailto:support@maatoo.io\">support@maatoo.io</a></li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8994313","collectionId":"3882184c-1130-4462-b1eb-ce8013570470","publishedId":"TVRn2RuP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"1689E2"},"publishDate":"2021-01-12T18:09:06.000Z"},"item":[{"name":"Stores","item":[{"name":"Create store","id":"08bdb44a-c0f6-41d2-821a-9f08b7eb5edf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"domain\": \"https://mystore.example.com/\",\n    \"name\": \"Sample Store\",\n    \"shortName\": \"samplestore\",\n    \"currency\": \"CHF\",\n    \"externalStoreId\": \"5f72e0\",\n    \"platform\": \"woocommerce\",\n    \"create_audience\": true\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/stores/new","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","stores","new"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[{"id":"0fa4ae22-906e-46e1-a458-cc3d03a60dcc","name":"Create store","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"domain\": \"https://mystore.example.com/\",\n    \"name\": \"Sample Store\",\n    \"currency\": \"CHF\",\n    \"externalStoreId\": \"5f72e0\",\n    \"platform\": \"woocommerce\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/stores/new","host":["http://demo.maatoo.io:8030"],"path":["api","stores","new"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Oct 2020 13:51:34 GMT"},{"key":"Content-Length","value":"152"}],"cookie":[],"responseTime":null,"body":"{\n    \"store\": {\n        \"id\": 1,\n        \"name\": \"Sample Store\",\n        \"shortName\": \"samplestore\",\n        \"externalStoreId\": \"5f72e0\",\n        \"domain\": \"https://mystore.example.com/\",\n        \"currency\": \"CHF\",\n        \"platform\": \"woocommerce\"\n    }\n}"},{"id":"71655bc3-5ad6-4002-8af7-2ec39dd858ef","name":"Create store error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"domain\": \"https://mystore.example.com/\",\n    \"name\": \"Sample Store\",\n    \"externalStoreId\": \"5f72e0\",\n    \"platform\": \"woocommerce\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/stores/new","host":["http://demo.maatoo.io:8030"],"path":["api","stores","new"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Oct 2020 13:54:15 GMT"},{"key":"Mautic-Version","value":"3.1.0"},{"key":"Set-Cookie","value":"sf_redirect=deleted; expires=Mon, 14-Oct-2019 13:54:14 GMT; Max-Age=0; path=/; httponly"},{"key":"X-Debug-Token","value":"67e9e0"},{"key":"X-Debug-Token-Link","value":"http://demo.maatoo.io:8030/index_dev.php/_profiler/67e9e0"},{"key":"X-Powered-By","value":"PHP/7.3.22"},{"key":"Content-Length","value":"192"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": 400,\n            \"message\": \"currency: mautic.plugin.ecommerce.validation.store.currency.required\",\n            \"details\": {\n                \"currency\": [\n                    \"mautic.plugin.ecommerce.validation.store.currency.required\"\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"08bdb44a-c0f6-41d2-821a-9f08b7eb5edf"},{"name":"List stores","id":"68a2264a-bc1c-43ad-8695-8d928ba59261","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/stores","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","stores"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"68a2264a-bc1c-43ad-8695-8d928ba59261"},{"name":"Get store","id":"3c29a286-a1d2-41cb-9f6f-a7f0444583ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/stores/1","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","stores","1"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"3c29a286-a1d2-41cb-9f6f-a7f0444583ef"},{"name":"Update store","id":"30bc2094-2c93-44dc-b877-11e2f3fc3032","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"domain\": \"sadfasf1\",\n    \"name\": \"asdf1\",\n    \"currency\": \"asdfa1\",\n    \"externalStoreId\": \"asdf1\",\n    \"platform\": \"woocommerce\"\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/stores/1/edit","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","stores","1","edit"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"30bc2094-2c93-44dc-b877-11e2f3fc3032"},{"name":"Delete store","id":"b5f8e072-44d9-4523-b21d-49b62e46c06f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://demo.maatoo.io:8030/api/stores/1/delete","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","stores","1","delete"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"b5f8e072-44d9-4523-b21d-49b62e46c06f"}],"id":"711e2f56-a2a4-442a-a6c0-1d7b76828349","_postman_id":"711e2f56-a2a4-442a-a6c0-1d7b76828349","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}}},{"name":"Product Categories","item":[{"name":"List product categories","id":"dc62510a-1c8b-4297-90da-203606693dfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/product-categories","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","product-categories"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc62510a-1c8b-4297-90da-203606693dfd"},{"name":"Create product category","id":"a5b2cce9-29f9-42a0-8d3f-c13a025714ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"name\": \"Clothing\",\n    \"alias\": \"clothing\",\n    \"url\": \"https://maatoo-woocommerce.lndo.site/product-category/clothing/\",\n    \"externalCategoryId\": \"16\"\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/product-categories/new","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","product-categories","new"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[{"id":"38606fb8-dbd8-4093-b5e5-fbc4a59afde7","name":"Create product category","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"name\": \"Clothing\",\n    \"alias\": \"clothing\",\n    \"url\": \"https://maatoo-woocommerce.lndo.site/product-category/clothing/\",\n    \"externalCategoryId\": \"16\"\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/product-categories/new"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 16 Apr 2021 14:34:16 GMT"},{"key":"Expires","value":"Fri, 16 Apr 2021 14:34:16 GMT"},{"key":"Location","value":"/index_dev.php/api/product-categories/1"},{"key":"Mautic-Version","value":"3.2.3"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%22de8e2e%22%2C%22route%22%3A%22mautic_api_categories_new%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22MauticPlugin%5C%5CMaatooEcommerceBundle%5C%5CController%5C%5CApi%5C%5CCategoryApiController%22%2C%22method%22%3A%22newEntityAction%22%2C%22file%22%3A%22%5C%2FUsers%5C%2Fsimcen%5C%2FDevelopment%5C%2Fdiginlab%5C%2Fmaatoo-app%5C%2Fapp%5C%2Fbundles%5C%2FApiBundle%5C%2FController%5C%2FCommonApiController.php%22%2C%22line%22%3A628%7D%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"},{"key":"X-Debug-Token","value":"de8e2e"},{"key":"X-Debug-Token-Link","value":"https://localhost:8030/index_dev.php/_profiler/de8e2e"},{"key":"X-Powered-By","value":"PHP/7.4.16"},{"key":"Content-Length","value":"412"}],"cookie":[],"responseTime":null,"body":"{\n    \"category\": {\n        \"id\": 1,\n        \"name\": \"Clothing\",\n        \"alias\": \"clothing\",\n        \"externalCategoryId\": \"16\",\n        \"url\": \"https://maatoo-woocommerce.lndo.site/product-category/clothing/\",\n        \"store\": {\n            \"id\": 1,\n            \"name\": \"Foobar Store\",\n            \"shortName\": \"maatoowoocommerce\",\n            \"externalStoreId\": \"fed7b8\",\n            \"domain\": \"https://maatoo-woocommerce.lndo.site\",\n            \"currency\": \"CHF\",\n            \"platform\": \"woocommerce\"\n        },\n        \"dateCreated\": \"2021-04-16T16:34:15+02:00\",\n        \"dateUpdated\": null\n    }\n}"}],"_postman_id":"a5b2cce9-29f9-42a0-8d3f-c13a025714ca"},{"name":"Update product category","id":"986736fb-8131-47c4-acbf-20fbfec2448b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"alias\": \"clothing2\"\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/product-categories/1/edit","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","product-categories","1","edit"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[],"_postman_id":"986736fb-8131-47c4-acbf-20fbfec2448b"},{"name":"Delete product category","id":"53618a8c-fcf2-4cb3-8b7f-632feb0ae20b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://demo.maatoo.io:8030/api/product-categories/1/delete","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","product-categories","1","delete"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[],"_postman_id":"53618a8c-fcf2-4cb3-8b7f-632feb0ae20b"}],"id":"a59cd5c9-a589-4e5f-9083-a79b6f2a2f73","_postman_id":"a59cd5c9-a589-4e5f-9083-a79b6f2a2f73","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}}},{"name":"Products","item":[{"name":"Create product","id":"7292f44b-f7c8-469d-9527-7b02a461fbb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"category\": 2,\n    \"externalProductId\": \"2\",\n    \"price\": 12.00,\n    \"url\": \"https://granolafactory.ch/product/nature/\",\n    \"title\": \"Nature\",\n    \"description\": \"Unsere Basis-Mischung ideal zur Ergänzung mit frischen Beeren.\",\n    \"sku\": \"12345\",\n    \"imageUrl\": \"https://granolafactory.ch/wp-content/uploads/2020/01/granola_single_nature_bg.png\",\n    \"productCategory\": 2,\n    \"externalDatePublished\": \"2022-05-31 14:00:00\",\n    \"isVisible\": false,\n    \"inventoryQuantity\": 55\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/products/new","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","products","new"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[{"id":"1636cdc4-480c-487d-a1d3-49879604ef99","name":"Create product","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"externalProductId\": \"2\",\n    \"price\": 12.00,\n    \"url\": \"https://granolafactory.ch/product/nature/\",\n    \"title\": \"Nature\",\n    \"description\": \"Unsere Basis-Mischung ideal zur Ergänzung mit frischen Beeren.\",\n    \"sku\": \"12345\",\n    \"imageUrl\": \"https://granolafactory.ch/wp-content/uploads/2020/01/granola_single_nature_bg.png\",\n    \"productCategory\": 2\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/products/new","host":["http://demo.maatoo.io:8030"],"path":["api","products","new"],"query":[{"key":"name","value":"test","disabled":true}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7292f44b-f7c8-469d-9527-7b02a461fbb0"},{"name":"Batch create products","id":"f9e6a957-aeaa-4f04-89c7-ab8a0efd2e2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[{\n    \"store\": 1,\n    \"category\": 2,\n    \"externalProductId\": \"2\",\n    \"price\": 12.00,\n    \"url\": \"https://granolafactory.ch/product/nature/\",\n    \"title\": \"Nature\",\n    \"description\": \"Unsere Basis-Mischung ideal zur Ergänzung mit frischen Beeren.\",\n    \"sku\": \"12345\",\n    \"imageUrl\": \"https://granolafactory.ch/wp-content/uploads/2020/01/granola_single_nature_bg.png\",\n    \"productCategory\": 2,\n    \"externalDatePublished\": \"2022-05-31 14:00:00\",\n    \"isVisible\": false,\n    \"inventoryQuantity\": 55\n},\n{\n    \"store\": 1,\n    \"category\": 2,\n    \"externalProductId\": \"3\",\n    \"price\": 14.00,\n    \"url\": \"https://granolafactory.ch/product/test/\",\n    \"title\": \"Test\",\n    \"description\": \"Unsere Basis-Mischung ideal zur Ergänzung mit frischen Beeren.\",\n    \"sku\": \"54321\",\n    \"imageUrl\": \"https://granolafactory.ch/wp-content/uploads/2020/01/granola_single_nature_bg.png\",\n    \"productCategory\": 2,\n    \"externalDatePublished\": \"2022-05-31 14:00:00\",\n    \"isVisible\": false,\n    \"inventoryQuantity\": 55\n}]","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/products/batch/new","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","products","batch","new"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[{"id":"04d678a6-69f1-4bc5-87aa-19ae691b57dd","name":"Create product","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"externalProductId\": \"2\",\n    \"price\": 12.00,\n    \"url\": \"https://granolafactory.ch/product/nature/\",\n    \"title\": \"Nature\",\n    \"description\": \"Unsere Basis-Mischung ideal zur Ergänzung mit frischen Beeren.\",\n    \"sku\": \"12345\",\n    \"imageUrl\": \"https://granolafactory.ch/wp-content/uploads/2020/01/granola_single_nature_bg.png\",\n    \"productCategory\": 2\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/products/new","host":["http://demo.maatoo.io:8030"],"path":["api","products","new"],"query":[{"key":"name","value":"test","disabled":true}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f9e6a957-aeaa-4f04-89c7-ab8a0efd2e2a"},{"name":"List products","id":"6b5d22ad-d111-41cb-91d8-b456572e278c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/products","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","products"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"6b5d22ad-d111-41cb-91d8-b456572e278c"},{"name":"Get single","id":"06e08ef9-572c-48ea-a544-432e9443ce70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/products/1","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","products","1"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"06e08ef9-572c-48ea-a544-432e9443ce70"},{"name":"Get filtered products","id":"e253fadd-1068-446d-a772-276637f5deb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/products?query=wp-pennant&category_id=2&limit=5&start=0","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","products"],"host":["http://demo.maatoo.io:8030"],"query":[{"key":"query","value":"wp-pennant"},{"key":"category_id","value":"2"},{"key":"limit","value":"5"},{"key":"start","value":"0"}],"variable":[]}},"response":[],"_postman_id":"e253fadd-1068-446d-a772-276637f5deb0"},{"name":"Update product","id":"d825d132-42b3-4a79-81fe-6edb1107345f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"externalProductId\": \"asdfa1\",\n    \"price\": 200,\n    \"url\": \"asdf1\",\n    \"title\": \"Test\",\n    \"description\": \"test test\",\n    \"sku\": \"asdfsadfsdaf\"\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/products/1/edit","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","products","1","edit"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"d825d132-42b3-4a79-81fe-6edb1107345f"},{"name":"Batch update products","id":"0f28e9f2-2fc0-4c99-9cd6-d45481a5e9cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": 934,\n        \"description\": \"test test\"\n    },\n    {\n        \"id\": 933,\n        \"description\": \"test test2\"\n    },\n    {\n        \"id\": 932,\n        \"description\": \"test test3\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/products/batch/edit","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","products","batch","edit"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"0f28e9f2-2fc0-4c99-9cd6-d45481a5e9cd"},{"name":"Delete product","id":"367a7a89-1a32-46d0-b503-53ab5444163f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://demo.maatoo.io:8030/api/products/1/delete","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","products","1","delete"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"367a7a89-1a32-46d0-b503-53ab5444163f"}],"id":"fd3969f9-3fbc-4d2d-9047-ea80c6a173c0","_postman_id":"fd3969f9-3fbc-4d2d-9047-ea80c6a173c0","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}}},{"name":"Orders","item":[{"name":"Create order","id":"7b5cc901-ecb2-4eff-9465-754da77c4693","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"externalOrderId\": \"83721\",\n    \"externalDateProcessed\": \"2023-03-05 14:25:42\",\n    \"externalDateUpdated\": \"2020-11-17 20:01:16\",\n    \"externalDateCancelled\": \"2020-11-18 09:30:00\",\n    \"value\": 58,\n    \"discountValue\": 1,\n    \"taxValue\": 0.5,\n    \"shippingValue\": 7,\n    \"url\": \"https://mystore.example.com/view-order/83712\",\n    \"status\": \"complete\",\n    \"paymentMethod\": \"creditcard\",\n    \"email\": \"foo@bar.com\",\n    \"firstName\": \"Foo\",\n    \"lastName\": \"Bar\",\n    \"conversion\": {\n        \"type\": \"email\",\n        \"id\": 43\n    },\n    \"isManuallyCanceled\": true\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/orders/new","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orders","new"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[{"id":"49b588ae-43ad-4377-a1f7-b565227fa9cf","name":"Create order with inline contact details","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"externalOrderId\": \"83712\",\n    \"value\": 58,\n    \"url\": \"https://mystore.example.com/view-order/83712\",\n    \"status\": \"awaiting-payment\",\n    \"email\": \"foo@bar.com\",\n    \"firstName\": \"Foo\",\n    \"lastName\": \"Bar\",\n    \"conversion\": {\n        \"type\": \"email\",\n        \"id\": 6\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/orders/new","host":["http://demo.maatoo.io:8030"],"path":["api","orders","new"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"628"}],"cookie":[],"responseTime":null,"body":"{\n    \"order\": {\n        \"id\": 10,\n        \"value\": 58,\n        \"status\": \"awaiting-payment\",\n        \"url\": \"https://mystore.example.com/view-order/83712\",\n        \"externalOrderId\": \"83712\",\n        \"externalDateProcessed\": \"2020-11-16 14:25:42\",\n        \"externalDateUpdated\": \"2020-11-17 20:01:16\",\n        \"externalDateCancelled\": \"2020-11-18 09:30:00\",\n        \"dateCreated\": \"2020-10-14T14:16:58+00:00\",\n        \"dateUpdated\": null,\n        \"lead\": {\n            \"id\": 64,\n            \"points\": 0,\n            \"color\": null,\n            \"fields\": [],\n            \"lastActive\": null,\n            \"owner\": null,\n            \"ipAddresses\": [],\n            \"tags\": [],\n            \"utmtags\": [],\n            \"stage\": null,\n            \"dateIdentified\": \"2020-10-14T07:58:53+00:00\",\n            \"preferredProfileImage\": \"gravatar\",\n            \"doNotContact\": [],\n            \"frequencyRules\": []\n        },\n        \"store\": {\n            \"id\": 1,\n            \"name\": \"Sample Store\",\n            \"externalStoreId\": \"5f72e0\",\n            \"domain\": \"https://mystore.example.com/\",\n            \"currency\": \"CHF\",\n            \"platform\": \"woocommerce\"\n        },\n        \"orderLines\": null\n    }\n}"},{"id":"99be0507-38be-4df3-bb7f-af9c524b8a54","name":"Create order with contact id","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"externalOrderId\": \"83712\",\n    \"externalDateProcessed\": \"2020-11-16 14:25:42\",\n    \"externalDateUpdated\": \"2020-11-17 20:01:16\",\n    \"externalDateCancelled\": \"2020-11-18 09:30:00\",\n    \"value\": 58,\n    \"url\": \"https://mystore.example.com/view-order/83712\",\n    \"status\": \"awaiting-payment\",\n    \"lead_id\": 6255,\n    \"conversion\": {\n        \"type\": \"email\",\n        \"id\": 6\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/orders/new","host":["http://demo.maatoo.io:8030"],"path":["api","orders","new"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 11 Jan 2021 15:48:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"order\": {\n        \"id\": 1,\n        \"value\": 58,\n        \"status\": \"awaiting-payment\",\n        \"url\": \"https://mystore.example.com/view-order/83712\",\n        \"externalOrderId\": \"83712\",\n        \"externalDateProcessed\": \"2020-11-16T14:25:42+00:00\",\n        \"externalDateCancelled\": \"2020-11-18T09:30:00+00:00\",\n        \"externalDateUpdated\": \"2020-11-17T20:01:16+00:00\",\n        \"dateCreated\": \"2021-01-11T15:47:59+00:00\",\n        \"dateUpdated\": null,\n        \"lead\": {\n            \"id\": 6255,\n            \"points\": 0,\n            \"color\": null,\n            \"fields\": {\n                \"core\": {\n                    \"title\": {\n                        \"id\": \"1\",\n                        \"label\": \"Title\",\n                        \"alias\": \"title\",\n                        \"type\": \"lookup\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:1:{s:4:\\\"list\\\";a:3:{i:0;s:2:\\\"Mr\\\";i:1;s:3:\\\"Mrs\\\";i:2;s:4:\\\"Miss\\\";}}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"firstname\": {\n                        \"id\": \"2\",\n                        \"label\": \"First Name\",\n                        \"alias\": \"firstname\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"Simon\",\n                        \"normalizedValue\": \"Simon\"\n                    },\n                    \"lastname\": {\n                        \"id\": \"3\",\n                        \"label\": \"Last Name\",\n                        \"alias\": \"lastname\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"Balz\",\n                        \"normalizedValue\": \"Balz\"\n                    },\n                    \"company\": {\n                        \"id\": \"4\",\n                        \"label\": \"Primary company\",\n                        \"alias\": \"company\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"position\": {\n                        \"id\": \"5\",\n                        \"label\": \"Position\",\n                        \"alias\": \"position\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"email\": {\n                        \"id\": \"6\",\n                        \"label\": \"Email\",\n                        \"alias\": \"email\",\n                        \"type\": \"email\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"simon@balz.me\",\n                        \"normalizedValue\": \"simon@balz.me\"\n                    },\n                    \"mobile\": {\n                        \"id\": \"7\",\n                        \"label\": \"Mobile\",\n                        \"alias\": \"mobile\",\n                        \"type\": \"tel\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"phone\": {\n                        \"id\": \"8\",\n                        \"label\": \"Phone\",\n                        \"alias\": \"phone\",\n                        \"type\": \"tel\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"points\": {\n                        \"id\": \"9\",\n                        \"label\": \"Points\",\n                        \"alias\": \"points\",\n                        \"type\": \"number\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": \"0\",\n                        \"value\": 0,\n                        \"normalizedValue\": 0\n                    },\n                    \"fax\": {\n                        \"id\": \"10\",\n                        \"label\": \"Fax\",\n                        \"alias\": \"fax\",\n                        \"type\": \"tel\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"address1\": {\n                        \"id\": \"11\",\n                        \"label\": \"Address Line 1\",\n                        \"alias\": \"address1\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"address2\": {\n                        \"id\": \"12\",\n                        \"label\": \"Address Line 2\",\n                        \"alias\": \"address2\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"city\": {\n                        \"id\": \"13\",\n                        \"label\": \"City\",\n                        \"alias\": \"city\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"state\": {\n                        \"id\": \"14\",\n                        \"label\": \"State\",\n                        \"alias\": \"state\",\n                        \"type\": \"region\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"zipcode\": {\n                        \"id\": \"15\",\n                        \"label\": \"Zip Code\",\n                        \"alias\": \"zipcode\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"country\": {\n                        \"id\": \"16\",\n                        \"label\": \"Country\",\n                        \"alias\": \"country\",\n                        \"type\": \"country\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"preferred_locale\": {\n                        \"id\": \"17\",\n                        \"label\": \"Preferred Locale\",\n                        \"alias\": \"preferred_locale\",\n                        \"type\": \"locale\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"timezone\": {\n                        \"id\": \"18\",\n                        \"label\": \"Preferred Timezone\",\n                        \"alias\": \"timezone\",\n                        \"type\": \"timezone\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"last_active\": {\n                        \"id\": \"19\",\n                        \"label\": \"Date Last Active\",\n                        \"alias\": \"last_active\",\n                        \"type\": \"datetime\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"attribution_date\": {\n                        \"id\": \"20\",\n                        \"label\": \"Attribution Date\",\n                        \"alias\": \"attribution_date\",\n                        \"type\": \"datetime\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"attribution\": {\n                        \"id\": \"21\",\n                        \"label\": \"Attribution\",\n                        \"alias\": \"attribution\",\n                        \"type\": \"number\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:2:{s:9:\\\"roundmode\\\";i:4;s:5:\\\"scale\\\";i:2;}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"website\": {\n                        \"id\": \"22\",\n                        \"label\": \"Website\",\n                        \"alias\": \"website\",\n                        \"type\": \"url\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"slug\": {\n                        \"id\": \"45\",\n                        \"label\": \"Slug\",\n                        \"alias\": \"slug\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"anredeform\": {\n                        \"id\": \"46\",\n                        \"label\": \"Anredeform\",\n                        \"alias\": \"anredeform\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"anredeart\": {\n                        \"id\": \"47\",\n                        \"label\": \"Anredeart\",\n                        \"alias\": \"anredeart\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"hauptsprache\": {\n                        \"id\": \"48\",\n                        \"label\": \"Hauptsprache\",\n                        \"alias\": \"hauptsprache\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    }\n                },\n                \"social\": {\n                    \"facebook\": {\n                        \"id\": \"23\",\n                        \"label\": \"Facebook\",\n                        \"alias\": \"facebook\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"foursquare\": {\n                        \"id\": \"24\",\n                        \"label\": \"Foursquare\",\n                        \"alias\": \"foursquare\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"instagram\": {\n                        \"id\": \"25\",\n                        \"label\": \"Instagram\",\n                        \"alias\": \"instagram\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"linkedin\": {\n                        \"id\": \"26\",\n                        \"label\": \"LinkedIn\",\n                        \"alias\": \"linkedin\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"skype\": {\n                        \"id\": \"27\",\n                        \"label\": \"Skype\",\n                        \"alias\": \"skype\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"twitter\": {\n                        \"id\": \"28\",\n                        \"label\": \"Twitter\",\n                        \"alias\": \"twitter\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    }\n                },\n                \"personal\": [],\n                \"professional\": []\n            },\n            \"lastActive\": null,\n            \"owner\": {},\n            \"ipAddresses\": [],\n            \"tags\": [],\n            \"utmtags\": [],\n            \"stage\": null,\n            \"dateIdentified\": \"2021-01-11T15:45:54+00:00\",\n            \"preferredProfileImage\": null,\n            \"doNotContact\": [],\n            \"frequencyRules\": [\n                {}\n            ]\n        },\n        \"store\": {\n            \"id\": 1,\n            \"name\": \"Sample Store\",\n            \"shortName\": \"samplestore\",\n            \"externalStoreId\": \"5f72e0\",\n            \"domain\": \"https://mystore.example.com/\",\n            \"currency\": \"CHF\",\n            \"platform\": \"woocommerce\"\n        },\n        \"orderLines\": null\n    }\n}"}],"_postman_id":"7b5cc901-ecb2-4eff-9465-754da77c4693"},{"name":"List orders","id":"da7b473c-1d71-4588-b422-47bf153fee10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/orders","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orders"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"da7b473c-1d71-4588-b422-47bf153fee10"},{"name":"Find orders by externalOrderId","id":"c97b2cf0-3164-4cb5-86af-122c6cc0a63b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/orders?minimal=true&where%5B0%5D%5Bcol%5D=externalOrderId&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=3344&limit=1","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orders"],"host":["http://demo.maatoo.io:8030"],"query":[{"key":"minimal","value":"true"},{"key":"where%5B0%5D%5Bcol%5D","value":"externalOrderId"},{"key":"where%5B0%5D%5Bexpr%5D","value":"eq"},{"key":"where%5B0%5D%5Bval%5D","value":"3344"},{"key":"limit","value":"1"}],"variable":[]}},"response":[],"_postman_id":"c97b2cf0-3164-4cb5-86af-122c6cc0a63b"},{"name":"Get order","id":"bc08541a-dd51-4122-bc3f-041c2db4cf7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/orders/1","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orders","1"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"bc08541a-dd51-4122-bc3f-041c2db4cf7c"},{"name":"Get orders orderlines","id":"7c3a50f1-e81a-41f5-9776-a5d1646800a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/orders/1/orderLines","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orders","1","orderLines"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[{"id":"f8da59b9-d38a-43d0-8b10-d3678d5caf62","name":"Get orders orderlines","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://demo.maatoo.io:8030/api/orders/1/orderLines","host":["http://demo.maatoo.io:8030"],"path":["api","orders","1","orderLines"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 14 Jan 2021 11:19:38 GMT"},{"key":"Content-Length","value":"87"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"orderLines\": {\n        \"2\": {\n            \"id\": 2,\n            \"store\": {},\n            \"order\": {},\n            \"product\": {},\n            \"quantity\": 1\n        }\n    }\n}"}],"_postman_id":"7c3a50f1-e81a-41f5-9776-a5d1646800a1"},{"name":"Update order","id":"00f0ddd0-28e3-443f-9859-692633d2b574","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"paymentMethod\": \"apple_pay\"\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/orders/1/edit","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orders","1","edit"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[{"id":"6d7462b4-a275-453e-851e-0e9f3af24fcf","name":"Update order","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"completed\",\n    \"conversion\": {\n        \"type\": \"email\",\n        \"id\": 6\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/orders/10/edit","host":["http://demo.maatoo.io:8030"],"path":["api","orders","10","edit"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"642"}],"cookie":[],"responseTime":null,"body":"{\n    \"order\": {\n        \"id\": 10,\n        \"value\": 58,\n        \"status\": \"completed\",\n        \"url\": \"https://mystore.example.com/view-order/83712\",\n        \"externalOrderId\": \"83712\",\n        \"dateCreated\": \"2020-10-14T14:16:58+00:00\",\n        \"dateUpdated\": \"2020-10-14T14:24:19+00:00\",\n        \"lead\": {\n            \"id\": 64,\n            \"points\": 0,\n            \"color\": null,\n            \"fields\": [],\n            \"lastActive\": null,\n            \"owner\": null,\n            \"ipAddresses\": [],\n            \"tags\": [],\n            \"utmtags\": [],\n            \"stage\": null,\n            \"dateIdentified\": \"2020-10-14T07:58:53+00:00\",\n            \"preferredProfileImage\": \"gravatar\",\n            \"doNotContact\": [],\n            \"frequencyRules\": []\n        },\n        \"store\": {\n            \"id\": 1,\n            \"name\": \"Sample Store\",\n            \"externalStoreId\": \"5f72e0\",\n            \"domain\": \"https://mystore.example.com/\",\n            \"currency\": \"CHF\",\n            \"platform\": \"woocommerce\"\n        },\n        \"orderLines\": []\n    }\n}"}],"_postman_id":"00f0ddd0-28e3-443f-9859-692633d2b574"},{"name":"Delete order","id":"6c93c1cd-72fd-454c-b9d8-d6f78dd1d84a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://demo.maatoo.io:8030/api/orders/1/delete","urlObject":{"path":["api","orders","1","delete"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"6c93c1cd-72fd-454c-b9d8-d6f78dd1d84a"}],"id":"cd70d092-fc41-4fa6-ae99-0fd6ea071cf9","_postman_id":"cd70d092-fc41-4fa6-ae99-0fd6ea071cf9","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}}},{"name":"Order Lines","item":[{"name":"Create","id":"418295c8-00ba-41a5-8c89-4401be87514e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"product\": 2,\n    \"order\": 2,\n    \"quantity\": 1\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/orderLines/new","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orderLines","new"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"418295c8-00ba-41a5-8c89-4401be87514e"},{"name":"Batch Create","id":"6ecd603b-016d-46b8-9804-9bd5c14954ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[{\n    \"store\": 1,\n    \"product\": 1,\n    \"order\": 1,\n    \"quantity\": 1\n},{\n    \"store\": 1,\n    \"product\": 3,\n    \"order\": 1,\n    \"quantity\": 2\n}]","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/orderLines/batch/new","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orderLines","batch","new"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[],"_postman_id":"6ecd603b-016d-46b8-9804-9bd5c14954ec"},{"name":"List order lines","id":"763c8747-949d-449d-81fe-80259280d396","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/orderLines","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orderLines"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[{"id":"9eae51b0-d26e-405f-aad4-9508298f44fc","name":"List order lines","originalRequest":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/orderLines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 12 Jan 2021 18:03:32 GMT"},{"key":"Content-Length","value":"1151"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"orderLines\": {\n        \"1\": {\n            \"id\": 1,\n            \"store\": {\n                \"id\": 1,\n                \"name\": \"Sample Store\",\n                \"shortName\": \"samplestore\",\n                \"externalStoreId\": \"5f72e0\",\n                \"domain\": \"https://mystore.example.com/\",\n                \"currency\": \"CHF\",\n                \"platform\": \"woocommerce\"\n            },\n            \"order\": {\n                \"id\": 1,\n                \"value\": 58,\n                \"status\": \"awaiting-payment\",\n                \"url\": \"https://mystore.example.com/view-order/83712\",\n                \"externalOrderId\": \"83712\",\n                \"externalDateProcessed\": \"2020-11-16T14:25:42+00:00\",\n                \"externalDateCancelled\": \"2020-11-18T09:30:00+00:00\",\n                \"externalDateUpdated\": \"2020-11-17T20:01:16+00:00\",\n                \"dateCreated\": \"2021-01-11T15:47:59+00:00\",\n                \"dateUpdated\": null\n            },\n            \"product\": {\n                \"id\": 1,\n                \"title\": \"Nature\",\n                \"description\": \"Unsere Basis-Mischung ideal zur Ergänzung mit frischen Beeren.\",\n                \"externalProductId\": \"2\",\n                \"price\": 12,\n                \"sku\": \"12345\",\n                \"imageUrl\": \"https://granolafactory.ch/wp-content/uploads/2020/01/granola_single_nature_bg.png\",\n                \"url\": \"https://granolafactory.ch/product/nature/\",\n                \"store\": {\n                    \"id\": 1,\n                    \"name\": \"Sample Store\",\n                    \"shortName\": \"samplestore\",\n                    \"externalStoreId\": \"5f72e0\",\n                    \"domain\": \"https://mystore.example.com/\",\n                    \"currency\": \"CHF\",\n                    \"platform\": \"woocommerce\"\n                },\n                \"dateCreated\": \"2021-01-12T18:02:42+00:00\",\n                \"dateUpdated\": null\n            },\n            \"quantity\": 1\n        }\n    }\n}"}],"_postman_id":"763c8747-949d-449d-81fe-80259280d396"},{"name":"Delete order line","id":"eea61f55-898b-479c-a772-6d6bd592bb85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://demo.maatoo.io:8030/api/orderLines/1/delete","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orderLines","1","delete"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[{"id":"0183501c-42af-4d37-90fe-a8f77d4bfc7e","name":"Delete order line","originalRequest":{"method":"DELETE","header":[],"url":"http://demo.maatoo.io:8030/api/orderLines/1/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 12 Jan 2021 18:06:03 GMT"},{"key":"Content-Length","value":"1137"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderLine\": {\n        \"id\": null,\n        \"quantity\": 2\n    }\n}"}],"_postman_id":"eea61f55-898b-479c-a772-6d6bd592bb85"},{"name":"Update order line","id":"fa128a4c-5164-4061-be57-fa903ccad416","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"product\": 1,\n    \"order\": 1,\n    \"quantity\": 2\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/orderLines/1/edit","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","orderLines","1","edit"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[{"id":"227c0391-cc51-4a42-8dfd-d99d75111eac","name":"Update order lines","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"product\": 1,\n    \"order\": 1,\n    \"quantity\": 2\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/orderLines/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 12 Jan 2021 18:04:40 GMT"},{"key":"Content-Length","value":"1134"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderLine\": {\n        \"id\": 1,\n        \"store\": {\n            \"id\": 1,\n            \"name\": \"Sample Store\",\n            \"shortName\": \"samplestore\",\n            \"externalStoreId\": \"5f72e0\",\n            \"domain\": \"https://mystore.example.com/\",\n            \"currency\": \"CHF\",\n            \"platform\": \"woocommerce\"\n        },\n        \"order\": {\n            \"id\": 1,\n            \"value\": 58,\n            \"status\": \"awaiting-payment\",\n            \"url\": \"https://mystore.example.com/view-order/83712\",\n            \"externalOrderId\": \"83712\",\n            \"externalDateProcessed\": \"2020-11-16T14:25:42+00:00\",\n            \"externalDateCancelled\": \"2020-11-18T09:30:00+00:00\",\n            \"externalDateUpdated\": \"2020-11-17T20:01:16+00:00\",\n            \"dateCreated\": \"2021-01-11T15:47:59+00:00\",\n            \"dateUpdated\": null\n        },\n        \"product\": {\n            \"id\": 1,\n            \"title\": \"Nature\",\n            \"description\": \"Unsere Basis-Mischung ideal zur Ergänzung mit frischen Beeren.\",\n            \"externalProductId\": \"2\",\n            \"price\": 12,\n            \"sku\": \"12345\",\n            \"imageUrl\": \"https://granolafactory.ch/wp-content/uploads/2020/01/granola_single_nature_bg.png\",\n            \"url\": \"https://granolafactory.ch/product/nature/\",\n            \"store\": {\n                \"id\": 1,\n                \"name\": \"Sample Store\",\n                \"shortName\": \"samplestore\",\n                \"externalStoreId\": \"5f72e0\",\n                \"domain\": \"https://mystore.example.com/\",\n                \"currency\": \"CHF\",\n                \"platform\": \"woocommerce\"\n            },\n            \"dateCreated\": \"2021-01-12T18:02:42+00:00\",\n            \"dateUpdated\": null\n        },\n        \"quantity\": 2\n    }\n}"}],"_postman_id":"fa128a4c-5164-4061-be57-fa903ccad416"}],"id":"2aba3921-cd9b-43ac-806b-1f8f7893f6a4","_postman_id":"2aba3921-cd9b-43ac-806b-1f8f7893f6a4","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}}},{"name":"Conversions","item":[{"name":"Convert email","id":"dbd9d7a6-d426-4b69-9cff-682fbdfb67bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/emails/5/contact/7/convert","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","emails","5","contact","7","convert"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[],"_postman_id":"dbd9d7a6-d426-4b69-9cff-682fbdfb67bc"}],"id":"e034b362-b782-4d5e-a8ef-c74b3e519bdb","_postman_id":"e034b362-b782-4d5e-a8ef-c74b3e519bdb","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}}},{"name":"Events","item":[{"name":"Create event","id":"7551ef83-24a2-4fe6-b439-014fe9ebfa9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"lead\": 67,\n\t\"category\": \"Contact\",\n\t\"action\": \"Submit\",\n\t\"label\": \"Contact Page Form\",\n\t\"value\": 50\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/events/new","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","events","new"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[{"id":"4945b71e-391f-427b-a7cd-4bd92bbccc38","name":"Create event","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"lead\": 67,\n\t\"category\": \"Contact\",\n\t\"action\": \"Submit\",\n\t\"label\": \"Contact Page Form\",\n\t\"value\": 50\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/events/new"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 11 Nov 2020 10:29:26 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"event\": {\n        \"id\": 15,\n        \"createdAt\": \"2020-11-11T10:29:25+00:00\",\n        \"lead\": {\n            \"id\": 67,\n            \"points\": 0,\n            \"color\": null,\n            \"fields\": {\n                \"core\": {\n                    \"title\": {\n                        \"id\": \"1\",\n                        \"label\": \"Title\",\n                        \"alias\": \"title\",\n                        \"type\": \"lookup\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:1:{s:4:\\\"list\\\";a:3:{i:0;s:2:\\\"Mr\\\";i:1;s:3:\\\"Mrs\\\";i:2;s:4:\\\"Miss\\\";}}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"firstname\": {\n                        \"id\": \"2\",\n                        \"label\": \"First Name\",\n                        \"alias\": \"firstname\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"Max\",\n                        \"normalizedValue\": \"Max\"\n                    },\n                    \"lastname\": {\n                        \"id\": \"3\",\n                        \"label\": \"Last Name\",\n                        \"alias\": \"lastname\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"Muster\",\n                        \"normalizedValue\": \"Muster\"\n                    },\n                    \"company\": {\n                        \"id\": \"4\",\n                        \"label\": \"Primary company\",\n                        \"alias\": \"company\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"position\": {\n                        \"id\": \"5\",\n                        \"label\": \"Position\",\n                        \"alias\": \"position\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"email\": {\n                        \"id\": \"6\",\n                        \"label\": \"Email\",\n                        \"alias\": \"email\",\n                        \"type\": \"email\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"max@muster.com\",\n                        \"normalizedValue\": \"max@muster.com\"\n                    },\n                    \"mobile\": {\n                        \"id\": \"7\",\n                        \"label\": \"Mobile\",\n                        \"alias\": \"mobile\",\n                        \"type\": \"tel\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"phone\": {\n                        \"id\": \"8\",\n                        \"label\": \"Phone\",\n                        \"alias\": \"phone\",\n                        \"type\": \"tel\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"points\": {\n                        \"id\": \"9\",\n                        \"label\": \"Points\",\n                        \"alias\": \"points\",\n                        \"type\": \"number\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": \"0\",\n                        \"value\": 0,\n                        \"normalizedValue\": 0\n                    },\n                    \"fax\": {\n                        \"id\": \"10\",\n                        \"label\": \"Fax\",\n                        \"alias\": \"fax\",\n                        \"type\": \"tel\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"address1\": {\n                        \"id\": \"11\",\n                        \"label\": \"Address Line 1\",\n                        \"alias\": \"address1\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"address2\": {\n                        \"id\": \"12\",\n                        \"label\": \"Address Line 2\",\n                        \"alias\": \"address2\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"city\": {\n                        \"id\": \"13\",\n                        \"label\": \"City\",\n                        \"alias\": \"city\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"-\",\n                        \"normalizedValue\": \"-\"\n                    },\n                    \"state\": {\n                        \"id\": \"14\",\n                        \"label\": \"State\",\n                        \"alias\": \"state\",\n                        \"type\": \"region\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"-\",\n                        \"normalizedValue\": \"-\"\n                    },\n                    \"zipcode\": {\n                        \"id\": \"15\",\n                        \"label\": \"Zip Code\",\n                        \"alias\": \"zipcode\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"-\",\n                        \"normalizedValue\": \"-\"\n                    },\n                    \"country\": {\n                        \"id\": \"16\",\n                        \"label\": \"Country\",\n                        \"alias\": \"country\",\n                        \"type\": \"country\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"-\",\n                        \"normalizedValue\": \"-\"\n                    },\n                    \"preferred_locale\": {\n                        \"id\": \"17\",\n                        \"label\": \"Preferred Locale\",\n                        \"alias\": \"preferred_locale\",\n                        \"type\": \"locale\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"timezone\": {\n                        \"id\": \"18\",\n                        \"label\": \"Preferred Timezone\",\n                        \"alias\": \"timezone\",\n                        \"type\": \"timezone\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"last_active\": {\n                        \"id\": \"19\",\n                        \"label\": \"Date Last Active\",\n                        \"alias\": \"last_active\",\n                        \"type\": \"datetime\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": \"2020-11-03 09:16:10\",\n                        \"normalizedValue\": \"2020-11-03 09:16:10\"\n                    },\n                    \"attribution_date\": {\n                        \"id\": \"20\",\n                        \"label\": \"Attribution Date\",\n                        \"alias\": \"attribution_date\",\n                        \"type\": \"datetime\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"attribution\": {\n                        \"id\": \"21\",\n                        \"label\": \"Attribution\",\n                        \"alias\": \"attribution\",\n                        \"type\": \"number\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:2:{s:9:\\\"roundmode\\\";i:4;s:5:\\\"scale\\\";i:2;}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"website\": {\n                        \"id\": \"22\",\n                        \"label\": \"Website\",\n                        \"alias\": \"website\",\n                        \"type\": \"url\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"newsletter\": {\n                        \"id\": \"44\",\n                        \"label\": \"Newsletter\",\n                        \"alias\": \"newsletter\",\n                        \"type\": \"boolean\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"1\",\n                        \"properties\": \"a:2:{s:2:\\\"no\\\";s:2:\\\"No\\\";s:3:\\\"yes\\\";s:3:\\\"Yes\\\";}\",\n                        \"default_value\": \"0\",\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"slug\": {\n                        \"id\": \"45\",\n                        \"label\": \"Slug\",\n                        \"alias\": \"slug\",\n                        \"type\": \"text\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"personal_message\": {\n                        \"id\": \"46\",\n                        \"label\": \"Personal Message\",\n                        \"alias\": \"personal_message\",\n                        \"type\": \"textarea\",\n                        \"group\": \"core\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    }\n                },\n                \"social\": {\n                    \"facebook\": {\n                        \"id\": \"23\",\n                        \"label\": \"Facebook\",\n                        \"alias\": \"facebook\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"foursquare\": {\n                        \"id\": \"24\",\n                        \"label\": \"Foursquare\",\n                        \"alias\": \"foursquare\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"instagram\": {\n                        \"id\": \"25\",\n                        \"label\": \"Instagram\",\n                        \"alias\": \"instagram\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"linkedin\": {\n                        \"id\": \"26\",\n                        \"label\": \"LinkedIn\",\n                        \"alias\": \"linkedin\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"skype\": {\n                        \"id\": \"27\",\n                        \"label\": \"Skype\",\n                        \"alias\": \"skype\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    },\n                    \"twitter\": {\n                        \"id\": \"28\",\n                        \"label\": \"Twitter\",\n                        \"alias\": \"twitter\",\n                        \"type\": \"text\",\n                        \"group\": \"social\",\n                        \"object\": \"lead\",\n                        \"is_fixed\": \"0\",\n                        \"properties\": \"a:0:{}\",\n                        \"default_value\": null,\n                        \"value\": null,\n                        \"normalizedValue\": null\n                    }\n                },\n                \"personal\": [],\n                \"professional\": []\n            }\n        },\n        \"category\": \"Contact\",\n        \"action\": \"Submit\",\n        \"label\": \"Contact Page Form\",\n        \"value\": \"50\"\n    }\n}"}],"_postman_id":"7551ef83-24a2-4fe6-b439-014fe9ebfa9b"},{"name":"Get events","id":"94b2b905-6874-4f73-a483-78e6d2e48f8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/events","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","events"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[],"_postman_id":"94b2b905-6874-4f73-a483-78e6d2e48f8d"}],"id":"1b16a5c4-5b25-4db8-9e9c-8ad30b121b9b","_postman_id":"1b16a5c4-5b25-4db8-9e9c-8ad30b121b9b","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}}},{"name":"PushIDs","item":[{"name":"Add push id","id":"4a11aac5-fd3b-429d-b287-810603577b6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"push_id\": \"c6NPTpyt8k2Ij1sZEqlszX:APA91bG9U79ojAE1-NOYVL8QbVDcMzkB9tgj0rndYYQz_8ex1mgQfRR6ToehXH6MdQ_kn6ogtqJNRVpxOW7n6_OvIGWlFaPHOK90sVBmIVoAwCl6W8MUB6jyJ-K7LcI_yiSrdIRzxrz1\",\n    \"mobile\": true\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/contacts/68/pushids/add","description":"<p>Adds a push id to a contact. Note that only one push id can exist per contact. When a contact already has a PushID, it will be replaced with the latest one.</p>\n<p>Set mobile to false to add a Web Push ID.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","contacts","68","pushids","add"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[{"id":"8f7fed58-0284-4795-8567-d3abfcd7c678","name":"Add push id","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"push_id\": \"c_6zdBR3CUD7pFZql7mbvO:APA91bEgEIdnXK4rRUb73b6FVDqh4xt_7ICMuITCPDAyGsENlz47kkTwny2Dar2mithLQnChPa-czlIFxAnd1Za3AHGUv3tTwmqoicrWnpN-tUFKHijcXt-pS7zSw9zgdr66XnciYnnM\"\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/contacts/67/pushids/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 11 Nov 2020 15:56:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"ok\"\n}"}],"_postman_id":"4a11aac5-fd3b-429d-b287-810603577b6b"}],"id":"1c7493ab-dea1-4bc8-8f15-f64a1bcc6950","description":"<p>Use the PushIDs API to add push tokens for a push notification provider such as Google Firebase or OneSignal over REST.</p>\n","event":[{"listen":"prerequest","script":{"id":"33e75dfe-bd81-4ee8-a256-ec61f11055ea","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c1b86088-f7f0-4990-bc6c-2ef30642d078","type":"text/javascript","exec":[""]}}],"_postman_id":"1c7493ab-dea1-4bc8-8f15-f64a1bcc6950","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}}},{"name":"Recommendations","item":[{"name":"List recommendations","id":"f2233e11-4be0-4ae8-acc7-d79f68945ec2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/recommendations?orderByDir=ASC&orderBy=isPublished,dateAdded","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","recommendations"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"},{"key":"orderByDir","value":"ASC"},{"key":"orderBy","value":"isPublished,dateAdded"}],"variable":[]}},"response":[{"id":"91c9f9bb-ad60-4125-8497-720a95ccf7f8","name":"List recommendations","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://demo.maatoo.io:8030/api/recommendations","host":["http://demo.maatoo.io:8030"],"path":["api","recommendations"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Length","value":"729"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 14 Jan 2022 16:11:55 GMT"},{"key":"Expires","value":"Fri, 14 Jan 2022 16:11:55 GMT"},{"key":"Mautic-Version","value":"3.2.3"},{"key":"X-Debug-Token","value":"b82f8b"},{"key":"X-Debug-Token-Link","value":"http://simcen.eu.ngrok.io/index_dev.php/_profiler/b82f8b"},{"key":"X-Powered-By","value":"PHP/7.4.27"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 2,\n    \"recommendations\": {\n        \"1\": {\n            \"isPublished\": true,\n            \"dateAdded\": \"2022-01-12T10:39:07+00:00\",\n            \"dateModified\": null,\n            \"createdBy\": null,\n            \"createdByUser\": null,\n            \"modifiedBy\": 1,\n            \"modifiedByUser\": \"maatoo Administrator\",\n            \"id\": 1,\n            \"name\": \"Optimize subject line\",\n            \"body\": \"tbd\",\n            \"recommendation\": \"bla\",\n            \"actionTitle\": \"Learn more\",\n            \"actionHref\": \"https://maatoo.io/support/\",\n            \"actionTarget\": \"_blank\"\n        },\n        \"2\": {\n            \"isPublished\": true,\n            \"dateAdded\": \"2022-01-14T16:11:02+00:00\",\n            \"dateModified\": null,\n            \"createdBy\": 1,\n            \"createdByUser\": \"maatoo Administrator\",\n            \"modifiedBy\": null,\n            \"modifiedByUser\": null,\n            \"id\": 2,\n            \"name\": \"Optimize subject line\",\n            \"body\": \"tbd\",\n            \"recommendation\": \"bla\",\n            \"actionTitle\": \"Learn more\",\n            \"actionHref\": \"https://maatoo.io/support/\",\n            \"actionTarget\": \"_blank\"\n        }\n    }\n}"}],"_postman_id":"f2233e11-4be0-4ae8-acc7-d79f68945ec2"},{"name":"Create recommendation","id":"15d15d8b-47a4-4024-938b-e4cfe5424450","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"isPublished\": true,\n    \"name\": \"Verbessere die Öffnungsrate deiner Mails\",\n    \"description\": \"Die Besten Öffnungsraten erzielen E-Mails mit Betreffzeilen aus 3-5 Worten und einem Preheader-Text. Einige von dir versendeten Mails weisen noch Optimierungspotential auf.\",\n    \"imageUrl\": \"https://bee-editor-media.s3.amazonaws.com/images/maatoo-e0de0/recommendation_2.png\",\n    \"recommendation\": \"Versuch für den nächsten Versand den Betreff zu kürzen.\",\n    \"actionTitle\":  \"Package promoten\",\n    \"actionRoutePath\": \"mail-edit\",\n    \"actionRouteQueryParams\": { \"id\": 0 },\n    \"actionExternalUrl\": \"\",\n    \"actionExternalTarget\": \"\" \n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/recommendations/new","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","recommendations","new"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[{"id":"a5c89ae9-fa15-4bba-9e63-17698624549d","name":"Create recommendation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"isPublished\": true,\n    \"dateAdded\": \"2022-01-12T10:39:07+00:00\",\n    \"dateModified\": null,\n    \"createdBy\": null,\n    \"createdByUser\": null,\n    \"modifiedBy\": null,\n    \"modifiedByUser\": null,\n    \"id\": 2,\n    \"name\": \"Optimize subject line\",\n    \"body\": \"tbd\",\n    \"recommendation\": \"bla\",\n    \"actionTitle\": \"Learn more\",\n    \"actionHref\": \"https://maatoo.io/support/\",\n    \"actionTarget\": \"_blank\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/recommendations/new","host":["http://demo.maatoo.io:8030"],"path":["api","recommendations","new"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Length","value":"363"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 14 Jan 2022 16:11:02 GMT"},{"key":"Expires","value":"Fri, 14 Jan 2022 16:11:02 GMT"},{"key":"Location","value":"/index_dev.php/api/recommendations/2"},{"key":"Mautic-Version","value":"3.2.3"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%22465d55%22%2C%22route%22%3A%22mautic_api_recommendations_new%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22MauticPlugin%5C%5CMaatooEcommerceBundle%5C%5CController%5C%5CApi%5C%5CRecommendationApiController%22%2C%22method%22%3A%22newEntityAction%22%2C%22file%22%3A%22%5C%2FUsers%5C%2Fsimcen%5C%2FDevelopment%5C%2Fdiginlab%5C%2Fmaatoo-app%5C%2Fapp%5C%2Fbundles%5C%2FApiBundle%5C%2FController%5C%2FCommonApiController.php%22%2C%22line%22%3A628%7D%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"},{"key":"X-Debug-Token","value":"465d55"},{"key":"X-Debug-Token-Link","value":"http://simcen.eu.ngrok.io/index_dev.php/_profiler/465d55"},{"key":"X-Powered-By","value":"PHP/7.4.27"}],"cookie":[],"responseTime":null,"body":"{\n    \"recommendation\": {\n        \"isPublished\": true,\n        \"dateAdded\": \"2022-01-14T16:11:02+00:00\",\n        \"dateModified\": null,\n        \"createdBy\": 1,\n        \"createdByUser\": \"maatoo Administrator\",\n        \"modifiedBy\": null,\n        \"modifiedByUser\": null,\n        \"id\": 2,\n        \"name\": \"Optimize subject line\",\n        \"body\": \"tbd\",\n        \"recommendation\": \"bla\",\n        \"actionTitle\": \"Learn more\",\n        \"actionHref\": \"https://maatoo.io/support/\",\n        \"actionTarget\": \"_blank\"\n    }\n}"}],"_postman_id":"15d15d8b-47a4-4024-938b-e4cfe5424450"},{"name":"Update recommendation","id":"19e52523-cfc9-4231-8697-f7ae4c3adf94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"isPublished\": false,\n    \"dateAdded\": \"2022-01-12T10:39:07+00:00\",\n    \"dateModified\": null,\n    \"createdBy\": null,\n    \"createdByUser\": null,\n    \"modifiedBy\": null,\n    \"modifiedByUser\": null,\n    \"id\": 2,\n    \"name\": \"Optimize subject line2\",\n    \"body\": \"tbd\",\n    \"recommendation\": \"bla\",\n    \"actionTitle\":  \"Package promoten\",\n    \"actionRoutePath\": \"/mails/0/edit\",\n    \"actionRouteQueryParams\": { \"id\": 0 },\n    \"actionExternalUrl\": \"\",\n    \"actionExternalTarget\": \"\" \n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/recommendations/1/edit","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","recommendations","1","edit"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[{"id":"05222622-2f48-4a59-95b7-471c3b6885f2","name":"Update recommendation","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"isPublished\": false,\n    \"dateAdded\": \"2022-01-12T10:39:07+00:00\",\n    \"dateModified\": null,\n    \"createdBy\": null,\n    \"createdByUser\": null,\n    \"modifiedBy\": null,\n    \"modifiedByUser\": null,\n    \"id\": 2,\n    \"name\": \"Optimize subject line2\",\n    \"body\": \"tbd\",\n    \"recommendation\": \"bla\",\n    \"actionTitle\": \"Learn more\",\n    \"actionHref\": \"https://maatoo.io/support/\",\n    \"actionTarget\": \"_blank\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/recommendations/1/edit","host":["http://demo.maatoo.io:8030"],"path":["api","recommendations","1","edit"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Length","value":"364"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 14 Jan 2022 16:12:16 GMT"},{"key":"Expires","value":"Fri, 14 Jan 2022 16:12:16 GMT"},{"key":"Mautic-Version","value":"3.2.3"},{"key":"X-Debug-Token","value":"2f5962"},{"key":"X-Debug-Token-Link","value":"http://simcen.eu.ngrok.io/index_dev.php/_profiler/2f5962"},{"key":"X-Powered-By","value":"PHP/7.4.27"}],"cookie":[],"responseTime":null,"body":"{\n    \"recommendation\": {\n        \"isPublished\": true,\n        \"dateAdded\": \"2022-01-12T10:39:07+00:00\",\n        \"dateModified\": null,\n        \"createdBy\": null,\n        \"createdByUser\": null,\n        \"modifiedBy\": 1,\n        \"modifiedByUser\": \"maatoo Administrator\",\n        \"id\": 1,\n        \"name\": \"Optimize subject line2\",\n        \"body\": \"tbd\",\n        \"recommendation\": \"bla\",\n        \"actionTitle\": \"Learn more\",\n        \"actionHref\": \"https://maatoo.io/support/\",\n        \"actionTarget\": \"_blank\"\n    }\n}"}],"_postman_id":"19e52523-cfc9-4231-8697-f7ae4c3adf94"},{"name":"Mark recommendation as read","id":"49283b04-b510-4450-a114-52bcd53bf3bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"isPublished\": false\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/recommendations/2/edit","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","recommendations","2","edit"],"host":["http://demo.maatoo.io:8030"],"query":[{"disabled":true,"key":"name","value":"test"}],"variable":[]}},"response":[{"id":"4a466c38-7ff5-4986-9cd4-ef483ab9ea6a","name":"Update recommendation","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"isPublished\": false,\n    \"dateAdded\": \"2022-01-12T10:39:07+00:00\",\n    \"dateModified\": null,\n    \"createdBy\": null,\n    \"createdByUser\": null,\n    \"modifiedBy\": null,\n    \"modifiedByUser\": null,\n    \"id\": 2,\n    \"name\": \"Optimize subject line2\",\n    \"body\": \"tbd\",\n    \"recommendation\": \"bla\",\n    \"actionTitle\": \"Learn more\",\n    \"actionHref\": \"https://maatoo.io/support/\",\n    \"actionTarget\": \"_blank\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/recommendations/1/edit","host":["http://demo.maatoo.io:8030"],"path":["api","recommendations","1","edit"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Length","value":"364"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 14 Jan 2022 16:12:16 GMT"},{"key":"Expires","value":"Fri, 14 Jan 2022 16:12:16 GMT"},{"key":"Mautic-Version","value":"3.2.3"},{"key":"X-Debug-Token","value":"2f5962"},{"key":"X-Debug-Token-Link","value":"http://simcen.eu.ngrok.io/index_dev.php/_profiler/2f5962"},{"key":"X-Powered-By","value":"PHP/7.4.27"}],"cookie":[],"responseTime":null,"body":"{\n    \"recommendation\": {\n        \"isPublished\": true,\n        \"dateAdded\": \"2022-01-12T10:39:07+00:00\",\n        \"dateModified\": null,\n        \"createdBy\": null,\n        \"createdByUser\": null,\n        \"modifiedBy\": 1,\n        \"modifiedByUser\": \"maatoo Administrator\",\n        \"id\": 1,\n        \"name\": \"Optimize subject line2\",\n        \"body\": \"tbd\",\n        \"recommendation\": \"bla\",\n        \"actionTitle\": \"Learn more\",\n        \"actionHref\": \"https://maatoo.io/support/\",\n        \"actionTarget\": \"_blank\"\n    }\n}"},{"id":"9edb912b-3566-462c-b768-e70d609ad91a","name":"Mark recommendation as read","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"isPublished\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://demo.maatoo.io:8030/api/recommendations/2/edit","host":["http://demo.maatoo.io:8030"],"path":["api","recommendations","2","edit"],"query":[{"key":"name","value":"test","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Length","value":"402"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 14 Jan 2022 16:18:32 GMT"},{"key":"Expires","value":"Fri, 14 Jan 2022 16:18:32 GMT"},{"key":"Mautic-Version","value":"3.2.3"},{"key":"X-Debug-Token","value":"9dc66a"},{"key":"X-Debug-Token-Link","value":"http://simcen.eu.ngrok.io/index_dev.php/_profiler/9dc66a"},{"key":"X-Powered-By","value":"PHP/7.4.27"}],"cookie":[],"responseTime":null,"body":"{\n    \"recommendation\": {\n        \"isPublished\": false,\n        \"dateAdded\": \"2022-01-14T16:11:02+00:00\",\n        \"dateModified\": \"2022-01-14T16:18:32+00:00\",\n        \"createdBy\": 1,\n        \"createdByUser\": \"maatoo Administrator\",\n        \"modifiedBy\": 1,\n        \"modifiedByUser\": \"maatoo Administrator\",\n        \"id\": 2,\n        \"name\": \"Optimize subject line\",\n        \"body\": \"tbd\",\n        \"recommendation\": \"bla\",\n        \"actionTitle\": \"Learn more\",\n        \"actionHref\": \"https://maatoo.io/support/\",\n        \"actionTarget\": \"_blank\"\n    }\n}"}],"_postman_id":"49283b04-b510-4450-a114-52bcd53bf3bc"}],"id":"8fb89cff-6abe-4a66-898c-e155f450da85","_postman_id":"8fb89cff-6abe-4a66-898c-e155f450da85","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}}},{"name":"Health Check (with data)","id":"6e6d1d9e-bb06-4666-a69b-2b4ba8b66c20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"store\": 1,\n    \"shortName\": \"mybla\",\n    \"available_categories\": 5,\n    \"available_products\": 7,\n    \"available_orders\": 8,\n    \"available_order_lines\": 66,\n    \"registered_customers\": 55,\n    \"last_full_sync\": \"2021-04-26 10:26:54\",\n    \"next_full_sync\": \"2021-04-26 10:26:54\",\n    \"last_order_sync\": \"2021-04-26 10:26:54\",\n    \"next_order_sync\": \"2021-04-26 10:26:54\",\n    \"last_product_sync\": \"2021-04-26 10:26:54\",\n    \"next_product_sync\": \"2021-04-26 10:26:54\",\n    \"plugin_version\": \"1.3.7\"\n}","options":{"raw":{"language":"json"}}},"url":"http://demo.maatoo.io:8030/api/health-check","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","health-check"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[{"id":"eb761534-b05f-4656-9b23-8c1244b24d45","name":"Health Check","originalRequest":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/health-check"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 05 Mar 2021 06:18:06 GMT"},{"key":"Expires","value":"Fri, 05 Mar 2021 06:18:06 GMT"},{"key":"Mautic-Version","value":"3.2.3"},{"key":"X-Debug-Token","value":"f0960d"},{"key":"X-Debug-Token-Link","value":"https://localhost:8030/index_dev.php/_profiler/f0960d"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Content-Length","value":"15"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\"\n}"}],"_postman_id":"6e6d1d9e-bb06-4666-a69b-2b4ba8b66c20"},{"name":"Health Check","id":"dbd85107-ab0d-4505-969d-abdfcbb96968","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/health-check","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]},"isInherited":true,"source":{"_postman_id":"3882184c-1130-4462-b1eb-ce8013570470","id":"3882184c-1130-4462-b1eb-ce8013570470","name":"maatoo","type":"collection"}},"urlObject":{"path":["api","health-check"],"host":["http://demo.maatoo.io:8030"],"query":[],"variable":[]}},"response":[{"id":"3138d691-ba14-47d8-8a54-3bd8f85d072e","name":"Health Check","originalRequest":{"method":"GET","header":[],"url":"http://demo.maatoo.io:8030/api/health-check"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 05 Mar 2021 06:18:06 GMT"},{"key":"Expires","value":"Fri, 05 Mar 2021 06:18:06 GMT"},{"key":"Mautic-Version","value":"3.2.3"},{"key":"X-Debug-Token","value":"f0960d"},{"key":"X-Debug-Token-Link","value":"https://localhost:8030/index_dev.php/_profiler/f0960d"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Content-Length","value":"15"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\"\n}"}],"_postman_id":"dbd85107-ab0d-4505-969d-abdfcbb96968"}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{maatoo_user}}"},{"key":"password","value":"{{maatoo_pass}}"}]}},"event":[{"listen":"prerequest","script":{"id":"9f058d50-9528-4440-bdf2-7f1539d19bdd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e2e4e03e-a49d-4af9-b2cf-97a9080612b0","type":"text/javascript","exec":[""]}}],"variable":[{"key":"host","value":"http://demo.maatoo.io:8030"}]}