{ "info": { "_postman_id": "799b9344-7e02-bed0-c088-b374844482f0", "name": "posapps-customer", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "status", "request": { "method": "GET", "header": [], "body": {}, "url": { "raw": "{{posapps-api}}/customer/status", "host": [ "{{posapps-api}}" ], "path": [ "customer", "status" ] } }, "response": [] }, { "name": "create-customer", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "{{user}}", "type": "string" }, { "key": "password", "value": "{{password}}", "type": "string" }, { "key": "saveHelperData", "type": "any" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"firstName\": \"Hugh\",\n \"lastName\": \"Stevenson\",\n \"emailAddress\": \"test@posapps.io\"\n}" }, "url": { "raw": "{{posapps-api}}/customer?device=terminal1", "host": [ "{{posapps-api}}" ], "path": [ "customer" ], "query": [ { "key": "device", "value": "terminal1" } ] } }, "response": [] }, { "name": "udate-customer", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "{{password}}", "type": "string" }, { "key": "username", "value": "{{user}}", "type": "string" }, { "key": "saveHelperData", "type": "any" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"firstName\": \"Hugby\",\n \"lastName\": \"Stephenson\",\n \"emailAddress\": \"test@posapps.io\"\n}" }, "url": { "raw": "{{posapps-api}}/customer?device=terminal1", "host": [ "{{posapps-api}}" ], "path": [ "customer" ], "query": [ { "key": "device", "value": "terminal1" } ] } }, "response": [] }, { "name": "delete-customer", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "{{password}}", "type": "string" }, { "key": "username", "value": "{{user}}", "type": "string" }, { "key": "saveHelperData", "type": "any" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "DELETE", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "{{posapps-api}}/customer?device=pos1&email=test@posapps.io", "host": [ "{{posapps-api}}" ], "path": [ "customer" ], "query": [ { "key": "device", "value": "pos1" }, { "key": "email", "value": "test@posapps.io" } ] } }, "response": [] }, { "name": "customer-updates", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "{{password}}", "type": "string" }, { "key": "username", "value": "{{user}}", "type": "string" }, { "key": "saveHelperData", "type": "any" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "", "value": "", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"firstName\": \"Hugh\",\n \"lastName\": \"Stevenson\",\n \"emailAddress\": \"test@posapps.io\"\n}" }, "url": { "raw": "{{posapps-api}}/customer?device=test-pos2", "host": [ "{{posapps-api}}" ], "path": [ "customer" ], "query": [ { "key": "device", "value": "test-pos2" } ] } }, "response": [] } ] }