{"info":{"_postman_id":"cb923f6c-8a0d-364f-1788-32300f0d0dab","name":"Vend API","description":"<html><head></head><body><p><a href=\"https://docs.vendhq.com/\">https://docs.vendhq.com/</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1806395","collectionId":"cb923f6c-8a0d-364f-1788-32300f0d0dab","publishedId":"7Ln9hhN","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-02-12T06:34:21.000Z"},"item":[{"name":"Authorization","item":[{"name":"OAuth 2.0","id":"ff08af40-d27d-4f4d-aa6d-eca6065852f9","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":false},"method":"GET","header":[{"key":"","value":""}],"body":{"mode":"formdata","formdata":[]},"url":"","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"ff08af40-d27d-4f4d-aa6d-eca6065852f9"}],"id":"0c626801-6ec5-4f09-b2af-9e020a86fa82","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#authorisation\">https://docs.vendhq.com/v0.9/reference#authorisation</a></p>\n","_postman_id":"0c626801-6ec5-4f09-b2af-9e020a86fa82"},{"name":"Cash Management","item":[{"name":"Add Cash Movements","id":"fd99f937-621c-0524-c6f8-babdda9d69f9","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\"amount\": -50,\n\"user_id\": \"0424dbcd-ef95-11e6-e986-ecd5a6503836\",\n\"date\": \"2017-07-02T20:28:43+00:00\",\n\"type\": \"Cash out\",\n\"note\": \"Bank drop\"\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/register_open_sequences/{{registerclosureid}}/cash_movements","description":"<p>Add a cash movement entry into the register closure.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","register_open_sequences","{{registerclosureid}}","cash_movements"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd99f937-621c-0524-c6f8-babdda9d69f9"}],"id":"4a63671b-aeee-8e14-8044-954c34bb5c8e","_postman_id":"4a63671b-aeee-8e14-8044-954c34bb5c8e","description":""},{"name":"Consignments","item":[{"name":"Delete Consignment","id":"9bd3f83b-5333-5db4-5c74-86afafdf8ffc","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/consignments/{{consignmentid}}","description":"<p>Deletes the consignment with the given ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","consignments","{{consignmentid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9bd3f83b-5333-5db4-5c74-86afafdf8ffc"},{"name":"List Consignments","id":"ed750598-33f7-9522-6bef-b063b611dfb2","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/consignments","description":"<p>Returns a paginated list of consignments.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","consignments"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed750598-33f7-9522-6bef-b063b611dfb2"},{"name":"List all products for a specific consignment","id":"1943c387-0917-9fca-29e9-34c7d8a6935a","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/consignments/{{consignmentid}}/products","description":"<p>Returns a collection of consignment products associated with the specified consignment.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","consignments","{{consignmentid}}","products"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1943c387-0917-9fca-29e9-34c7d8a6935a"},{"name":"Get a single consignment","id":"29b6848a-b8ad-2f2f-8e4e-41d9c98739d7","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/consignments/{{consignmentid}}","description":"<p>Returns a single consignment with the requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","consignments","{{consignmentid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"29b6848a-b8ad-2f2f-8e4e-41d9c98739d7"},{"name":"Update Consignment","id":"f9b46950-acde-7caa-df9e-d63bdb0e97e3","request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"id\": \"b8ca3a65-0183-11e4-fbb5-281711e05741\",\n    \"outlet_id\": \"b8ca3a65-0183-11e4-fbb5-2816d2677218\",\n    \"name\": \"Stock Transfer\",\n    \"due_at\": \"2014-08-21T00:00:00+00:00\",\n    \"type\": \"OUTLET\",\n    \"status\": \"RECEIVED\",\n    \"supplier_id\": null,\n    \"source_outlet_id\": \"b1e04bd8-f019-11e3-a0f5-b8ca3a64f8f4\",\n    \"consignment_date\": \"2014-08-20T03:07:07+00:00\",\n    \"received_at\": \"2014-08-20T03:08:49+00:00\",\n    \"show_inactive\": true,\n    \"supplier_invoice\": \"\",\n    \"reference\": null,\n    \"total_count_gain\": null,\n    \"total_cost_gain\": null,\n    \"total_count_loss\": null,\n    \"total_cost_loss\": null,\n    \"created_at\": \"2014-08-20T03:07:07+00:00\",\n    \"updated_at\": \"2014-08-20T03:08:49+00:00\",\n    \"deleted_at\": null,\n    \"version\": 1228872,\n    \"filters\": []\n  }\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/consignments/{{consignmentid}}","description":"<p>Updates a consignment with requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","consignments","{{consignmentid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9b46950-acde-7caa-df9e-d63bdb0e97e3"},{"name":"Add a product to consignment","id":"93b10481-7b4b-6f94-64f1-8969fab4369c","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"consignment_id\": \"0afa6de1-1413-11e7-edec-a8c5e42deb8a\",\n  \"product_id\": \"0624db3d-ef13-11e6-e986-fcca33dee6e6\",\n  \"count\": 15,\n  \"received\": null,\n  \"cost\": 123.345,\n  \"sequence_number\": 4\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/consignments/{{consignmentid}}/products","description":"<p>Add a product to a consignment with requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","consignments","{{consignmentid}}","products"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"93b10481-7b4b-6f94-64f1-8969fab4369c"},{"name":"Create an inventory count","id":"d2ea28e7-0b1b-425f-2b77-34f632b3f1be","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"id\": \"0af7b240-ab83-11e7-eddc-402337165363\",\n    \"outlet_id\": \"b1e04bd8-f019-11e3-a0f5-b8ca3a64f8f4\",\n    \"name\": \"API Invenotry Count\",\n    \"due_at\": null,\n    \"type\": \"STOCKTAKE\",\n    \"status\": \"STOCKTAKE_SCHEDULED\",\n    \"supplier_id\": null,\n    \"source_outlet_id\": null,\n    \"consignment_date\": \"2017-05-24T01:49:25+00:00\",\n    \"received_at\": null,\n    \"show_inactive\": true,\n    \"supplier_invoice\": null,\n    \"reference\": null,\n    \"total_count_gain\": null,\n    \"total_cost_gain\": null,\n    \"total_count_loss\": null,\n    \"total_cost_loss\": null,\n    \"created_at\": \"2017-05-24T01:49:25+00:00\",\n    \"updated_at\": \"2017-05-24T01:49:25+00:00\",\n    \"deleted_at\": null,\n    \"version\": 3505324485,\n    \"filters\": []\n  }\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/consignments","description":"<p>Creates a new consignment of type <code>STOCKTAKE</code>. Currently, this endpoint only supports creation of inventory counts (stock takes).</p>\n","urlObject":{"protocol":"https","path":["api","2.0","consignments"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2ea28e7-0b1b-425f-2b77-34f632b3f1be"},{"name":"Create a consignment","id":"3cbd7a80-9292-ed6c-7a0d-d29ebc838592","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"0af7b240-ab83-11e7-eddc-38e5834289e2\",\n  \"name\": \"API test 5\",\n  \"consignment_date\": \"2017-05-14 20:40:05\",\n  \"due_at\": null,\n  \"received_at\": null,\n  \"retailer_id\": \"b1c50056-f019-11e3-a0f5-b8ca3a64f8f4\",\n  \"outlet_id\": \"b1e04bd8-f019-11e3-a0f5-b8ca3a64f8f4\",\n  \"supplier_id\": null,\n  \"source_outlet_id\": null,\n  \"status\": \"OPEN\",\n  \"type\": \"RETURN\",\n  \"accounts_transaction_id\": null\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/consignment","description":"<p>Creates a new consignment.</p>\n","urlObject":{"protocol":"https","path":["api","consignment"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3cbd7a80-9292-ed6c-7a0d-d29ebc838592"},{"name":"Delete Consignment Product","id":"a22e541e-4c9e-2ee3-be9b-8da1c1debf75","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/consignments/{{consignmentid}}/products/{{productid}}","description":"<p>Removes the count for a specific product from the inventory count.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","consignments","{{consignmentid}}","products","{{productid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a22e541e-4c9e-2ee3-be9b-8da1c1debf75"}],"id":"67885240-618c-8b76-1694-bfb0dfd81a37","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#consignments-2\">https://docs.vendhq.com/v0.9/reference#consignments-2</a></p>\n","event":[{"listen":"prerequest","script":{"id":"9ca18c2c-f369-4e24-aec9-2cd3b6c36207","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4b793a78-cdc8-48fa-a6f7-2043612bd224","type":"text/javascript","exec":[""]}}],"_postman_id":"67885240-618c-8b76-1694-bfb0dfd81a37"},{"name":"Customer Groups","item":[{"name":"List customer groups","id":"73399f1d-2058-dc08-d07d-5f93354a1dcd","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"id\": \"0af7b240-ab83-11e7-eddc-4023c64c85e5\",\n    \"customer_code\": \"Tony-37YP\",\n    \"name\": \"Tony Stark\",\n    \"first_name\": \"Tony\",\n    \"last_name\": \"Stark\",\n    \"email\": \"tony@starkinc.com\",\n    \"year_to_date\": 0,\n    \"balance\": 0,\n    \"loyalty_balance\": 0,\n    \"note\": null,\n    \"gender\": null,\n    \"date_of_birth\": null,\n    \"company_name\": null,\n    \"do_not_email\": false,\n    \"contact_source\": null,\n    \"phone\": null,\n    \"mobile\": null,\n    \"fax\": null,\n    \"twitter\": null,\n    \"website\": null,\n    \"physical_address_1\": null,\n    \"physical_address_2\": null,\n    \"physical_suburb\": null,\n    \"physical_city\": null,\n    \"physical_postcode\": null,\n    \"physical_state\": null,\n    \"physical_country_id\": null,\n    \"postal_address_1\": null,\n    \"postal_address_2\": null,\n    \"postal_suburb\": null,\n    \"postal_city\": null,\n    \"postal_postcode\": null,\n    \"postal_state\": null,\n    \"postal_country_id\": null,\n    \"customer_group_id\": \"b1ca8902-f019-11e3-a0f5-b8ca3a64f8f4\",\n    \"enable_loyalty\": true,\n    \"custom_field_1\": null,\n    \"custom_field_2\": null,\n    \"custom_field_3\": null,\n    \"custom_field_4\": null,\n    \"created_at\": \"2017-05-24T01:53:25+00:00\",\n    \"updated_at\": \"2017-05-24T01:53:25+00:00\",\n    \"deleted_at\": null,\n    \"version\": 3505346597\n  }\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/customer_groups","description":"<p>Returns a paginated list of customer groups.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","customer_groups"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"73399f1d-2058-dc08-d07d-5f93354a1dcd"}],"id":"9fb27ffe-3e9e-4991-87a6-c7659f666b2c","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#customer-groups\">https://docs.vendhq.com/v0.9/reference#customer-groups</a></p>\n","event":[{"listen":"prerequest","script":{"id":"93109795-2eb3-4200-813f-c0d814c79491","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5550eaa1-91aa-40b4-9bfd-f0342e7ca63f","type":"text/javascript","exec":[""]}}],"_postman_id":"9fb27ffe-3e9e-4991-87a6-c7659f666b2c"},{"name":"Customers","item":[{"name":"Create new customer","id":"7b43dda6-11bd-d6eb-7920-363d2cad5559","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n     \"name\": \"Quick Key Layout\",\n     \"nodes\": [\n        {\n          \"product_id\": \"0afa8de1-1441-11e8-edec-598d263086b9\",\n          \"position\": 0,\n           \"attributes\": [\n            {\n              \"key\": \"color\",\n              \"value\": \"white\"\n            },\n            {\n              \"key\": \"columns\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"isChild\",\n              \"value\": \"0\"\n            },\n            {\n              \"key\": \"label\",\n              \"value\": \"Winston Set\"\n            },\n            {\n              \"key\": \"rows\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"showImage\",\n              \"value\": \"1\"\n            }\n          ]\n       },\n        {\n          \"id\": \"aa1afcb7-74da-11e7-adec-0afa8de11450\",\n          \"product_id\": \"0624dbcd-ef13-11e6-e986-fcc1c366e772\",\n          \"position\": 1,\n          \"parent_node_id\": \"5e585c7c-fcc2-11e6-8986-0624dbcdef95\",\n          \"attributes\": [\n            {\n              \"key\": \"color\",\n              \"value\": \"white\"\n            },\n            {\n              \"key\": \"columns\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"isChild\",\n              \"value\": \"0\"\n            },\n            {\n              \"key\": \"label\",\n              \"value\": \"Post Shave Balm\"\n            },\n            {\n              \"key\": \"rows\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"showImage\",\n              \"value\": \"1\"\n            }\n          ]\n        },\n        {\n          \"id\": \"dc672b1e-f419-11e7-adec-0afa8de11450\",\n          \"product_id\": \"0624dbcd-ef13-11e6-e986-fcc1c37bf7dd\",\n          \"position\": 2,\n          \"parent_node_id\": \"5e585c7c-fcc2-11e6-8986-0624dbcdef95\",\n          \"attributes\": [\n            {\n              \"key\": \"color\",\n              \"value\": \"white\"\n            },\n            {\n              \"key\": \"columns\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"isChild\",\n              \"value\": \"0\"\n            },\n            {\n              \"key\": \"label\",\n              \"value\": \"Harrys Blade\"\n            },\n            {\n              \"key\": \"rows\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"showImage\",\n              \"value\": \"1\"\n            }\n          ]\n        },\n        {\n          \"id\": \"df0cdaff-f419-11e7-adec-0afa8de11450\",\n          \"product_id\": \"0624dbcd-ef13-11e6-e986-fcc1c352762d\",\n          \"position\": 3,\n          \"parent_node_id\": \"5e585c7c-fcc2-11e6-8986-0624dbcdef95\",\n          \"attributes\": [\n            {\n              \"key\": \"color\",\n              \"value\": \"white\"\n            },\n            {\n              \"key\": \"columns\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"isChild\",\n              \"value\": \"0\"\n            },\n            {\n              \"key\": \"label\",\n              \"value\": \"Shave Cream\"\n            },\n            {\n              \"key\": \"rows\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"showImage\",\n              \"value\": \"1\"\n            }\n          ]\n        },\n        {\n          \"id\": \"e8c1783a-f419-11e7-adec-0afa8de11450\",\n          \"product_id\": \"0624dbcd-ef13-11e6-e986-fcc1c32283ca\",\n          \"position\": 4,\n          \"parent_node_id\": \"5e585c7c-fcc2-11e6-8986-0624dbcdef95\",\n          \"attributes\": [\n            {\n              \"key\": \"color\",\n              \"value\": \"white\"\n            },\n            {\n              \"key\": \"columns\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"isChild\",\n              \"value\": \"0\"\n            },\n            {\n              \"key\": \"label\",\n              \"value\": \"Winston Blade\"\n            },\n            {\n              \"key\": \"rows\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"showImage\",\n              \"value\": \"1\"\n            }\n          ]\n        },\n        {\n          \"id\": \"cedcce9a-f419-11e7-adec-0afa8de11450\",\n          \"product_id\": \"0afa8de1-1413-11e7-edec-7bddeb26ed02\",\n          \"position\": 10,\n          \"parent_node_id\": \"5e585c7c-fcc2-11e6-8986-0624dbcdef95\",\n          \"attributes\": [\n            {\n              \"key\": \"color\",\n              \"value\": \"white\"\n            },\n            {\n              \"key\": \"columns\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"isChild\",\n              \"value\": \"0\"\n            },\n            {\n              \"key\": \"label\",\n              \"value\": \"Component 1\"\n            },\n            {\n              \"key\": \"rows\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"showImage\",\n              \"value\": \"1\"\n            }\n          ]\n        },\n        {\n          \"id\": \"d064b332-f419-11e7-adec-0afa8de11450\",\n          \"product_id\": \"0afa8de1-1413-11e7-edec-7fe0c70f6e43\",\n          \"position\": 11,\n          \"parent_node_id\": \"5e585c7c-fcc2-11e6-8986-0624dbcdef95\",\n          \"attributes\": [\n            {\n              \"key\": \"color\",\n              \"value\": \"white\"\n            },\n            {\n              \"key\": \"columns\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"isChild\",\n              \"value\": \"0\"\n            },\n            {\n              \"key\": \"label\",\n              \"value\": \"Component 2\"\n            },\n            {\n              \"key\": \"rows\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"showImage\",\n              \"value\": \"1\"\n            }\n          ]\n        },\n        {\n          \"id\": \"d19c1593-f419-11e7-adec-0afa8de11450\",\n          \"product_id\": \"0afa8de1-1413-11e7-edec-7bddfa31e73a\",\n          \"position\": 12,\n          \"parent_node_id\": \"5e585c7c-fcc2-11e6-8986-0624dbcdef95\",\n          \"attributes\": [\n            {\n              \"key\": \"color\",\n              \"value\": \"white\"\n            },\n            {\n              \"key\": \"columns\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"isChild\",\n              \"value\": \"0\"\n            },\n            {\n              \"key\": \"label\",\n              \"value\": \"Composite\"\n            },\n            {\n              \"key\": \"rows\",\n              \"value\": \"1\"\n            },\n            {\n              \"key\": \"showImage\",\n              \"value\": \"1\"\n            }\n          ]\n        }\n]\n}\n"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/customers","description":"<p>Creates a new customer.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","customers"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b43dda6-11bd-d6eb-7920-363d2cad5559"},{"name":"List Customers","id":"42f736f2-0b7d-eafb-a6a0-dea7fe3f4204","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"id\": \"0af7b240-ab83-11e7-eddc-4023c64c85e5\",\n    \"customer_code\": \"Tony-37YP\",\n    \"name\": \"Tony Stark\",\n    \"first_name\": \"Tony\",\n    \"last_name\": \"Stark\",\n    \"email\": \"tony@starkinc.com\",\n    \"year_to_date\": 0,\n    \"balance\": 0,\n    \"loyalty_balance\": 0,\n    \"note\": null,\n    \"gender\": null,\n    \"date_of_birth\": null,\n    \"company_name\": null,\n    \"do_not_email\": false,\n    \"contact_source\": null,\n    \"phone\": null,\n    \"mobile\": null,\n    \"fax\": null,\n    \"twitter\": null,\n    \"website\": null,\n    \"physical_address_1\": null,\n    \"physical_address_2\": null,\n    \"physical_suburb\": null,\n    \"physical_city\": null,\n    \"physical_postcode\": null,\n    \"physical_state\": null,\n    \"physical_country_id\": null,\n    \"postal_address_1\": null,\n    \"postal_address_2\": null,\n    \"postal_suburb\": null,\n    \"postal_city\": null,\n    \"postal_postcode\": null,\n    \"postal_state\": null,\n    \"postal_country_id\": null,\n    \"customer_group_id\": \"b1ca8902-f019-11e3-a0f5-b8ca3a64f8f4\",\n    \"enable_loyalty\": true,\n    \"custom_field_1\": null,\n    \"custom_field_2\": null,\n    \"custom_field_3\": null,\n    \"custom_field_4\": null,\n    \"created_at\": \"2017-05-24T01:53:25+00:00\",\n    \"updated_at\": \"2017-05-24T01:53:25+00:00\",\n    \"deleted_at\": null,\n    \"version\": 3505346597\n  }\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/customers","description":"<p>Returns a paginated list of customers.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","customers"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"42f736f2-0b7d-eafb-a6a0-dea7fe3f4204"},{"name":"Get a single customer","id":"93cb5074-5f03-cadf-3688-edcd1120bfdc","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"id\": \"0af7b240-ab83-11e7-eddc-4023c64c85e5\",\n    \"customer_code\": \"Tony-37YP\",\n    \"name\": \"Tony Stark\",\n    \"first_name\": \"Tony\",\n    \"last_name\": \"Stark\",\n    \"email\": \"tony@starkinc.com\",\n    \"year_to_date\": 0,\n    \"balance\": 0,\n    \"loyalty_balance\": 0,\n    \"note\": null,\n    \"gender\": null,\n    \"date_of_birth\": null,\n    \"company_name\": null,\n    \"do_not_email\": false,\n    \"contact_source\": null,\n    \"phone\": null,\n    \"mobile\": null,\n    \"fax\": null,\n    \"twitter\": null,\n    \"website\": null,\n    \"physical_address_1\": null,\n    \"physical_address_2\": null,\n    \"physical_suburb\": null,\n    \"physical_city\": null,\n    \"physical_postcode\": null,\n    \"physical_state\": null,\n    \"physical_country_id\": null,\n    \"postal_address_1\": null,\n    \"postal_address_2\": null,\n    \"postal_suburb\": null,\n    \"postal_city\": null,\n    \"postal_postcode\": null,\n    \"postal_state\": null,\n    \"postal_country_id\": null,\n    \"customer_group_id\": \"b1ca8902-f019-11e3-a0f5-b8ca3a64f8f4\",\n    \"enable_loyalty\": true,\n    \"custom_field_1\": null,\n    \"custom_field_2\": null,\n    \"custom_field_3\": null,\n    \"custom_field_4\": null,\n    \"created_at\": \"2017-05-24T01:53:25+00:00\",\n    \"updated_at\": \"2017-05-24T01:53:25+00:00\",\n    \"deleted_at\": null,\n    \"version\": 3505346597\n  }\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/customers/{{customerid}}","description":"<p>Returns a single customer with a requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","customers","{{customerid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"93cb5074-5f03-cadf-3688-edcd1120bfdc"},{"name":"Update Customer","id":"fd61a3d4-65a6-a776-bcea-3d368d4af9b9","request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"id\": \"0af7b240-ab83-11e7-eddc-4025043113d5\",\n    \"customer_code\": \"Tony-AB2W\",\n    \"name\": \"Tony Stark\",\n    \"first_name\": \"Tony\",\n    \"last_name\": \"Stark\",\n    \"email\": \"tony@starkinc.com\",\n    \"year_to_date\": 0,\n    \"balance\": 0,\n    \"loyalty_balance\": 0,\n    \"note\": null,\n    \"gender\": null,\n    \"date_of_birth\": null,\n    \"company_name\": \"Stark Inc.\",\n    \"do_not_email\": false,\n    \"contact_source\": null,\n    \"phone\": null,\n    \"mobile\": null,\n    \"fax\": null,\n    \"twitter\": null,\n    \"website\": null,\n    \"physical_address_1\": null,\n    \"physical_address_2\": null,\n    \"physical_suburb\": null,\n    \"physical_city\": null,\n    \"physical_postcode\": null,\n    \"physical_state\": null,\n    \"physical_country_id\": null,\n    \"postal_address_1\": null,\n    \"postal_address_2\": null,\n    \"postal_suburb\": null,\n    \"postal_city\": null,\n    \"postal_postcode\": null,\n    \"postal_state\": null,\n    \"postal_country_id\": null,\n    \"customer_group_id\": \"b1ca8902-f019-11e3-a0f5-b8ca3a64f8f4\",\n    \"enable_loyalty\": true,\n    \"custom_field_1\": \"Custom value 1\",\n    \"custom_field_2\": \"Custom value 2\",\n    \"custom_field_3\": \"Custom value 3\",\n    \"custom_field_4\": \"Custom value 4\",\n    \"created_at\": \"2017-05-24T02:02:18+00:00\",\n    \"updated_at\": \"2017-05-24T02:03:59+00:00\",\n    \"deleted_at\": null,\n    \"version\": 3505431251\n  }\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/customers/{{customerid}}","description":"<p>Updates the customer with the requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","customers","{{customerid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd61a3d4-65a6-a776-bcea-3d368d4af9b9"},{"name":"Delete Customer","id":"a93189f4-16be-a49a-b201-cb711694b631","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/customers/{{customerid}}","description":"<p>Deletes the customer with the requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","customers","{{customerid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a93189f4-16be-a49a-b201-cb711694b631"}],"id":"10c9d566-55dc-d9f3-1f2e-d164098fbc0c","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#customers-2\">https://docs.vendhq.com/v0.9/reference#customers-2</a></p>\n","event":[{"listen":"prerequest","script":{"id":"8fe9c69c-d857-4e34-8d4a-615f27622f2c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4756b7dd-1b71-4e16-8a6e-a7d07d9cf76b","type":"text/javascript","exec":[""]}}],"_postman_id":"10c9d566-55dc-d9f3-1f2e-d164098fbc0c"},{"name":"Inventory","item":[{"name":"List inventory records","id":"5eeef01d-0fc4-fca1-aa83-efbbc75a73d9","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/inventory","description":"<p>Returns a paginated list of inventory records.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","inventory"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5eeef01d-0fc4-fca1-aa83-efbbc75a73d9"},{"name":"Get a single products inventory","id":"cdc437ea-55cd-1f27-4c35-890d940c23d4","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/products/{{productid}}/inventory","description":"<p>Returns a single products inventory records.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","products","{{productid}}","inventory"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdc437ea-55cd-1f27-4c35-890d940c23d4"}],"id":"49c71fef-cd0c-685e-3ff7-fc87b99dcc92","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#inventory\">https://docs.vendhq.com/v0.9/reference#inventory</a></p>\n","event":[{"listen":"prerequest","script":{"id":"b9b6f95d-2888-4110-acb3-0c0efdd3604b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f71ee2f9-d12f-47ec-8ed7-7c7850b00891","type":"text/javascript","exec":[""]}}],"_postman_id":"49c71fef-cd0c-685e-3ff7-fc87b99dcc92"},{"name":"Outlet Product Taxes","item":[{"name":"List outlet product taxes","id":"1d99d5ec-e72e-7c02-19ee-aea7e87a09cb","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/inventory","description":"<p>Returns a paginated list of outlet-product-tax records.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","inventory"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d99d5ec-e72e-7c02-19ee-aea7e87a09cb"}],"id":"2e27443c-05e5-8dad-4faa-562f05873792","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#outlet-product-taxes\">https://docs.vendhq.com/v0.9/reference#outlet-product-taxes</a></p>\n","event":[{"listen":"prerequest","script":{"id":"bda665c6-d9ed-442e-9754-a3e556480fd1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c23cce7a-fbd5-4f8a-8ec7-2ce0a0e93eb2","type":"text/javascript","exec":[""]}}],"_postman_id":"2e27443c-05e5-8dad-4faa-562f05873792"},{"name":"Outlets","item":[{"name":"List outlets","id":"741b5415-b2c8-1c07-894d-eeb5adec2889","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/outlets","description":"<p>Returns a collection of outlets.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","outlets"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"741b5415-b2c8-1c07-894d-eeb5adec2889"},{"name":"Get a single outlet","id":"bf310dbb-4069-570f-00df-eeb22904ce7b","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/outlets/{{outletid}}","description":"<p>Returns a single outlet with the requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","outlets","{{outletid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf310dbb-4069-570f-00df-eeb22904ce7b"}],"id":"5c402262-b8f9-dbbf-61f7-36629b16d29a","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#outlets\">https://docs.vendhq.com/v0.9/reference#outlets</a></p>\n","event":[{"listen":"prerequest","script":{"id":"5f794896-ea42-48d8-92e5-610ac0d18129","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4514b182-ea6b-41dd-9112-3e36c55e8d8a","type":"text/javascript","exec":[""]}}],"_postman_id":"5c402262-b8f9-dbbf-61f7-36629b16d29a"},{"name":"Payment Types","item":[{"name":"List payment types","id":"3ba3ba25-4118-041f-1b91-35cdfb1dccd6","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/payment_types","description":"<p>Returns a paginated collection of payment types.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","payment_types"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ba3ba25-4118-041f-1b91-35cdfb1dccd6"}],"id":"73c1609e-db9a-4e49-6d4b-553cfac653d6","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#payment-types\">https://docs.vendhq.com/v0.9/reference#payment-types</a></p>\n","event":[{"listen":"prerequest","script":{"id":"73f258b2-4164-4fe3-83c4-712546f16e69","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"39c5046e-8b09-45f4-8dd4-44b43cac6c4f","type":"text/javascript","exec":[""]}}],"_postman_id":"73c1609e-db9a-4e49-6d4b-553cfac653d6"},{"name":"Price Books","item":[{"name":"List price book products copy","id":"c92a45b9-39df-13bb-afd4-492fee38db33","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/price_books","description":"<p>Returns a paginated list of price books</p>\n","urlObject":{"protocol":"https","path":["api","2.0","price_books"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c92a45b9-39df-13bb-afd4-492fee38db33"},{"name":"Get a single price book","id":"3e42334f-d268-8a2d-edd5-abcb09ee23b3","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/price_books/{{pricebookid}}","description":"<p>Returns a single price book with a requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","price_books","{{pricebookid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e42334f-d268-8a2d-edd5-abcb09ee23b3"},{"name":"Create a price book","id":"ca45c30d-4421-fc0b-c1ba-9decbdb9f0f0","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"0afa6de1-1413-11e7-edec-a8c5e42deb8a\",\n  \"customer_group_id\": \"0624db3d-ef13-11e6-e986-fcca33dee6e6\",\n  \"valid_from\": \"2017-05-24\",\n  \"valid_to\": \"2017-06-24\",\n  \"restrict_to_platform_key\": 1,\n  \"outlet_id\": \"0afa6de1-1413-11e7-edec-a8c5e42deb8a\"\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/price_books","description":"<p>Creates a new price book.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","price_books"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca45c30d-4421-fc0b-c1ba-9decbdb9f0f0"}],"id":"fa18c42e-e563-1b3a-993c-15ef0a1dd812","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#price-books\">https://docs.vendhq.com/v0.9/reference#price-books</a></p>\n","event":[{"listen":"prerequest","script":{"id":"cba14b6e-4eda-4e99-9d7f-b5a6ad26539f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5a92fbdf-c2b4-4ce5-b9c5-7f389cc5a408","type":"text/javascript","exec":[""]}}],"_postman_id":"fa18c42e-e563-1b3a-993c-15ef0a1dd812"},{"name":"Price book Products ","item":[{"name":"List price book products","id":"59a14b9d-a2a7-1e9b-100a-b6313f8f0dec","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/price_book_products","description":"<p>Returns a paginated list of price book products.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","price_book_products"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"59a14b9d-a2a7-1e9b-100a-b6313f8f0dec"}],"id":"b6f65542-8e09-e01f-8007-bc8be9fcb682","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#price-book-products\">https://docs.vendhq.com/v0.9/reference#price-book-products</a></p>\n","event":[{"listen":"prerequest","script":{"id":"16cf3a1c-ae62-4916-910b-69d87838bade","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9f957b1b-60ba-4374-8e51-489ecde5f9be","type":"text/javascript","exec":[""]}}],"_postman_id":"b6f65542-8e09-e01f-8007-bc8be9fcb682"},{"name":"Product Brands","item":[{"name":"List brands","id":"6c493f75-6dbc-277a-2d82-b11f41cd8423","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/brands","description":"<p>Returns a paginated list of brands.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","brands"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c493f75-6dbc-277a-2d82-b11f41cd8423"},{"name":"Get a single brand","id":"3c870116-c9b9-7d96-f843-3bd5679b4984","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/brands/{{brandid}}","description":"<p>Returns a single brand with a requested ID</p>\n","urlObject":{"protocol":"https","path":["api","2.0","brands","{{brandid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c870116-c9b9-7d96-f843-3bd5679b4984"}],"id":"28cf25da-96f0-86a7-0246-9005708e1efe","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#brands\">https://docs.vendhq.com/v0.9/reference#brands</a></p>\n","event":[{"listen":"prerequest","script":{"id":"6b8d15dc-eaa2-44c5-b7be-49bd59a7cb98","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b300b040-76b3-4b2c-b3b9-66a78e6d0456","type":"text/javascript","exec":[""]}}],"_postman_id":"28cf25da-96f0-86a7-0246-9005708e1efe"},{"name":"Product Images","item":[{"name":"Upload an image","id":"e514a0c4-5275-f10f-d299-2aa5aed4aa00","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{domainprefix}}.vendhq.comapi/2.0/products/d8170e16-62c9-4ac6-2c0a-b33f691d3d18/actions/image_upload","description":"<p>Upload a binary file with an image to be used for a product. This request should be encoded as <code>multipart/form-data</code>.</p>\n<p><a href=\"https://docs.vendhq.com/v0.9/reference#uploadimage\">https://docs.vendhq.com/v0.9/reference#uploadimage</a></p>\n","urlObject":{"protocol":"https","path":["2.0","products","d8170e16-62c9-4ac6-2c0a-b33f691d3d18","actions","image_upload"],"host":["{{domainprefix}}","vendhq","comapi"],"query":[],"variable":[]}},"response":[],"_postman_id":"e514a0c4-5275-f10f-d299-2aa5aed4aa00"},{"name":"Set Image Position","id":"de0932df-0d53-d119-4654-037f6d42eae4","request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"position\": \"1\"\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/product_images/{{productimageid}}","description":"<p>Allows for changing the image position in the list</p>\n","urlObject":{"protocol":"https","path":["api","2.0","product_images","{{productimageid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"de0932df-0d53-d119-4654-037f6d42eae4"},{"name":"Get a single product_image data","id":"561a74a4-ae86-3c7d-19ef-f30d0db96581","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"position\": \"1\"\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/product_images/{{productimageid}}","description":"<p>Returns the metadata for a single product image with a given ID.\nThis method is useful for checking the status of an image after it was uploaded.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","product_images","{{productimageid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"561a74a4-ae86-3c7d-19ef-f30d0db96581"},{"name":"Delete a product_image","id":"8e35f28d-2a9a-6294-909a-92479191ef1c","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"position\": \"1\"\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/product_images/{{productimageid}}","description":"<p>Deletes the product_image with the requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","product_images","{{productimageid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e35f28d-2a9a-6294-909a-92479191ef1c"}],"id":"89e115d5-5c37-4d10-5a63-b2e27e63083f","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#product-images\">https://docs.vendhq.com/v0.9/reference#product-images</a></p>\n","event":[{"listen":"prerequest","script":{"id":"a316f6c1-22f0-4ee8-a622-d2078a5b99cb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d9306bb4-0f67-41ad-8a01-e0bb3599fb49","type":"text/javascript","exec":[""]}}],"_postman_id":"89e115d5-5c37-4d10-5a63-b2e27e63083f"},{"name":"Product Tags","item":[{"name":"List tags","id":"537c2bfa-2629-d6c1-ad84-4abd93c0678b","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/tags","description":"<p>Returns a paginated list of product types.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","tags"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"537c2bfa-2629-d6c1-ad84-4abd93c0678b"},{"name":"Get a single tag","id":"fe80f8d7-1b5f-ea98-bb6e-fddba9921405","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/tags/{{tagid}}","description":"<p>Returns a single product type with a given ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","tags","{{tagid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe80f8d7-1b5f-ea98-bb6e-fddba9921405"}],"id":"8a2a9348-f4b0-3e38-c426-f709a0d8184c","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#tags\">https://docs.vendhq.com/v0.9/reference#tags</a></p>\n","event":[{"listen":"prerequest","script":{"id":"f77cb767-51dd-4dc2-8379-3f966bd58a1f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dcfdd4ea-dc70-4a5e-8200-9a072ea3b2f7","type":"text/javascript","exec":[""]}}],"_postman_id":"8a2a9348-f4b0-3e38-c426-f709a0d8184c"},{"name":"Product Types","item":[{"name":"List types","id":"0d4118e6-4caf-0099-cfb0-6173f0ea0f6f","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/product_types","description":"<p>Returns a paginated list of product types.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","product_types"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d4118e6-4caf-0099-cfb0-6173f0ea0f6f"},{"name":"Get a single type","id":"9667a0c7-09f6-bca5-0c16-651346febcac","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/product_types/{{typeid}}","description":"<p>Returns a single product type with a given ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","product_types","{{typeid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9667a0c7-09f6-bca5-0c16-651346febcac"}],"id":"90f645df-6f44-56fb-70d4-09193b855956","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#product-types\">https://docs.vendhq.com/v0.9/reference#product-types</a></p>\n","event":[{"listen":"prerequest","script":{"id":"bbb002c8-0a60-4c0e-8d8e-a0458dc7e47c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"00cd1244-ee2b-4796-a642-5ba823f6f3b3","type":"text/javascript","exec":[""]}}],"_postman_id":"90f645df-6f44-56fb-70d4-09193b855956"},{"name":"Products","item":[{"name":"Delete Product","id":"6e2712ce-da9d-a2ff-bb02-d7c57297ada5","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/products/{{productid}}","description":"<p>Deleted a product by ID.</p>\n","urlObject":{"protocol":"https","path":["api","products","{{productid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e2712ce-da9d-a2ff-bb02-d7c57297ada5"},{"name":"List Products","id":"e9c524e3-a191-335c-e279-bf5003fc4250","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/products","description":"<p>Returns a paginated list of products.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","products"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9c524e3-a191-335c-e279-bf5003fc4250"},{"name":"List Variant Attributes","id":"4ced3905-199c-4073-baae-4994eef88d6e","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/variant_attributes","description":"<p>Returns a paginated list of products.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","variant_attributes"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ced3905-199c-4073-baae-4994eef88d6e"},{"name":"Create or update a product","id":"5ee70c6b-6201-84c8-5df0-b671adeb20ff","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t        \"id\": \"0afa8de1-1441-11e8-edec-598df956ff8f\",\n  \"name\": \"_nogstname2\",\n  \"handle\": \"nogsthandle2\",\n  \"sku\": \"nogstsku2\",\n  \"retail_price\": 100.0,\n  \"tax_id\": \"0624dbcd-ef95-11e6-e986-ecd5a644349b\",\n  \"tag_ids\": []\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/products","description":"<p>Returns a single new or updated product object.</p>\n","urlObject":{"protocol":"https","path":["api","products"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ee70c6b-6201-84c8-5df0-b671adeb20ff"},{"name":"Get a Single Products","id":"35544f68-ce68-34bc-c39a-3aecf1b46c56","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/products/{{productid}}","description":"<p>Returns a single product object with a given ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","products","{{productid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"35544f68-ce68-34bc-c39a-3aecf1b46c56"}],"id":"567b04c5-5bb3-b336-409f-58b456fe975d","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#products-2\">https://docs.vendhq.com/v0.9/reference#products-2</a></p>\n","event":[{"listen":"prerequest","script":{"id":"a7c6d086-8601-4385-b09e-3055da2fa54b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8a0c36d4-3a80-4e76-a480-6b8215aadf56","type":"text/javascript","exec":[""]}}],"_postman_id":"567b04c5-5bb3-b336-409f-58b456fe975d"},{"name":"Registers","item":[{"name":"List registers","id":"3511f24f-554d-a3c5-f962-e8ce9297d7db","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/registers","description":"<p>Returns a paginated list of registers.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","registers"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3511f24f-554d-a3c5-f962-e8ce9297d7db"},{"name":"Get a single register","id":"56274fdf-bc86-f309-9b0c-6b6e61642884","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/registers/{{registerid}}","description":"<p>Returns a single register with the requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","registers","{{registerid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"56274fdf-bc86-f309-9b0c-6b6e61642884"}],"id":"daf74591-57d7-2e22-d9ed-49006c1cd9cb","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#registers\">https://docs.vendhq.com/v0.9/reference#registers</a></p>\n","event":[{"listen":"prerequest","script":{"id":"e5d64dcf-dfb0-4c01-a24e-41291a066cbd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2cb17298-c0eb-4458-bc39-44c3d47f5214","type":"text/javascript","exec":[""]}}],"_postman_id":"daf74591-57d7-2e22-d9ed-49006c1cd9cb"},{"name":"Register Closures","item":[{"name":"Get closure payment summary","id":"472db9a0-1822-4eed-bb5e-f3ae985a5851","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/registers/{{registerid}}/payments_summary","description":"<p>Returns a paginated list of registers.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","registers","{{registerid}}","payments_summary"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"472db9a0-1822-4eed-bb5e-f3ae985a5851"},{"name":"Close the Register","id":"fb5a957b-e615-4d2d-9345-267c7759fb0f","request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"payments\": [{\n        \"payment_type_id\": \"b1e1d70e-f019-11e3-a0f5-b8ca3a64f8f4\",\n        \"total\": \"25.30\"\n    }, {\n        \"payment_type_id\": \"0adaafb3-6583-11e5-fb60-fd093076e9d3\",\n        \"total\": \"0.00\"\n    }, {\n        \"payment_type_id\": \"b1e231c1-f019-11e3-a0f5-b8ca3a64f8f4\",\n        \"total\": \"0\"\n    }, {\n        \"payment_type_id\": \"b8ca3a65-0183-11e4-fbb5-4e632edc2cd8\",\n        \"total\": \"0\"\n    }, {\n        \"payment_type_id\": \"cbd497b8-0022-11e4-a0f5-b8ca3a64f8f4\",\n        \"total\": \"0\"\n    }, {\n        \"payment_type_id\": \"dc85058a-a683-11e5-e112-51cc5a8ffc96\",\n        \"total\": \"0.00\"\n    }, {\n        \"payment_type_id\": \"dc85058a-a683-11e5-ef46-0b1f0d167dea\",\n        \"total\": \"0\"\n    }]\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/registers/{{registerid}}/actions/close","urlObject":{"protocol":"https","path":["api","2.0","registers","{{registerid}}","actions","close"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb5a957b-e615-4d2d-9345-267c7759fb0f"}],"id":"8ad7a7df-4885-46be-90eb-d0e96c9b6fce","description":"<p><a href=\"https://docs.vendhq.com/docs/closing-the-register\">https://docs.vendhq.com/docs/closing-the-register</a></p>\n","event":[{"listen":"prerequest","script":{"id":"01a62193-174a-422e-afe0-e961e84f7305","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bdcf4b90-f265-4394-8ab1-b5b23ea43811","type":"text/javascript","exec":[""]}}],"_postman_id":"8ad7a7df-4885-46be-90eb-d0e96c9b6fce"},{"name":"Sales","item":[{"name":"Update Sale","id":"abbf236b-d47b-a840-7ff7-79073abb835a","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"    {\n      \"id\": \"edf73c5e-a3e1-bfe7-11e7-da388bd414ae\",\n      \"source\": \"USER\",\n      \"source_id\": \"\",\n      \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n      \"market_id\": \"1\",\n      \"customer_id\": \"0624dbcd-ef95-11e6-e986-ecd5a6420648\",\n      \"customer_name\": \"\",\n      \"customer\": {\n        \"id\": \"0624dbcd-ef95-11e6-e986-ecd5a6420648\",\n        \"name\": \"\",\n        \"customer_code\": \"WALKIN\",\n        \"customer_group_id\": \"0624dbcd-ef95-11e6-e986-ecd5a641a9d9\",\n        \"customer_group_name\": \"All Customers\",\n        \"enable_loyalty\": 0,\n        \"loyalty_balance\": \"0\",\n        \"updated_at\": \"2017-02-07 01:35:04\",\n        \"deleted_at\": \"\",\n        \"balance\": \"0\",\n        \"year_to_date\": \"0\",\n        \"date_of_birth\": \"\",\n        \"sex\": \"\",\n        \"custom_field_1\": \"\",\n        \"custom_field_2\": \"\",\n        \"custom_field_3\": \"\",\n        \"custom_field_4\": \"\",\n        \"note\": \"\",\n        \"contact\": {\n          \n        }\n      },\n      \"user_id\": \"0624dbcd-ef95-11e6-e986-ecd5a6503836\",\n      \"user_name\": \"jack@vendhq.com\",\n      \"sale_date\": \"2017-12-06 03:52:16\",\n      \"created_at\": \"2017-12-06 03:52:18\",\n      \"updated_at\": \"2017-12-06 03:52:18\",\n      \"total_price\": 63.48,\n      \"total_cost\": 18.96943,\n      \"total_tax\": 9.52,\n      \"tax_name\": \"GST\",\n      \"note\": \"\",\n      \"status\": \"CLOSED\",\n      \"short_code\": \"gbs2hv\",\n      \"invoice_number\": \"401\",\n      \"accounts_transaction_id\": \"\",\n      \"return_for\": \"\",\n      \"register_sale_products\": [\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d4ff28f1\",\n          \"product_id\": \"0624dbcd-ef13-11e6-e986-ee7c6d0f6301\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"sequence\": \"0\",\n          \"handle\": \"winstonset\",\n          \"sku\": \"10099\",\n          \"name\": \"Winston Set FULL\",\n          \"quantity\": 1,\n          \"price\": 56.52174,\n          \"cost\": 3.4,\n          \"price_set\": 0,\n          \"discount\": 0,\n          \"loyalty_value\": 65,\n          \"tax\": 8.47826,\n          \"tax_id\": \"0624dbcd-ef95-11e6-e986-ecd5a645338e\",\n          \"tax_name\": \"GST\",\n          \"tax_rate\": 0.15,\n          \"tax_total\": 8.47826,\n          \"price_total\": 56.52174,\n          \"display_retail_price_tax_inclusive\": \"1\",\n          \"status\": \"CONFIRMED\",\n          \"attributes\": [\n            {\n              \"name\": \"line_note\",\n              \"value\": \"\"\n            }\n          ]\n        },\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d54384f4\",\n          \"product_id\": \"0624dbcd-ef13-11e6-e986-fcc1c366e772\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"sequence\": \"1\",\n          \"handle\": \"postshavebalm\",\n          \"sku\": \"10107\",\n          \"name\": \"Post Shave Balm\",\n          \"quantity\": 1,\n          \"price\": 6.95652,\n          \"cost\": 15.56943,\n          \"price_set\": 0,\n          \"discount\": 0,\n          \"loyalty_value\": 8,\n          \"tax\": 1.04348,\n          \"tax_id\": \"0624dbcd-ef95-11e6-e986-ecd5a645338e\",\n          \"tax_name\": \"GST\",\n          \"tax_rate\": 0.15,\n          \"tax_total\": 1.04348,\n          \"price_total\": 6.95652,\n          \"display_retail_price_tax_inclusive\": \"1\",\n          \"status\": \"CONFIRMED\",\n          \"attributes\": [\n            {\n              \"name\": \"line_note\",\n              \"value\": \"\"\n            }\n          ]\n        }\n      ],\n      \"totals\": {\n        \"total_tax\": 9.52,\n        \"total_price\": 63.48,\n        \"total_payment\": 73,\n        \"total_to_pay\": 0\n      },\n      \"register_sale_payments\": [\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d905e427\",\n          \"payment_type_id\": \"1\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"retailer_payment_type_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64f97d5\",\n          \"name\": \"Cash\",\n          \"label\": \"Cash\",\n          \"payment_date\": \"2017-12-06 03:52:15\",\n          \"amount\": 50\n        },\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d97f32d8\",\n          \"payment_type_id\": \"3\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"retailer_payment_type_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64fe78e\",\n          \"name\": \"Credit Card\",\n          \"label\": \"EFTPOS\",\n          \"payment_date\": \"2017-12-06 03:52:16\",\n          \"amount\": 23\n        }\n      ],\n      \"taxes\": [\n        {\n          \"id\": \"a64cab6b-ecd5-11e6-8986-0624dbcdef95\",\n          \"tax\": 9.52174,\n          \"name\": \"GST\",\n          \"rate\": 0.15\n        }\n      ]\n    }"},"url":"https://{{domainprefix}}.vendhq.com/api/register_sales","description":"<p>Returns a single new or updated product object.</p>\n","urlObject":{"protocol":"https","path":["api","register_sales"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"abbf236b-d47b-a840-7ff7-79073abb835a"},{"name":"Get a single sale","id":"1af4c501-4b75-44ae-1836-8366d0894105","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"    {\n      \"id\": \"edf73c5e-a3e1-bfe7-11e7-da388bd414ae\",\n      \"source\": \"USER\",\n      \"source_id\": \"\",\n      \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n      \"market_id\": \"1\",\n      \"customer_id\": \"0624dbcd-ef95-11e6-e986-ecd5a6420648\",\n      \"customer_name\": \"\",\n      \"customer\": {\n        \"id\": \"0624dbcd-ef95-11e6-e986-ecd5a6420648\",\n        \"name\": \"\",\n        \"customer_code\": \"WALKIN\",\n        \"customer_group_id\": \"0624dbcd-ef95-11e6-e986-ecd5a641a9d9\",\n        \"customer_group_name\": \"All Customers\",\n        \"enable_loyalty\": 0,\n        \"loyalty_balance\": \"0\",\n        \"updated_at\": \"2017-02-07 01:35:04\",\n        \"deleted_at\": \"\",\n        \"balance\": \"0\",\n        \"year_to_date\": \"0\",\n        \"date_of_birth\": \"\",\n        \"sex\": \"\",\n        \"custom_field_1\": \"\",\n        \"custom_field_2\": \"\",\n        \"custom_field_3\": \"\",\n        \"custom_field_4\": \"\",\n        \"note\": \"\",\n        \"contact\": {\n          \n        }\n      },\n      \"user_id\": \"0624dbcd-ef95-11e6-e986-ecd5a6503836\",\n      \"user_name\": \"jack@vendhq.com\",\n      \"sale_date\": \"2017-12-06 03:52:16\",\n      \"created_at\": \"2017-12-06 03:52:18\",\n      \"updated_at\": \"2017-12-06 03:52:18\",\n      \"total_price\": 63.48,\n      \"total_cost\": 18.96943,\n      \"total_tax\": 9.52,\n      \"tax_name\": \"GST\",\n      \"note\": \"\",\n      \"status\": \"CLOSED\",\n      \"short_code\": \"gbs2hv\",\n      \"invoice_number\": \"401\",\n      \"accounts_transaction_id\": \"\",\n      \"return_for\": \"\",\n      \"register_sale_products\": [\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d4ff28f1\",\n          \"product_id\": \"0624dbcd-ef13-11e6-e986-ee7c6d0f6301\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"sequence\": \"0\",\n          \"handle\": \"winstonset\",\n          \"sku\": \"10099\",\n          \"name\": \"Winston Set FULL\",\n          \"quantity\": 1,\n          \"price\": 56.52174,\n          \"cost\": 3.4,\n          \"price_set\": 0,\n          \"discount\": 0,\n          \"loyalty_value\": 65,\n          \"tax\": 8.47826,\n          \"tax_id\": \"0624dbcd-ef95-11e6-e986-ecd5a645338e\",\n          \"tax_name\": \"GST\",\n          \"tax_rate\": 0.15,\n          \"tax_total\": 8.47826,\n          \"price_total\": 56.52174,\n          \"display_retail_price_tax_inclusive\": \"1\",\n          \"status\": \"CONFIRMED\",\n          \"attributes\": [\n            {\n              \"name\": \"line_note\",\n              \"value\": \"\"\n            }\n          ]\n        },\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d54384f4\",\n          \"product_id\": \"0624dbcd-ef13-11e6-e986-fcc1c366e772\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"sequence\": \"1\",\n          \"handle\": \"postshavebalm\",\n          \"sku\": \"10107\",\n          \"name\": \"Post Shave Balm\",\n          \"quantity\": 1,\n          \"price\": 6.95652,\n          \"cost\": 15.56943,\n          \"price_set\": 0,\n          \"discount\": 0,\n          \"loyalty_value\": 8,\n          \"tax\": 1.04348,\n          \"tax_id\": \"0624dbcd-ef95-11e6-e986-ecd5a645338e\",\n          \"tax_name\": \"GST\",\n          \"tax_rate\": 0.15,\n          \"tax_total\": 1.04348,\n          \"price_total\": 6.95652,\n          \"display_retail_price_tax_inclusive\": \"1\",\n          \"status\": \"CONFIRMED\",\n          \"attributes\": [\n            {\n              \"name\": \"line_note\",\n              \"value\": \"\"\n            }\n          ]\n        }\n      ],\n      \"totals\": {\n        \"total_tax\": 9.52,\n        \"total_price\": 63.48,\n        \"total_payment\": 73,\n        \"total_to_pay\": 0\n      },\n      \"register_sale_payments\": [\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d905e427\",\n          \"payment_type_id\": \"1\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"retailer_payment_type_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64f97d5\",\n          \"name\": \"Cash\",\n          \"label\": \"Cash\",\n          \"payment_date\": \"2017-12-06 03:52:15\",\n          \"amount\": 50\n        },\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d97f32d8\",\n          \"payment_type_id\": \"3\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"retailer_payment_type_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64fe78e\",\n          \"name\": \"Credit Card\",\n          \"label\": \"EFTPOS\",\n          \"payment_date\": \"2017-12-06 03:52:16\",\n          \"amount\": 23\n        }\n      ],\n      \"taxes\": [\n        {\n          \"id\": \"a64cab6b-ecd5-11e6-8986-0624dbcdef95\",\n          \"tax\": 9.52174,\n          \"name\": \"GST\",\n          \"rate\": 0.15\n        }\n      ]\n    }"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/sales/{{saleid}}","description":"<p>Returns a single sale with a given ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","sales","{{saleid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1af4c501-4b75-44ae-1836-8366d0894105"},{"name":"List Sales","id":"2d09c8b7-9c78-019b-347d-f5981bfd8530","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"    {\n      \"id\": \"edf73c5e-a3e1-bfe7-11e7-da388bd414ae\",\n      \"source\": \"USER\",\n      \"source_id\": \"\",\n      \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n      \"market_id\": \"1\",\n      \"customer_id\": \"0624dbcd-ef95-11e6-e986-ecd5a6420648\",\n      \"customer_name\": \"\",\n      \"customer\": {\n        \"id\": \"0624dbcd-ef95-11e6-e986-ecd5a6420648\",\n        \"name\": \"\",\n        \"customer_code\": \"WALKIN\",\n        \"customer_group_id\": \"0624dbcd-ef95-11e6-e986-ecd5a641a9d9\",\n        \"customer_group_name\": \"All Customers\",\n        \"enable_loyalty\": 0,\n        \"loyalty_balance\": \"0\",\n        \"updated_at\": \"2017-02-07 01:35:04\",\n        \"deleted_at\": \"\",\n        \"balance\": \"0\",\n        \"year_to_date\": \"0\",\n        \"date_of_birth\": \"\",\n        \"sex\": \"\",\n        \"custom_field_1\": \"\",\n        \"custom_field_2\": \"\",\n        \"custom_field_3\": \"\",\n        \"custom_field_4\": \"\",\n        \"note\": \"\",\n        \"contact\": {\n          \n        }\n      },\n      \"user_id\": \"0624dbcd-ef95-11e6-e986-ecd5a6503836\",\n      \"user_name\": \"jack@vendhq.com\",\n      \"sale_date\": \"2017-12-06 03:52:16\",\n      \"created_at\": \"2017-12-06 03:52:18\",\n      \"updated_at\": \"2017-12-06 03:52:18\",\n      \"total_price\": 63.48,\n      \"total_cost\": 18.96943,\n      \"total_tax\": 9.52,\n      \"tax_name\": \"GST\",\n      \"note\": \"\",\n      \"status\": \"CLOSED\",\n      \"short_code\": \"gbs2hv\",\n      \"invoice_number\": \"401\",\n      \"accounts_transaction_id\": \"\",\n      \"return_for\": \"\",\n      \"register_sale_products\": [\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d4ff28f1\",\n          \"product_id\": \"0624dbcd-ef13-11e6-e986-ee7c6d0f6301\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"sequence\": \"0\",\n          \"handle\": \"winstonset\",\n          \"sku\": \"10099\",\n          \"name\": \"Winston Set FULL\",\n          \"quantity\": 1,\n          \"price\": 56.52174,\n          \"cost\": 3.4,\n          \"price_set\": 0,\n          \"discount\": 0,\n          \"loyalty_value\": 65,\n          \"tax\": 8.47826,\n          \"tax_id\": \"0624dbcd-ef95-11e6-e986-ecd5a645338e\",\n          \"tax_name\": \"GST\",\n          \"tax_rate\": 0.15,\n          \"tax_total\": 8.47826,\n          \"price_total\": 56.52174,\n          \"display_retail_price_tax_inclusive\": \"1\",\n          \"status\": \"CONFIRMED\",\n          \"attributes\": [\n            {\n              \"name\": \"line_note\",\n              \"value\": \"\"\n            }\n          ]\n        },\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d54384f4\",\n          \"product_id\": \"0624dbcd-ef13-11e6-e986-fcc1c366e772\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"sequence\": \"1\",\n          \"handle\": \"postshavebalm\",\n          \"sku\": \"10107\",\n          \"name\": \"Post Shave Balm\",\n          \"quantity\": 1,\n          \"price\": 6.95652,\n          \"cost\": 15.56943,\n          \"price_set\": 0,\n          \"discount\": 0,\n          \"loyalty_value\": 8,\n          \"tax\": 1.04348,\n          \"tax_id\": \"0624dbcd-ef95-11e6-e986-ecd5a645338e\",\n          \"tax_name\": \"GST\",\n          \"tax_rate\": 0.15,\n          \"tax_total\": 1.04348,\n          \"price_total\": 6.95652,\n          \"display_retail_price_tax_inclusive\": \"1\",\n          \"status\": \"CONFIRMED\",\n          \"attributes\": [\n            {\n              \"name\": \"line_note\",\n              \"value\": \"\"\n            }\n          ]\n        }\n      ],\n      \"totals\": {\n        \"total_tax\": 9.52,\n        \"total_price\": 63.48,\n        \"total_payment\": 73,\n        \"total_to_pay\": 0\n      },\n      \"register_sale_payments\": [\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d905e427\",\n          \"payment_type_id\": \"1\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"retailer_payment_type_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64f97d5\",\n          \"name\": \"Cash\",\n          \"label\": \"Cash\",\n          \"payment_date\": \"2017-12-06 03:52:15\",\n          \"amount\": 50\n        },\n        {\n          \"id\": \"edf73c5e-a3e1-bfe7-11e7-da38d97f32d8\",\n          \"payment_type_id\": \"3\",\n          \"register_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64ee59b\",\n          \"retailer_payment_type_id\": \"0624dbcd-ef95-11e6-e986-ecd5a64fe78e\",\n          \"name\": \"Credit Card\",\n          \"label\": \"EFTPOS\",\n          \"payment_date\": \"2017-12-06 03:52:16\",\n          \"amount\": 23\n        }\n      ],\n      \"taxes\": [\n        {\n          \"id\": \"a64cab6b-ecd5-11e6-8986-0624dbcdef95\",\n          \"tax\": 9.52174,\n          \"name\": \"GST\",\n          \"rate\": 0.15\n        }\n      ]\n    }"},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/sales","description":"<p>Returns a paginated list of sales.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","sales"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d09c8b7-9c78-019b-347d-f5981bfd8530"}],"id":"56cbc348-fba5-74d2-808f-c83a072a6f37","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#sales\">https://docs.vendhq.com/v0.9/reference#sales</a></p>\n","event":[{"listen":"prerequest","script":{"id":"932fd8e0-d473-4d98-97c2-1e0c59557914","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e3613f2d-892c-40f6-aed3-7f36fa84ed31","type":"text/javascript","exec":[""]}}],"_postman_id":"56cbc348-fba5-74d2-808f-c83a072a6f37"},{"name":"Setup","item":[{"name":"Retailer Settings","id":"cf042455-a4db-2f51-de21-3a665eb5ce3e","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/retailer","urlObject":{"protocol":"https","path":["api","2.0","retailer"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf042455-a4db-2f51-de21-3a665eb5ce3e"}],"id":"d5fc17ac-8f43-8e43-3243-d8504ed37fb5","_postman_id":"d5fc17ac-8f43-8e43-3243-d8504ed37fb5","description":""},{"name":"Suppliers","item":[{"name":"List suppliers","id":"15f1cd48-6591-8752-b2ff-99f36851f495","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/suppliers","description":"<p>Returns a paginated list of suppliers.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","suppliers"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"15f1cd48-6591-8752-b2ff-99f36851f495"},{"name":"Create or update a supplier","id":"63d7180e-8f76-ad4c-a588-5d41f8e9982f","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n        \"name\": \"Charlie\",\n        \"description\": \"description\",\n        \"source\": null,\n        \"contact\": {\n                \"first_name\": \"Charles\",\n                \"last_name\": \"Charlie\",\n                \"company_name\": \"\",\n                \"phone\": \"\",\n                \"mobile\": \"\",\n                \"fax\": \"\",\n                \"email\": \"\",\n                \"twitter\": \"\",\n                \"website\": \"\",\n                \"physical_address1\": \"\",\n                \"physical_address2\": \"\",\n                \"physical_suburb\": \"\",\n                \"physical_city\": \"\",\n                \"physical_postcode\": \"\",\n                \"physical_state\": \"\",\n                \"physical_country_id\": \"\",\n                \"postal_address1\": \"\",\n                \"postal_address2\": \"\",\n                \"postal_suburb\": \"\",\n                \"postal_city\": \"\",\n                \"postal_postcode\": \"\",\n                \"postal_state\": \"\",\n                \"postal_country_id\": \"\"\n        }\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/supplier","description":"<p>Returns a single supplier object.</p>\n","urlObject":{"protocol":"https","path":["api","supplier"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"63d7180e-8f76-ad4c-a588-5d41f8e9982f"},{"name":"Get a single supplier","id":"290c8e34-3c67-a358-c4c8-3aca9af3517c","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/suppliers/{{supplierid}}","description":"<p>Returns a single supplier with a given ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","suppliers","{{supplierid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"290c8e34-3c67-a358-c4c8-3aca9af3517c"},{"name":"Delete a supplier","id":"8e5a837b-8b26-d43d-ca07-4381a5522805","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/suppliers/{{supplierid}}","description":"<p>Deletes a single supplier by ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","suppliers","{{supplierid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e5a837b-8b26-d43d-ca07-4381a5522805"}],"id":"926467cf-565f-371a-0634-302d54d158e7","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#suppliers-2\">https://docs.vendhq.com/v0.9/reference#suppliers-2</a></p>\n","event":[{"listen":"prerequest","script":{"id":"fb706d20-149b-4d0b-84ba-30d7596e00ea","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"39db27c9-72aa-4697-89c9-9efbdddb2c1d","type":"text/javascript","exec":[""]}}],"_postman_id":"926467cf-565f-371a-0634-302d54d158e7"},{"name":"Taxes","item":[{"name":"List taxes","id":"785d2175-0b92-c3f6-15bc-433bba0d4c8e","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/taxes","description":"<p>Returns a paginated list of taxes.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","taxes"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"785d2175-0b92-c3f6-15bc-433bba0d4c8e"},{"name":"Create a tax","id":"2a189be3-6fe4-d75e-8c9a-9af55bc6c574","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"GST\",\n  \"rate\": 0.15\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/taxes","description":"<p>Creates a new tax.</p>\n","urlObject":{"protocol":"https","path":["api","taxes"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a189be3-6fe4-d75e-8c9a-9af55bc6c574"},{"name":"Get a single tax by ID","id":"8a13786d-dc38-6596-6b87-0aa5c77f7762","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/taxes/{{taxid}}","description":"<p>Returns a single tax with the given ID.</p>\n","urlObject":{"protocol":"https","path":["api","taxes","{{taxid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a13786d-dc38-6596-6b87-0aa5c77f7762"}],"id":"cee77aed-4994-7e16-09cf-16905d494743","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#taxes\">https://docs.vendhq.com/v0.9/reference#taxes</a></p>\n","event":[{"listen":"prerequest","script":{"id":"718d1c5f-ee61-4edd-aad8-315af1589297","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"613210d9-1c2a-4702-8426-4f280a63cff8","type":"text/javascript","exec":[""]}}],"_postman_id":"cee77aed-4994-7e16-09cf-16905d494743"},{"name":"Users","item":[{"name":"List users","id":"b0376c4e-0feb-fcc7-f620-bb14b7037d88","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/users","description":"<p>Returns a paginated list of users.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","users"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0376c4e-0feb-fcc7-f620-bb14b7037d88"},{"name":"Get a single user","id":"1e6c4c74-cec0-25e1-4188-497033f2f223","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/2.0/users/{{userid}}","description":"<p>Returns a single user with the requested ID.</p>\n","urlObject":{"protocol":"https","path":["api","2.0","users","{{userid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e6c4c74-cec0-25e1-4188-497033f2f223"}],"id":"adfb8dcc-bfbb-8207-8976-0625aae6232a","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#users-2\">https://docs.vendhq.com/v0.9/reference#users-2</a></p>\n","event":[{"listen":"prerequest","script":{"id":"5c9a21f9-bbf9-4f6a-abea-2554b2d77327","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"76620dd3-067b-449b-b354-28986d46f6d7","type":"text/javascript","exec":[""]}}],"_postman_id":"adfb8dcc-bfbb-8207-8976-0625aae6232a"},{"name":"Webhooks","item":[{"name":"List Webhooks","id":"529319b0-c525-2011-dcd4-a28dc9973b03","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{domainprefix}}.vendhq.com/api/webhooks","description":"<p>Returns a list of webhooks. NOTE: This endpoint will only return webhooks created by the application which is making the request.</p>\n","urlObject":{"protocol":"https","path":["api","webhooks"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"529319b0-c525-2011-dcd4-a28dc9973b03"},{"name":"Get a single webhook","id":"e5ee813b-5bf1-7f17-f6d1-1184ac1a0fd9","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{domainprefix}}.vendhq.com/api/webhooks/{{webhookid}}","description":"<p>Returns a single webhooks with the given ID.</p>\n","urlObject":{"protocol":"https","path":["api","webhooks","{{webhookid}}"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5ee813b-5bf1-7f17-f6d1-1184ac1a0fd9"},{"name":"Create Webhook","id":"bc2b34e7-dc1b-bf5b-7c66-e4e3d72ad4a6","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"data","value":"{\"url\":\"https://placeholder.com\",\"active\":true,\"type\":\"product.update\"}\n\n","type":"text"}]},"url":"https://{{domainprefix}}.vendhq.com/api/webhooks","description":"<p>Creates and returns a new webhook.\nNOTE: The <code>Content-Type</code> header for this request should be set to <code>application/x-www-form-urlencoded</code>.</p>\n","urlObject":{"protocol":"https","path":["api","webhooks"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc2b34e7-dc1b-bf5b-7c66-e4e3d72ad4a6"},{"name":"Update Webhook","id":"107f793e-4844-c6ec-6024-578ef0b3b67e","request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"0af7b240-ab83-12e7-eddc-7311972c4cab\",\n  \"retailer_id\": \"b1c50056-f019-11e3-a0f5-b8ca3a64f8f4\",\n  \"user_id\": \"bc305bf4-6183-11e4-f15a-190c6647efc2\",\n  \"url\": \"https://\",\n  \"active\": true,\n  \"type\": \"product.update\"\n}"},"url":"https://{{domainprefix}}.vendhq.com/api/webhooks","description":"<p>Updates a webhook with the given id.\nNOTE: The <code>Content-Type</code> header for this request should be set to <code>application/x-www-form-urlencoded</code>.</p>\n","urlObject":{"protocol":"https","path":["api","webhooks"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"107f793e-4844-c6ec-6024-578ef0b3b67e"},{"name":"Delete Webhook","id":"44665f4b-972f-4784-3545-881fe0529c24","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domainprefix}}.vendhq.com/api/webhooks/webhookid","description":"<p>Deletes the webhook with the given ID.</p>\n","urlObject":{"protocol":"https","path":["api","webhooks","webhookid"],"host":["{{domainprefix}}","vendhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"44665f4b-972f-4784-3545-881fe0529c24"}],"id":"6a913187-3ee7-d58d-76a8-4ec18790a3a5","description":"<p><a href=\"https://docs.vendhq.com/v0.9/reference#webhooks-1\">https://docs.vendhq.com/v0.9/reference#webhooks-1</a></p>\n","event":[{"listen":"prerequest","script":{"id":"dc6fda73-9e80-4325-bc97-fadd0da8f52a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"73d7efd7-50b2-46db-8c73-ae7c94721802","type":"text/javascript","exec":[""]}}],"_postman_id":"6a913187-3ee7-d58d-76a8-4ec18790a3a5"}],"event":[{"listen":"prerequest","script":{"id":"951071f4-d7cc-43d7-8269-c17dd6c706f2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1b140724-5282-4c70-b466-c858a185f6ee","type":"text/javascript","exec":[""]}}]}