{"info":{"_postman_id":"78b95445-f3d1-4d4c-be1f-92ce1e30a112","name":"API - Customer","description":"<html><head></head><body><p>These customer methods makes it possible to get, create, update or delete a customer data within Deployteq.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6603240","collectionId":"78b95445-f3d1-4d4c-be1f-92ce1e30a112","publishedId":"SzYaUHj8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-04-02T08:10:31.000Z"},"item":[{"name":"Get All Customers","id":"3a7a2897-1cdb-4300-8688-27c81ea825d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://deployteq.net/app/api/rest/public/v2/customer?token={{token}}","urlObject":{"protocol":"https","path":["app","api","rest","public","v2","customer"],"host":["deployteq","net"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"3a7a2897-1cdb-4300-8688-27c81ea825d0"},{"name":"Get Customer(s) by customer field","id":"9473fb4a-210d-44d5-8146-2012c614724e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://deployteq.net/app/api/rest/public/v2/customer?filter[emailaddress]={{emailaddress}}&token={{token}}","description":"<p>Search a customer based on predefined customer fields, which can be added as a filter in the endpoint:</p>\n<p><code>https://deployteq.net/app/api/rest/public/v2/customer?filter[{{customer_fieldname}}]={{email}}&amp;token={{token}}</code></p>\n<p>See the possible customer fields which can be used as a filter:</p>\n<ul>\n<li>lastname</li>\n<li>firstname</li>\n<li>prefix</li>\n<li>initials</li>\n<li>gender</li>\n<li>addressnumber</li>\n<li>zipcode</li>\n<li>companyname</li>\n<li>mobilephone</li>\n<li>emailaddress</li>\n<li>optin</li>\n<li>externalid</li>\n<li>username</li>\n</ul>\n<p>All possible conditions which can be included within the endpoint:</p>\n<ul>\n<li>?limit={{amount}</li>\n<li>?page={{number}}</li>\n<li>?filter[{{customer_fieldname}}]={{value}}</li>\n<li>?sort=[{\"property\":\"{{COLUMN}}\",\"direction\":\"{{direction:DESC/ASC}}\"}]</li>\n</ul>\n","urlObject":{"protocol":"https","path":["app","api","rest","public","v2","customer"],"host":["deployteq","net"],"query":[{"description":{"content":"<p>Find a customer based on the field email address</p>\n","type":"text/plain"},"key":"filter[emailaddress]","value":"{{emailaddress}}"},{"description":{"content":"<p>API token</p>\n","type":"text/plain"},"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"2de26137-9269-48d9-81a7-9987b33cd495","name":"Get Customer(s) by email","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://mokup.myclang.com/app/api/rest/public/v2/customer?filter[emailaddress]=Reilly_Cummings@gmail.com&token={{token}}","protocol":"https","host":["mokup","myclang","com"],"path":["app","api","rest","public","v2","customer"],"query":[{"key":"filter[emailaddress]","value":"Mireille_Macejkovic76@hotmail.com"},{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 29 May 2020 07:26:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Security-Policy","value":"frame-ancestors 'self'"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"address\": \"Amersfoortseweg\",\n        \"address2\": \"\",\n        \"address3\": \"\",\n        \"addressnumber\": \"\",\n        \"addressnumbersuffix\": \"\",\n        \"alt_address\": \"\",\n        \"alt_address2\": \"\",\n        \"alt_address3\": \"\",\n        \"alt_addressnumber\": \"\",\n        \"alt_addressnumbersuffix\": \"\",\n        \"alt_city\": \"\",\n        \"alt_country\": \"\",\n        \"alt_emailaddress\": \"\",\n        \"alt_state\": \"\",\n        \"alt_zipcode\": \"\",\n        \"birthday\": null,\n        \"birthplace\": \"\",\n        \"bouncecount_hard\": \"0\",\n        \"bouncecount_soft\": \"0\",\n        \"city\": \"Zeist\",\n        \"companyname\": \"e-Village\",\n        \"complaintcount\": \"0\",\n        \"contactman\": \"\",\n        \"country\": \"\",\n        \"createdat\": \"2018-02-06 11:52:06\",\n        \"createdby\": \"Angelo van der Kleij\",\n        \"department\": \"\",\n        \"emailaddress\": \"angelo@e-village.nl\",\n        \"emailtype\": \"MULTIPART\",\n        \"externalid\": \"123455432\",\n        \"faxnumber\": \"\",\n        \"firstname\": \"Angelo van der Kleij\",\n        \"gender\": \"MAN\",\n        \"homephone\": \"+31306988080\",\n        \"id\": \"91\",\n        \"imageurl\": \"\",\n        \"initials\": \"\",\n        \"jobtitle\": \"\",\n        \"lastname\": \"Kleij\",\n        \"mailstatus\": \"ACTIVE\",\n        \"maritalstatus\": \"UNKNOWN\",\n        \"middlename\": \"\",\n        \"mobilephone\": \"\",\n        \"modifiedat\": \"2020-05-29 09:14:27\",\n        \"modifiedby\": \"Import #15 repeat 1006\",\n        \"optin\": \"Y\",\n        \"password\": \"testen\",\n        \"pobox\": \"0\",\n        \"prefix\": \"\",\n        \"smsoptin\": \"Y\",\n        \"state\": \"\",\n        \"status\": \"PROSPECT\",\n        \"suffix\": \"\",\n        \"title\": \"Ing.\",\n        \"username\": \"a.vanderkleij\",\n        \"website\": \"\",\n        \"workextension\": \"\",\n        \"workmobile\": \"\",\n        \"workphone\": \"\",\n        \"zipcode\": \"3705GJ\",\n        \"mailable\": \"1\",\n        \"options\": [\n            {\n                \"identifier\": \"E1\",\n                \"type\": \"string\",\n                \"value\": \"000000001\",\n                \"fieldname\": \"sf_autoincrement\"\n            },\n            {\n                \"identifier\": \"E11\",\n                \"type\": \"select\",\n                \"value\": null,\n                \"fieldname\": \"language\"\n            },\n            {\n                \"identifier\": \"E12\",\n                \"type\": \"date\",\n                \"value\": \"\",\n                \"fieldname\": \"demo\"\n            },\n            {\n                \"identifier\": \"E13\",\n                \"type\": \"string\",\n                \"value\": \"\",\n                \"fieldname\": \"Customer - Language\"\n            },\n            {\n                \"identifier\": \"E14\",\n                \"type\": \"float\",\n                \"value\": \"222000.00\",\n                \"fieldname\": \"sf_ AnnualRevenue\"\n            },\n            {\n                \"identifier\": \"E15\",\n                \"type\": \"int\",\n                \"value\": \"22\",\n                \"fieldname\": \"sf_ NumberOfEmployees\"\n            },\n            {\n                \"identifier\": \"E16\",\n                \"type\": \"date\",\n                \"value\": null,\n                \"fieldname\": \"sf_ ConvertedDate\"\n            },\n            {\n                \"identifier\": \"E17\",\n                \"type\": \"string\",\n                \"value\": \"\",\n                \"fieldname\": \"json\"\n            },\n            {\n                \"identifier\": \"E18\",\n                \"type\": \"string\",\n                \"value\": \"\",\n                \"fieldname\": \"TEST\"\n            },\n            {\n                \"identifier\": \"E19\",\n                \"type\": \"string\",\n                \"value\": \"\",\n                \"fieldname\": \"restock\"\n            },\n            {\n                \"identifier\": \"E2\",\n                \"type\": \"string\",\n                \"value\": \"\",\n                \"fieldname\": \"sf_optin\"\n            },\n            {\n                \"identifier\": \"E20\",\n                \"type\": \"string\",\n                \"value\": \"\",\n                \"fieldname\": \"flag\"\n            },\n            {\n                \"identifier\": \"E21\",\n                \"type\": \"string\",\n                \"value\": null,\n                \"fieldname\": \"Verzendvoorwaarden\"\n            },\n            {\n                \"identifier\": \"E22\",\n                \"type\": \"date\",\n                \"value\": \"\",\n                \"fieldname\": \"optinDate\"\n            },\n            {\n                \"identifier\": \"E3\",\n                \"type\": \"string\",\n                \"value\": \"\",\n                \"fieldname\": \"SHA256 Relay42\"\n            }\n        ]\n    },\n    {\n        \"address\": \"\",\n        \"address2\": \"\",\n        \"address3\": \"\",\n        \"addressnumber\": \"\",\n        \"addressnumbersuffix\": \"\",\n        \"alt_address\": \"\",\n        \"alt_address2\": \"\",\n        \"alt_address3\": \"\",\n        \"alt_addressnumber\": \"\",\n        \"alt_addressnumbersuffix\": \"\",\n        \"alt_city\": \"\",\n        \"alt_country\": \"\",\n        \"alt_emailaddress\": \"\",\n        \"alt_state\": \"\",\n        \"alt_zipcode\": \"\",\n        \"birthday\": null,\n        \"birthplace\": \"\",\n        \"bouncecount_hard\": \"0\",\n        \"bouncecount_soft\": \"0\",\n        \"city\": \"\",\n        \"companyname\": \"\",\n        \"complaintcount\": \"0\",\n        \"contactman\": \"\",\n        \"country\": \"\",\n        \"createdat\": \"2019-02-01 14:16:37\",\n        \"createdby\": \"Angelo van der Kleij\",\n        \"department\": \"\",\n        \"emailaddress\": \"angelo@e-village.nl\",\n        \"emailtype\": \"MULTIPART\",\n        \"externalid\": \"\",\n        \"faxnumber\": \"\",\n        \"firstname\": \"Angelo van der Kleij\",\n        \"gender\": \"UNKNOWN\",\n        \"homephone\": \"\",\n        \"id\": \"348\",\n        \"imageurl\": \"\",\n        \"initials\": \"\",\n        \"jobtitle\": \"\",\n        \"lastname\": \"\",\n        \"mailstatus\": \"ACTIVE\",\n        \"maritalstatus\": \"UNKNOWN\",\n        \"middlename\": \"\",\n        \"mobilephone\": \"\",\n        \"modifiedat\": \"2020-05-29 09:14:27\",\n        \"modifiedby\": \"Import #15 repeat 1006\",\n        \"optin\": \"Y\",\n        \"password\": \"\",\n        \"pobox\": \"0\",\n        \"prefix\": \"\",\n        \"smsoptin\": \"Y\",\n        \"state\": \"\",\n        \"status\": \"SUSPECT\",\n        \"suffix\": \"\",\n        \"title\": \"\",\n        \"username\": \"\",\n        \"website\": \"\",\n        \"workextension\": \"\",\n        \"workmobile\": \"\",\n        \"workphone\": \"\",\n        \"zipcode\": \"\",\n        \"mailable\": \"1\",\n        \"options\": [\n            {\n                \"identifier\": \"E1\",\n                \"type\": \"string\",\n                \"value\": null,\n                \"fieldname\": \"sf_autoincrement\"\n            },\n            {\n                \"identifier\": \"E11\",\n                \"type\": \"select\",\n                \"value\": null,\n                \"fieldname\": \"language\"\n            },\n            {\n                \"identifier\": \"E12\",\n                \"type\": \"date\",\n                \"value\": \"\",\n                \"fieldname\": \"demo\"\n            },\n            {\n                \"identifier\": \"E13\",\n                \"type\": \"string\",\n                \"value\": null,\n                \"fieldname\": \"Customer - Language\"\n            },\n            {\n                \"identifier\": \"E14\",\n                \"type\": \"float\",\n                \"value\": null,\n                \"fieldname\": \"sf_ AnnualRevenue\"\n            },\n            {\n                \"identifier\": \"E15\",\n                \"type\": \"int\",\n                \"value\": null,\n                \"fieldname\": \"sf_ NumberOfEmployees\"\n            },\n            {\n                \"identifier\": \"E16\",\n                \"type\": \"date\",\n                \"value\": null,\n                \"fieldname\": \"sf_ ConvertedDate\"\n            },\n            {\n                \"identifier\": \"E17\",\n                \"type\": \"string\",\n                \"value\": null,\n                \"fieldname\": \"json\"\n            },\n            {\n                \"identifier\": \"E18\",\n                \"type\": \"string\",\n                \"value\": null,\n                \"fieldname\": \"TEST\"\n            },\n            {\n                \"identifier\": \"E19\",\n                \"type\": \"string\",\n                \"value\": null,\n                \"fieldname\": \"restock\"\n            },\n            {\n                \"identifier\": \"E2\",\n                \"type\": \"string\",\n                \"value\": null,\n                \"fieldname\": \"sf_optin\"\n            },\n            {\n                \"identifier\": \"E20\",\n                \"type\": \"string\",\n                \"value\": null,\n                \"fieldname\": \"flag\"\n            },\n            {\n                \"identifier\": \"E21\",\n                \"type\": \"string\",\n                \"value\": null,\n                \"fieldname\": \"Verzendvoorwaarden\"\n            },\n            {\n                \"identifier\": \"E22\",\n                \"type\": \"date\",\n                \"value\": \"\",\n                \"fieldname\": \"optinDate\"\n            },\n            {\n                \"identifier\": \"E3\",\n                \"type\": \"string\",\n                \"value\": null,\n                \"fieldname\": \"SHA256 Relay42\"\n            }\n        ]\n    }\n]"}],"_postman_id":"9473fb4a-210d-44d5-8146-2012c614724e"},{"name":"Get Customer by Id","id":"f1c63e6c-d606-4fb3-b419-702ac1a01a8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://deployteq.net/app/api/rest/public/v2/customer/:customerid?token={{token}}","description":"<p>Get a customer based on the Deployteq customerid</p>\n","urlObject":{"protocol":"https","path":["app","api","rest","public","v2","customer",":customerid"],"host":["deployteq","net"],"query":[{"key":"token","value":"{{token}}"}],"variable":[{"type":"any","value":"{{customerid}}","key":"customerid"}]}},"response":[{"id":"6e988bf2-3a17-4761-8245-142a1b87ff65","name":"Get Customer by Id","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"address\": \"Amersfoortseweg\",\n        \"address2\": \"\",\n        \"address3\": \"\",\n        \"addressnumber\": \"\",\n        \"addressnumbersuffix\": \"\",\n        \"alt_address\": \"\",\n        \"alt_address2\": \"\",\n        \"alt_address3\": \"\",\n        \"alt_addressnumber\": \"\",\n        \"alt_addressnumbersuffix\": \"\",\n        \"alt_city\": \"\",\n        \"alt_country\": \"\",\n        \"alt_emailaddress\": \"\",\n        \"alt_state\": \"\",\n        \"alt_zipcode\": \"\",\n        \"birthday\": null,\n        \"birthplace\": \"\",\n        \"bouncecount_hard\": \"0\",\n        \"bouncecount_soft\": \"0\",\n        \"city\": \"Zeist\",\n        \"companyname\": \"e-Village\",\n        \"complaintcount\": \"0\",\n        \"contactman\": \"\",\n        \"country\": \"\",\n        \"createdat\": \"2018-02-06 11:52:06\",\n        \"createdby\": \"Angelo van der Kleij\",\n        \"department\": \"\",\n        \"emailaddress\": \"angelo@e-village.nl\",\n        \"emailtype\": \"MULTIPART\",\n        \"externalid\": \"123455432\",\n        \"faxnumber\": \"\",\n        \"firstname\": \"Miranda\",\n        \"gender\": \"WOMAN\",\n        \"homephone\": \"+31306988080\",\n        \"id\": \"91\",\n        \"imageurl\": \"\",\n        \"initials\": \"\",\n        \"jobtitle\": \"\",\n        \"lastname\": \"Blom\",\n        \"mailstatus\": \"ACTIVE\",\n        \"maritalstatus\": \"UNKNOWN\",\n        \"middlename\": \"\",\n        \"mobilephone\": \"\",\n        \"modifiedat\": \"2019-12-03 11:11:16\",\n        \"modifiedby\": \"DATAHOOK; Webhook-abc\",\n        \"optin\": \"Y\",\n        \"password\": \"wazzup12\",\n        \"pobox\": \"0\",\n        \"prefix\": \"\",\n        \"smsoptin\": \"Y\",\n        \"state\": \"\",\n        \"status\": \"PROSPECT\",\n        \"suffix\": \"\",\n        \"title\": \"Ing.\",\n        \"username\": \"a.vanderkleij\",\n        \"website\": \"\",\n        \"workextension\": \"\",\n        \"workmobile\": \"\",\n        \"workphone\": \"\",\n        \"zipcode\": \"3705GJ\",\n        \"E1\": \"000000001\",\n        \"E11\": null,\n        \"E12\": null,\n        \"E13\": \"\",\n        \"E14\": \"222000.00\",\n        \"E15\": \"22\",\n        \"E16\": null,\n        \"E17\": \"\",\n        \"E18\": null,\n        \"E19\": null,\n        \"E2\": \"\",\n        \"E20\": null,\n        \"E3\": \"\",\n        \"mailable\": \"1\"\n    }","options":{"raw":{"language":"json"}}},"url":{"raw":"https://mokup.myclang.com/app/api/rest/public/v2/customer/91?token={{token}}","protocol":"https","host":["mokup","myclang","com"],"path":["app","api","rest","public","v2","customer","91"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 29 May 2020 07:27:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Security-Policy","value":"frame-ancestors 'self'"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"address\": \"Amersfoortseweg\",\n    \"address2\": \"\",\n    \"address3\": \"\",\n    \"addressnumber\": \"\",\n    \"addressnumbersuffix\": \"\",\n    \"alt_address\": \"\",\n    \"alt_address2\": \"\",\n    \"alt_address3\": \"\",\n    \"alt_addressnumber\": \"\",\n    \"alt_addressnumbersuffix\": \"\",\n    \"alt_city\": \"\",\n    \"alt_country\": \"\",\n    \"alt_emailaddress\": \"\",\n    \"alt_state\": \"\",\n    \"alt_zipcode\": \"\",\n    \"birthday\": null,\n    \"birthplace\": \"\",\n    \"bouncecount_hard\": \"0\",\n    \"bouncecount_soft\": \"0\",\n    \"city\": \"Zeist\",\n    \"companyname\": \"e-Village\",\n    \"complaintcount\": \"0\",\n    \"contactman\": \"\",\n    \"country\": \"\",\n    \"createdat\": \"2018-02-06 11:52:06\",\n    \"createdby\": \"Angelo van der Kleij\",\n    \"department\": \"\",\n    \"emailaddress\": \"angelo@e-village.nl\",\n    \"emailtype\": \"MULTIPART\",\n    \"externalid\": \"123455432\",\n    \"faxnumber\": \"\",\n    \"firstname\": \"Angelo van der Kleij\",\n    \"gender\": \"WOMAN\",\n    \"homephone\": \"+31306988080\",\n    \"id\": \"91\",\n    \"imageurl\": \"\",\n    \"initials\": \"\",\n    \"jobtitle\": \"\",\n    \"lastname\": \"Blom\",\n    \"mailstatus\": \"ACTIVE\",\n    \"maritalstatus\": \"UNKNOWN\",\n    \"middlename\": \"\",\n    \"mobilephone\": \"\",\n    \"modifiedat\": \"2020-05-29 09:14:27\",\n    \"modifiedby\": \"Import #15 repeat 1006\",\n    \"optin\": \"Y\",\n    \"password\": \"testen\",\n    \"pobox\": \"0\",\n    \"prefix\": \"\",\n    \"smsoptin\": \"Y\",\n    \"state\": \"\",\n    \"status\": \"PROSPECT\",\n    \"suffix\": \"\",\n    \"title\": \"Ing.\",\n    \"username\": \"a.vanderkleij\",\n    \"website\": \"\",\n    \"workextension\": \"\",\n    \"workmobile\": \"\",\n    \"workphone\": \"\",\n    \"zipcode\": \"3705GJ\",\n    \"mailable\": \"1\",\n    \"options\": [\n        {\n            \"identifier\": \"E1\",\n            \"type\": \"string\",\n            \"value\": \"000000001\",\n            \"fieldname\": \"sf_autoincrement\"\n        },\n        {\n            \"identifier\": \"E11\",\n            \"type\": \"select\",\n            \"value\": null,\n            \"fieldname\": \"language\"\n        },\n        {\n            \"identifier\": \"E12\",\n            \"type\": \"date\",\n            \"value\": \"\",\n            \"fieldname\": \"demo\"\n        },\n        {\n            \"identifier\": \"E13\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"Customer - Language\"\n        },\n        {\n            \"identifier\": \"E14\",\n            \"type\": \"float\",\n            \"value\": \"222000.00\",\n            \"fieldname\": \"sf_ AnnualRevenue\"\n        },\n        {\n            \"identifier\": \"E15\",\n            \"type\": \"int\",\n            \"value\": \"22\",\n            \"fieldname\": \"sf_ NumberOfEmployees\"\n        },\n        {\n            \"identifier\": \"E16\",\n            \"type\": \"date\",\n            \"value\": null,\n            \"fieldname\": \"sf_ ConvertedDate\"\n        },\n        {\n            \"identifier\": \"E17\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"json\"\n        },\n        {\n            \"identifier\": \"E18\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"TEST\"\n        },\n        {\n            \"identifier\": \"E19\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"restock\"\n        },\n        {\n            \"identifier\": \"E2\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"sf_optin\"\n        },\n        {\n            \"identifier\": \"E20\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"flag\"\n        },\n        {\n            \"identifier\": \"E21\",\n            \"type\": \"string\",\n            \"value\": null,\n            \"fieldname\": \"Verzendvoorwaarden\"\n        },\n        {\n            \"identifier\": \"E22\",\n            \"type\": \"date\",\n            \"value\": \"\",\n            \"fieldname\": \"optinDate\"\n        },\n        {\n            \"identifier\": \"E3\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"SHA256 Relay42\"\n        }\n    ]\n}"}],"_postman_id":"f1c63e6c-d606-4fb3-b419-702ac1a01a8a"},{"name":"Create Customer","id":"2847494b-e9a6-45e8-98b9-c44a4064d6b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"address\": \"Amersfoortseweg\",\n        \"address2\": \"\",\n        \"address3\": \"\",\n        \"addressnumber\": \"\",\n        \"addressnumbersuffix\": \"\",\n        \"alt_address\": \"\",\n        \"alt_address2\": \"\",\n        \"alt_address3\": \"\",\n        \"alt_addressnumber\": \"\",\n        \"alt_addressnumbersuffix\": \"\",\n        \"alt_city\": \"\",\n        \"alt_country\": \"\",\n        \"alt_emailaddress\": \"\",\n        \"alt_state\": \"\",\n        \"alt_zipcode\": \"\",\n        \"birthday\": null,\n        \"birthplace\": \"\",\n        \"city\": \"Huis ter Heide\",\n        \"companyname\": \"Deployteq\",\n        \"contactman\": \"\",\n        \"country\": \"\",\n        \"department\": \"\",\n        \"emailaddress\": \"tpm@deployteq.com\",\n        \"externalid\": \"123455432\",\n        \"faxnumber\": \"\",\n        \"firstname\": \"Angelo\",\n        \"gender\": \"MAN\",\n        \"homephone\": \"+31306988080\",\n        \"imageurl\": \"\",\n        \"initials\": \"\",\n        \"jobtitle\": \"\",\n        \"lastname\": \"Kleij\",\n        \"maritalstatus\": \"UNKNOWN\",\n        \"middlename\": \"\",\n        \"mobilephone\": \"\",\n        \"optin\": \"Y\",\n        \"password\": \"\",\n        \"pobox\": \"0\",\n        \"prefix\": \"\",\n        \"smsoptin\": \"Y\",\n        \"state\": \"\",\n        \"status\": \"PROSPECT\",\n        \"suffix\": \"\",\n        \"title\": \"Ing.\",\n        \"username\": \"a.vanderkleij\",\n        \"website\": \"\",\n        \"workextension\": \"\",\n        \"workmobile\": \"\",\n        \"workphone\": \"\",\n        \"zipcode\": \"3712BC\"\n    }","options":{"raw":{"language":"json"}}},"url":"https://deployteq.net/app/api/rest/public/v2/customer?token={{token}}","description":"<p>Create a new customer in Deployteq</p>\n<p>[POST] <a href=\"https://deployteq.net/app/api/rest/public/v2/customer?token=%7B%7Btoken%7D%7D\">https://deployteq.net/app/api/rest/public/v2/customer?token={{token}}</a></p>\n<p>Note: Options cannot be included in the POST request. They must be added separately using an update <strong>PUT</strong> request after creating the customer.</p>\n","urlObject":{"protocol":"https","path":["app","api","rest","public","v2","customer"],"host":["deployteq","net"],"query":[{"description":{"content":"<p>API token</p>\n","type":"text/plain"},"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"ef445fe9-2ba6-4fb0-87d7-10481ec6b714","name":"Create Customer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n        \"address\": \"Amersfoortseweg\",\n        \"address2\": \"\",\n        \"address3\": \"\",\n        \"addressnumber\": \"\",\n        \"addressnumbersuffix\": \"\",\n        \"alt_address\": \"\",\n        \"alt_address2\": \"\",\n        \"alt_address3\": \"\",\n        \"alt_addressnumber\": \"\",\n        \"alt_addressnumbersuffix\": \"\",\n        \"alt_city\": \"\",\n        \"alt_country\": \"\",\n        \"alt_emailaddress\": \"\",\n        \"alt_state\": \"\",\n        \"alt_zipcode\": \"\",\n        \"birthday\": null,\n        \"birthplace\": \"\",\n        \"city\": \"Zeist\",\n        \"companyname\": \"e-Village\",\n        \"contactman\": \"\",\n        \"country\": \"\",\n        \"department\": \"\",\n        \"emailaddress\": \"angelo@e-village.nl\",\n        \"externalid\": \"123455432\",\n        \"faxnumber\": \"\",\n        \"firstname\": \"Angelo\",\n        \"gender\": \"MAN\",\n        \"homephone\": \"+31306988080\",\n        \"imageurl\": \"\",\n        \"initials\": \"\",\n        \"jobtitle\": \"\",\n        \"lastname\": \"Kleij\",\n        \"maritalstatus\": \"UNKNOWN\",\n        \"middlename\": \"\",\n        \"mobilephone\": \"\",\n        \"optin\": \"Y\",\n        \"password\": \"\",\n        \"pobox\": \"0\",\n        \"prefix\": \"\",\n        \"smsoptin\": \"Y\",\n        \"state\": \"\",\n        \"status\": \"PROSPECT\",\n        \"suffix\": \"\",\n        \"title\": \"Ing.\",\n        \"username\": \"a.vanderkleij\",\n        \"website\": \"\",\n        \"workextension\": \"\",\n        \"workmobile\": \"\",\n        \"workphone\": \"\",\n        \"zipcode\": \"3705GJ\"\n    }","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{portal}}.myclang.com/app/api/rest/public/v2/customer?token={{token}}","protocol":"https","host":["{{portal}}","myclang","com"],"path":["app","api","rest","public","v2","customer"],"query":[{"key":"token","value":"{{token}}"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2847494b-e9a6-45e8-98b9-c44a4064d6b8"},{"name":"Update Customer by Id","id":"bb1e7e5c-1381-4aaa-a48d-df6368adf674","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"address\": \"Amersfoortseweg\",\n        \"address2\": \"\",\n        \"address3\": \"\",\n        \"addressnumber\": \"\",\n        \"addressnumbersuffix\": \"\",\n        \"alt_address\": \"\",\n        \"alt_address2\": \"\",\n        \"alt_address3\": \"\",\n        \"alt_addressnumber\": \"\",\n        \"alt_addressnumbersuffix\": \"\",\n        \"alt_city\": \"\",\n        \"alt_country\": \"\",\n        \"alt_emailaddress\": \"\",\n        \"alt_state\": \"\",\n        \"alt_zipcode\": \"\",\n        \"birthday\": null,\n        \"birthplace\": \"\",\n        \"city\": \"Huis ter Heide\",\n        \"companyname\": \"Deployteq\",\n        \"contactman\": \"\",\n        \"country\": \"\",\n        \"department\": \"\",\n        \"emailaddress\": \"tpm@deployteq.com\",\n        \"externalid\": \"123455432\",\n        \"faxnumber\": \"\",\n        \"firstname\": \"Angelo\",\n        \"gender\": \"MAN\",\n        \"homephone\": \"+31306988080\",\n        \"imageurl\": \"\",\n        \"initials\": \"A\",\n        \"jobtitle\": \"\",\n        \"lastname\": \"Kleij\",\n        \"maritalstatus\": \"UNKNOWN\",\n        \"middlename\": \"\",\n        \"mobilephone\": \"\",\n        \"optin\": \"Y\",\n        \"password\": \"\",\n        \"pobox\": \"0\",\n        \"prefix\": \"\",\n        \"smsoptin\": \"Y\",\n        \"state\": \"\",\n        \"status\": \"CUSTOMER\",\n        \"suffix\": \"\",\n        \"title\": \"Ing.\",\n        \"username\": \"a.vanderkleij\",\n        \"website\": \"https://deployteq.com\",\n        \"workextension\": \"\",\n        \"workmobile\": \"\",\n        \"workphone\": \"\",\n        \"zipcode\": \"3712BC\",\n        \"options\": [\n        {\n            \"identifier\": \"E1\",\n            \"type\": \"string\",\n            \"value\": \"1234\",\n            \"fieldname\": \"email_hash\"\n        }]\n    }","options":{"raw":{"language":"json"}}},"url":"https://deployteq.net/app/api/rest/public/v2/customer/:customerid?token={{token}}","description":"<p>The Deployteq customer id is used in the endpoint to determine which customer needs to be updated;</p>\n<p>[PUT] <a href=\"https://deployteq.net/app/api/rest/public/v2/customer/%7B%7Bcustomerid%7D%7D?token=%7B%7Btoken%7D%7D\">https://deployteq.net/app/api/rest/public/v2/customer/{{customerid}}?token={{token}}</a></p>\n","urlObject":{"protocol":"https","path":["app","api","rest","public","v2","customer",":customerid"],"host":["deployteq","net"],"query":[{"description":{"content":"<p>API token</p>\n","type":"text/plain"},"key":"token","value":"{{token}}"}],"variable":[{"description":{"content":"<p>Deployteq customer id</p>\n","type":"text/plain"},"type":"any","value":"{{customerid}}","key":"customerid"}]}},"response":[{"id":"1eec9934-69fc-4fb5-8b3e-67518f401838","name":"Update Customer by Id","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"address\": \"Amersfoortseweg\",\n        \"address2\": \"\",\n        \"address3\": \"\",\n        \"addressnumber\": \"\",\n        \"addressnumbersuffix\": \"\",\n        \"alt_address\": \"\",\n        \"alt_address2\": \"\",\n        \"alt_address3\": \"\",\n        \"alt_addressnumber\": \"\",\n        \"alt_addressnumbersuffix\": \"\",\n        \"alt_city\": \"\",\n        \"alt_country\": \"\",\n        \"alt_emailaddress\": \"\",\n        \"alt_state\": \"\",\n        \"alt_zipcode\": \"\",\n        \"birthday\": null,\n        \"birthplace\": \"\",\n        \"city\": \"Zeist\",\n        \"companyname\": \"e-Village\",\n        \"contactman\": \"\",\n        \"country\": \"\",\n        \"department\": \"\",\n        \"emailaddress\": \"angelo@e-village.nl\",\n        \"emailtype\": \"MULTIPART\",\n        \"externalid\": \"123455432\",\n        \"faxnumber\": \"\",\n        \"firstname\": \"Miranda\",\n        \"gender\": \"WOMAN\",\n        \"homephone\": \"+31306988080\",\n        \"imageurl\": \"\",\n        \"initials\": \"\",\n        \"jobtitle\": \"\",\n        \"lastname\": \"Blom\",\n        \"maritalstatus\": \"UNKNOWN\",\n        \"middlename\": \"\",\n        \"mobilephone\": \"\",\n        \"optin\": \"Y\",\n        \"password\": \"Testen\",\n        \"pobox\": \"0\",\n        \"prefix\": \"\",\n        \"smsoptin\": \"Y\",\n        \"state\": \"\",\n        \"status\": \"PROSPECT\",\n        \"suffix\": \"\",\n        \"title\": \"Ing.\",\n        \"username\": \"a.vanderkleij\",\n        \"website\": \"\",\n        \"workextension\": \"\",\n        \"workmobile\": \"\",\n        \"workphone\": \"\",\n        \"zipcode\": \"3705GJ\"\n    }","options":{"raw":{"language":"json"}}},"url":{"raw":"https://mokup.myclang.com/app/api/rest/public/v2/customer/:customerid?token={{token}}","protocol":"https","host":["mokup","myclang","com"],"path":["app","api","rest","public","v2","customer",":customerid"],"query":[{"key":"token","value":"{{token}}"}],"variable":[{"key":"customerid","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 29 May 2020 11:58:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Security-Policy","value":"frame-ancestors 'self'"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"address\": \"Amersfoortseweg\",\n    \"address2\": \"\",\n    \"address3\": \"\",\n    \"addressnumber\": \"\",\n    \"addressnumbersuffix\": \"\",\n    \"alt_address\": \"\",\n    \"alt_address2\": \"\",\n    \"alt_address3\": \"\",\n    \"alt_addressnumber\": \"\",\n    \"alt_addressnumbersuffix\": \"\",\n    \"alt_city\": \"\",\n    \"alt_country\": \"\",\n    \"alt_emailaddress\": \"\",\n    \"alt_state\": \"\",\n    \"alt_zipcode\": \"\",\n    \"birthday\": null,\n    \"birthplace\": \"\",\n    \"bouncecount_hard\": \"0\",\n    \"bouncecount_soft\": \"0\",\n    \"city\": \"Zeist\",\n    \"companyname\": \"e-Village\",\n    \"complaintcount\": \"0\",\n    \"contactman\": \"\",\n    \"country\": \"\",\n    \"createdat\": \"2018-02-06 11:52:06\",\n    \"createdby\": \"Angelo van der Kleij\",\n    \"department\": \"\",\n    \"emailaddress\": \"angelo@e-village.nl\",\n    \"emailtype\": \"MULTIPART\",\n    \"externalid\": \"123455432\",\n    \"faxnumber\": \"\",\n    \"firstname\": \"Miranda\",\n    \"gender\": \"WOMAN\",\n    \"homephone\": \"+31306988080\",\n    \"id\": \"91\",\n    \"imageurl\": \"\",\n    \"initials\": \"\",\n    \"jobtitle\": \"\",\n    \"lastname\": \"Blom\",\n    \"mailstatus\": \"ACTIVE\",\n    \"maritalstatus\": \"UNKNOWN\",\n    \"middlename\": \"\",\n    \"mobilephone\": \"\",\n    \"modifiedat\": \"2020-05-29 13:58:59\",\n    \"modifiedby\": \"Angelo van der Kleij\",\n    \"optin\": \"Y\",\n    \"password\": \"Testen\",\n    \"pobox\": \"0\",\n    \"prefix\": \"\",\n    \"smsoptin\": \"Y\",\n    \"state\": \"\",\n    \"status\": \"PROSPECT\",\n    \"suffix\": \"\",\n    \"title\": \"Ing.\",\n    \"username\": \"a.vanderkleij\",\n    \"website\": \"\",\n    \"workextension\": \"\",\n    \"workmobile\": \"\",\n    \"workphone\": \"\",\n    \"zipcode\": \"3705GJ\",\n    \"mailable\": \"1\",\n    \"options\": [\n        {\n            \"identifier\": \"E1\",\n            \"type\": \"string\",\n            \"value\": \"000000001\",\n            \"fieldname\": \"sf_autoincrement\"\n        },\n        {\n            \"identifier\": \"E11\",\n            \"type\": \"select\",\n            \"value\": null,\n            \"fieldname\": \"language\"\n        },\n        {\n            \"identifier\": \"E12\",\n            \"type\": \"date\",\n            \"value\": \"\",\n            \"fieldname\": \"demo\"\n        },\n        {\n            \"identifier\": \"E13\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"Customer - Language\"\n        },\n        {\n            \"identifier\": \"E14\",\n            \"type\": \"float\",\n            \"value\": \"222000.00\",\n            \"fieldname\": \"sf_ AnnualRevenue\"\n        },\n        {\n            \"identifier\": \"E15\",\n            \"type\": \"int\",\n            \"value\": \"22\",\n            \"fieldname\": \"sf_ NumberOfEmployees\"\n        },\n        {\n            \"identifier\": \"E16\",\n            \"type\": \"date\",\n            \"value\": null,\n            \"fieldname\": \"sf_ ConvertedDate\"\n        },\n        {\n            \"identifier\": \"E17\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"json\"\n        },\n        {\n            \"identifier\": \"E18\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"TEST\"\n        },\n        {\n            \"identifier\": \"E19\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"restock\"\n        },\n        {\n            \"identifier\": \"E2\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"sf_optin\"\n        },\n        {\n            \"identifier\": \"E20\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"flag\"\n        },\n        {\n            \"identifier\": \"E21\",\n            \"type\": \"string\",\n            \"value\": null,\n            \"fieldname\": \"Verzendvoorwaarden\"\n        },\n        {\n            \"identifier\": \"E22\",\n            \"type\": \"date\",\n            \"value\": \"\",\n            \"fieldname\": \"optinDate\"\n        },\n        {\n            \"identifier\": \"E3\",\n            \"type\": \"string\",\n            \"value\": \"\",\n            \"fieldname\": \"SHA256 Relay42\"\n        }\n    ]\n}"}],"_postman_id":"bb1e7e5c-1381-4aaa-a48d-df6368adf674"},{"name":"Delete Customer","id":"41e0e3b0-983d-4cba-9fbb-3e91c304af32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://deployteq.net/app/api/rest/public/v2/customer/:customerid?token={{token}}","description":"<p>This will delete the customer record in Deployteq and all related data. The Deployteq customer id is used in the endpoint to determine which customer needs to be deleted;</p>\n<p>[DELETE] <a href=\"https://deployteq.net/app/api/rest/public/v2/customer/%7B%7Bcustomerid%7D%7D?token=%7B%7Btoken%7D%7D\">https://deployteq.net/app/api/rest/public/v2/customer/{{customerid}}?token={{token}}</a></p>\n","urlObject":{"protocol":"https","path":["app","api","rest","public","v2","customer",":customerid"],"host":["deployteq","net"],"query":[{"description":{"content":"<p>API token</p>\n","type":"text/plain"},"key":"token","value":"{{token}}"}],"variable":[{"description":{"content":"<p>Deployteq customer id</p>\n","type":"text/plain"},"type":"any","value":"{{customerid}}","key":"customerid"}]}},"response":[{"id":"490e7bd1-aa4b-4895-b2e4-35385a9e80fb","name":"Delete Customer","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"address\": \"Amersfoortseweg\",\n        \"address2\": \"\",\n        \"address3\": \"\",\n        \"addressnumber\": \"\",\n        \"addressnumbersuffix\": \"\",\n        \"alt_address\": \"\",\n        \"alt_address2\": \"\",\n        \"alt_address3\": \"\",\n        \"alt_addressnumber\": \"\",\n        \"alt_addressnumbersuffix\": \"\",\n        \"alt_city\": \"\",\n        \"alt_country\": \"\",\n        \"alt_emailaddress\": \"\",\n        \"alt_state\": \"\",\n        \"alt_zipcode\": \"\",\n        \"birthday\": null,\n        \"birthplace\": \"\",\n        \"city\": \"Zeist\",\n        \"companyname\": \"e-Village\",\n        \"contactman\": \"\",\n        \"country\": \"\",\n        \"department\": \"\",\n        \"emailaddress\": \"angelo@e-village.nl\",\n        \"emailtype\": \"MULTIPART\",\n        \"externalid\": \"123455432\",\n        \"faxnumber\": \"\",\n        \"firstname\": \"Miranda\",\n        \"gender\": \"WOMAN\",\n        \"homephone\": \"+31306988080\",\n        \"imageurl\": \"\",\n        \"initials\": \"\",\n        \"jobtitle\": \"\",\n        \"lastname\": \"Blom\",\n        \"maritalstatus\": \"UNKNOWN\",\n        \"middlename\": \"\",\n        \"mobilephone\": \"\",\n        \"optin\": \"Y\",\n        \"password\": \"Testen\",\n        \"pobox\": \"0\",\n        \"prefix\": \"\",\n        \"smsoptin\": \"Y\",\n        \"state\": \"\",\n        \"status\": \"PROSPECT\",\n        \"suffix\": \"\",\n        \"title\": \"Ing.\",\n        \"username\": \"a.vanderkleij\",\n        \"website\": \"\",\n        \"workextension\": \"\",\n        \"workmobile\": \"\",\n        \"workphone\": \"\",\n        \"zipcode\": \"3705GJ\"\n    }","options":{"raw":{"language":"json"}}},"url":{"raw":"https://mokup.myclang.com/app/api/rest/public/v2/customer/:customerid?token={{token}}","protocol":"https","host":["mokup","myclang","com"],"path":["app","api","rest","public","v2","customer",":customerid"],"query":[{"key":"token","value":"{{token}}"}],"variable":[{"key":"customerid","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 29 May 2020 12:01:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Security-Policy","value":"frame-ancestors 'self'"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"41e0e3b0-983d-4cba-9fbb-3e91c304af32"}],"event":[{"listen":"prerequest","script":{"id":"371e15ba-8fb1-409f-b257-8225cdb30fd3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fedd6caa-f553-427e-99d6-660958cdf5a3","type":"text/javascript","exec":[""]}}]}