{"info":{"_postman_id":"8fd96a9a-32c5-4ced-88ea-e9dbd4ca9ef4","name":"CoManage API v1","description":"<html><head></head><body><p>Ready to start using our API? \nHead over to the <a href=\"#getting-started\">Getting Started</a> section.</p>\n<hr>\n<h1 id=\"getting-started\">Getting Started</h1>\n<p>To get started, you need the following things:</p>\n<ol>\n<li>An account - <a href=\"https://comanage.me/en/signup\">Sign up here</a></li>\n<li>An API token - <a href=\"#authentication\">More info</a></li>\n</ol>\n<p>Note: For some API calls you'll need a <a href=\"https://app.comanage.me/team/billing\">paid subscription</a>.</p>\n<hr>\n<h1 id=\"authentication\">Authentication</h1>\n<p>The CoManage API uses API keys to authenticate requests. You can view and manage your API keys in the <a href=\"https://app.comanage.me/settings/general/integrations\">CoManage settings</a>.</p>\n<p>Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.</p>\n<p>To make an authenticated API request, you must set your API key as a bearer token for the authentication header, like so: <code>\"Authorization: Bearer {your_api_key}\"</code></p>\n<p>All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting Started","slug":"getting-started"},{"content":"Authentication","slug":"authentication"}],"owner":"717748","collectionId":"8fd96a9a-32c5-4ced-88ea-e9dbd4ca9ef4","publishedId":"S17kyBEh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-03-25T11:30:41.000Z"},"item":[{"name":"Contacts","item":[{"name":"Businesses","item":[{"name":"List people in a business","id":"a930adfb-2a72-45b6-a9e0-eefe333b957e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/businesses/:number/people?limit=15&sort=number_desc","description":"<p>Get a paginated list of people that belong to the given business.</p>\n","urlObject":{"path":["businesses",":number","people"],"host":["{{api_url}}"],"query":[{"key":"limit","value":"15"},{"key":"sort","value":"number_desc"}],"variable":[{"description":{"content":"<p>The business' number.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"number"}]}},"response":[],"_postman_id":"a930adfb-2a72-45b6-a9e0-eefe333b957e"},{"name":"Add person to business","id":"6c8c8ff8-8112-4bfd-b5f6-62275b6cf24e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 1,\n\t\"job_title\": \"Regional Manager\"\n}"},"url":"{{api_url}}/businesses/:number/add-person","description":"<p>Add a person to a business.</p>\n","urlObject":{"path":["businesses",":number","add-person"],"host":["{{api_url}}"],"query":[],"variable":[{"description":{"content":"<p>The business' number.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"number"}]}},"response":[],"_postman_id":"6c8c8ff8-8112-4bfd-b5f6-62275b6cf24e"},{"name":"Create person for business","id":"5122df23-b6e9-42ec-9ff6-d268cec83581","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Dwight\",\n    \"last_name\": \"Schrute\",\n    \"email\": \"dwight@dundermifflin.com\",\n    \"job_title\": \"Assistant to the Regional Manager\"\n}"},"url":"{{api_url}}/businesses/:number/people","description":"<p>Create a new person for a business.</p>\n","urlObject":{"path":["businesses",":number","people"],"host":["{{api_url}}"],"query":[],"variable":[{"description":{"content":"<p>The business' number.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"number"}]}},"response":[],"_postman_id":"5122df23-b6e9-42ec-9ff6-d268cec83581"}],"id":"bcfcc6dc-0639-416c-baea-3a1114c29da9","_postman_id":"bcfcc6dc-0639-416c-baea-3a1114c29da9","description":""},{"name":"Customers","item":[{"name":"List customers","id":"4e9b396f-5d6c-4d59-b7fa-4cba6cd843b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/customers?limit=15","description":"<p>Get a list of paginated customers.</p>\n","urlObject":{"path":["customers"],"host":["{{api_url}}"],"query":[{"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"4e9b396f-5d6c-4d59-b7fa-4cba6cd843b9"},{"name":"Create a new customer","id":"17a6598c-9e69-4d17-b19f-d1ead4bf8407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"kind\": \"business\",\n\t\"name\": \"Evil Corp.\",\n\t\"business_type\": \"sme\",\n\t\"vat_number\": \"XX0123456789\",\n\t\"vat_type\": \"reverse\",\n\t\"email\": \"evil.corp@example.com\"\n}"},"url":"{{api_url}}/customers","description":"<p>Create a new customer.</p>\n","urlObject":{"path":["customers"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"17a6598c-9e69-4d17-b19f-d1ead4bf8407"}],"id":"266eb346-187b-490e-9d5e-e6a62a51f540","_postman_id":"266eb346-187b-490e-9d5e-e6a62a51f540","description":""},{"name":"Suppliers","item":[{"name":"List suppliers","id":"8b84a624-c764-4da8-a6a5-edfc3aa30648","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/suppliers?limit=15","description":"<p>Get a list of paginated suppliers.</p>\n","urlObject":{"path":["suppliers"],"host":["{{api_url}}"],"query":[{"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"8b84a624-c764-4da8-a6a5-edfc3aa30648"},{"name":"Create a new supplier","id":"f961a919-bf54-47e9-82e5-f98912949f5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"kind\": \"business\",\n\t\"name\": \"Evil Corp.\",\n\t\"business_type\": \"sme\",\n\t\"email\": \"evil.corp@example.com\"\n}"},"url":"{{api_url}}/suppliers","description":"<p>Create a new supplier.</p>\n","urlObject":{"path":["suppliers"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f961a919-bf54-47e9-82e5-f98912949f5e"}],"id":"e45172f7-428e-4ce2-b07f-b93480afae23","_postman_id":"e45172f7-428e-4ce2-b07f-b93480afae23","description":""},{"name":"Groups","item":[{"name":"List contact groups","id":"19ab804a-d88d-4702-a601-43f5d5127954","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/contact-groups?limit=15","description":"<p>Get a list of paginated groups.</p>\n","urlObject":{"path":["contact-groups"],"host":["{{api_url}}"],"query":[{"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"19ab804a-d88d-4702-a601-43f5d5127954"},{"name":"Create a new contact group","id":"3c6f3cfe-73d8-42e4-b0c7-73899f9ee375","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Some group\"\n}"},"url":"{{api_url}}/contact-groups","description":"<p>Create a new contact group.</p>\n","urlObject":{"path":["contact-groups"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c6f3cfe-73d8-42e4-b0c7-73899f9ee375"},{"name":"Retrieve a contact group","id":"88a6eee3-1613-4bcf-9abe-a22878b74800","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/contact-groups/{{contact_group_slug}}","description":"<p>Retrieve a contact group by its slug.</p>\n","urlObject":{"path":["contact-groups","{{contact_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"88a6eee3-1613-4bcf-9abe-a22878b74800"},{"name":"Update a contact group","id":"10c836de-5b7e-409c-9b53-2b98c44d93c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Some updated group description\",\n\t\"discount_active\": true,\n    \"discount_percentage\": 10\n}"},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}","description":"<p>Update an existing contact group.</p>\n","urlObject":{"path":["contact-groups","{{contact_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"10c836de-5b7e-409c-9b53-2b98c44d93c1"},{"name":"Add contact to group","id":"311e9200-de05-4ca4-9a26-24485973accc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 61\n}"},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}/contacts/add","description":"<p>Add a contact to a group.</p>\n","urlObject":{"path":["contact-groups","{{contact_group_slug}}","contacts","add"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"311e9200-de05-4ca4-9a26-24485973accc"},{"name":"Empty a contact group","id":"09fa5e0b-5076-4526-9556-a3f654820a89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}/empty","description":"<p>Empty a contact group.</p>\n","urlObject":{"path":["contact-groups","{{contact_group_slug}}","empty"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"09fa5e0b-5076-4526-9556-a3f654820a89"},{"name":"Delete a contact group","id":"6a577db7-a74f-4923-9a65-b95b24613579","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}","description":"<p>Delete a contact group.</p>\n","urlObject":{"path":["contact-groups","{{contact_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a577db7-a74f-4923-9a65-b95b24613579"}],"id":"df077cb5-b93f-4344-b656-5272a1b47734","_postman_id":"df077cb5-b93f-4344-b656-5272a1b47734","description":""},{"name":"List contacts","id":"4ec6aa29-8b48-48bc-972b-2fee86fc8562","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/contacts?limit=15&sort=number_desc","description":"<p>Get a list of paginated contacts.</p>\n","urlObject":{"path":["contacts"],"host":["{{api_url}}"],"query":[{"key":"limit","value":"15"},{"key":"sort","value":"number_desc"}],"variable":[]}},"response":[],"_postman_id":"4ec6aa29-8b48-48bc-972b-2fee86fc8562"},{"name":"Create a new contact","id":"af1c6757-164c-4988-94a2-0c7c15b02425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"kind\": \"person\",\n\t\"first_name\": \"John\",\n\t\"last_name\": \"Doe\",\n\t\"email\": \"john.doe@example.com\",\n\t\"extra_fields\": [\n\t\t{\n\t\t\t\"label\": \"some label\",\n\t\t\t\"value\": \"some value\"\n\t\t}\n\t],\n\t\"addresses\": [\n\t\t{\n\t\t\t\"type\": \"billing\",\n\t\t\t\"address_line_1\": \"Doe St. 123\",\n\t\t\t\"postcode\": \"11111\",\n\t\t\t\"city\": \"Doe City\",\n\t\t\t\"state\": \"DO\",\n\t\t\t\"country_code\": \"US\"\n\t\t}\n\t]\n}"},"url":"{{api_url}}/contacts","description":"<p>Create a new contact.</p>\n","urlObject":{"path":["contacts"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"af1c6757-164c-4988-94a2-0c7c15b02425"},{"name":"Retrieve a contact","id":"db546945-bd91-4c04-a929-6de6733a6765","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/contacts/{{contact_number}}","description":"<p>Retrieve a contact.</p>\n","urlObject":{"path":["contacts","{{contact_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"db546945-bd91-4c04-a929-6de6733a6765"},{"name":"Update a contact","id":"56438b76-d621-4ae4-952d-a9806b7e9094","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+320123456789\",\n\t\"addresses\": [\n\t\t{\n\t\t\t\"type\": \"delivery\",\n\t\t\t\"address_line_1\": \"Doe St. 123\",\n\t\t\t\"postcode\": \"11111\",\n\t\t\t\"city\": \"Doe City\",\n\t\t\t\"state\": \"DO\",\n\t\t\t\"country_code\": \"USA\"\n\t\t}\n\t]\n}"},"url":"{{api_url}}/contacts/{{contact_number}}","description":"<p>Update an existing contact.</p>\n","urlObject":{"path":["contacts","{{contact_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"56438b76-d621-4ae4-952d-a9806b7e9094"},{"name":"Trash a contact","id":"f3667b8f-2b3e-44b6-a2b8-64ebe71ef7a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contacts/{{contact_number}}/trash","description":"<p>Trash a contact.</p>\n","urlObject":{"path":["contacts","{{contact_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3667b8f-2b3e-44b6-a2b8-64ebe71ef7a9"},{"name":"Restore a contact","id":"628d63ea-4f77-4f83-9616-aad90216b9c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contacts/{{contact_number}}/restore","description":"<p>Restore a contact from the trash.</p>\n","urlObject":{"path":["contacts","{{contact_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"628d63ea-4f77-4f83-9616-aad90216b9c2"},{"name":"Delete a contact","id":"3e9cd8fe-8fc5-40f4-8738-2dfe616364cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contacts/{{contact_number}}","description":"<p>Delete a contact.</p>\n","urlObject":{"path":["contacts","{{contact_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e9cd8fe-8fc5-40f4-8738-2dfe616364cb"}],"id":"305dbbe5-f9c0-4aeb-b555-dba84fbf15c8","_postman_id":"305dbbe5-f9c0-4aeb-b555-dba84fbf15c8","description":""},{"name":"Products","item":[{"name":"Groups","item":[{"name":"List product groups","id":"69994247-c06a-4fb9-9303-dd94ca99e2ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/product-groups?limit=15","description":"<p>Get a list of paginated groups.</p>\n","urlObject":{"path":["product-groups"],"host":["{{api_url}}"],"query":[{"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"69994247-c06a-4fb9-9303-dd94ca99e2ef"},{"name":"Create a product group","id":"44c9db30-3ad9-46cb-8caa-cfe4f9783c0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Some group\",\n\t\"description\": \"Some group description\"\n}"},"url":"{{api_url}}/product-groups","description":"<p>Create a new product group.</p>\n","urlObject":{"path":["product-groups"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"44c9db30-3ad9-46cb-8caa-cfe4f9783c0e"},{"name":"Retrieve a product group","id":"75973809-86e1-44da-8c13-fce754c578ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/product-groups/{{product_group_slug}}","description":"<p>Retrieve a product group by its slug.</p>\n","urlObject":{"path":["product-groups","{{product_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"75973809-86e1-44da-8c13-fce754c578ad"},{"name":"Update a product group","id":"d4e665d4-c179-4d2c-8c50-dbd13a6571ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Some edited group description\"\n}"},"url":"{{api_url}}/product-groups/{{product_group_slug}}","description":"<p>Update an existing product group.</p>\n","urlObject":{"path":["product-groups","{{product_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4e665d4-c179-4d2c-8c50-dbd13a6571ac"},{"name":"Add a product to a group","id":"73e02194-e478-4943-a5c1-8648338a28b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 52\n}"},"url":"{{api_url}}/product-groups/{{product_group_slug}}/products/add","description":"<p>Add a product to a group.</p>\n","urlObject":{"path":["product-groups","{{product_group_slug}}","products","add"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"73e02194-e478-4943-a5c1-8648338a28b5"},{"name":"Empty a product group","id":"f2728df2-3f22-41d9-ab81-479f5a7f0fb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/product-groups/{{product_group_slug}}/empty","description":"<p>Empty a product group.</p>\n","urlObject":{"path":["product-groups","{{product_group_slug}}","empty"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2728df2-3f22-41d9-ab81-479f5a7f0fb8"},{"name":"Delete a product group","id":"3953f11f-00a6-4fd0-b4b3-44f2d92be212","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/product-groups/{{product_group_slug}}","description":"<p>Delete a product group.</p>\n","urlObject":{"path":["product-groups","{{product_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3953f11f-00a6-4fd0-b4b3-44f2d92be212"}],"id":"5de7c0ad-0963-4606-9144-522d11dd5953","_postman_id":"5de7c0ad-0963-4606-9144-522d11dd5953","description":""},{"name":"List products","id":"3d58ea86-fa13-4c08-821f-b18564ed5d6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/products?limit=15","description":"<p>Get a list of paginated products.</p>\n","urlObject":{"path":["products"],"host":["{{api_url}}"],"query":[{"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"3d58ea86-fa13-4c08-821f-b18564ed5d6d"},{"name":"Create a new product","id":"37a3c218-5100-4f7f-912a-86ec4aa23fe8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Product X\",\n\t\"sku\": \"PX01\",\n\t\"cost\": 9,\n\t\"price\": 10,\n\t\"currency\": \"usd\",\n\t\"vat_percentage\": 21,\n\t\"discount_percentage\": 10,\n\t\"discount_amount\": 1,\n    \"bulk_options\": [\n    \t{\n    \t\t\"quantity\": 10,\n    \t\t\"price\": 9\n    \t}\n    ]\n}"},"url":"{{api_url}}/products","description":"<p>Create a new product.</p>\n","urlObject":{"path":["products"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"37a3c218-5100-4f7f-912a-86ec4aa23fe8"},{"name":"Retrieve a product","id":"56c71836-f443-4bc5-868a-90ba1f8e91bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/products/{{product_number}}","description":"<p>Retrieve a product by its number.</p>\n","urlObject":{"path":["products","{{product_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"56c71836-f443-4bc5-868a-90ba1f8e91bc"},{"name":"Update a product","id":"1419ae88-e6a5-4540-b764-9e375cd4b388","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Product Z\",\n\t\"sku\": \"PZ0001\",\n\t\"cost\": 9,\n\t\"price\": 10,\n\t\"currency\": \"eur\",\n\t\"vat_percentage\": 21,\n\t\"discount_percentage\": 10,\n\t\"discount_amount\": 1,\n\t\"stock_enabled\": true,\n\t\"stock\": 100,\n\t\"stock_low\": 10,\n\t\"cost_quantity\": 100,\n    \"cost_total\": 900,\n    \"invoiced_quantity\": 10,\n    \"invoiced_total\": 100,\n    \"bulk_options\": [\n    \t{\n    \t\t\"quantity\": 20,\n    \t\t\"price\": 9\n    \t}\n    ]\n}"},"url":"{{api_url}}/products/{{product_number}}","description":"<p>Update an existing product.</p>\n","urlObject":{"path":["products","{{product_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1419ae88-e6a5-4540-b764-9e375cd4b388"},{"name":"Trash a product","id":"8cdae490-edf6-4dea-b49b-3525e67d5705","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/products/{{product_number}}/trash","description":"<p>Trash a product.</p>\n","urlObject":{"path":["products","{{product_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8cdae490-edf6-4dea-b49b-3525e67d5705"},{"name":"Restore a product","id":"bf08b748-fb4a-4dd7-9b70-72f91a010dd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/products/{{product_number}}/restore","description":"<p>Restore a product from the trash.</p>\n","urlObject":{"path":["products","{{product_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf08b748-fb4a-4dd7-9b70-72f91a010dd5"},{"name":"Delete a product","id":"adfd1f5c-944c-4d8e-af55-b6186d7b3aaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/products/{{product_number}}","description":"<p>Delete a product.</p>\n","urlObject":{"path":["products","{{product_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"adfd1f5c-944c-4d8e-af55-b6186d7b3aaa"}],"id":"72115139-ceab-4e9c-a2f2-530825898d02","_postman_id":"72115139-ceab-4e9c-a2f2-530825898d02","description":""},{"name":"Services","item":[{"name":"Groups","item":[{"name":"List service groups","id":"8c600f77-b1fc-4467-8a75-3e15f3304218","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/service-groups?limit=15&sort=name","description":"<p>Get a list of paginated groups.</p>\n","urlObject":{"path":["service-groups"],"host":["{{api_url}}"],"query":[{"key":"limit","value":"15"},{"key":"sort","value":"name"}],"variable":[]}},"response":[],"_postman_id":"8c600f77-b1fc-4467-8a75-3e15f3304218"},{"name":"Create a new service group","id":"012990e0-eaec-4ec3-8f7f-651b4aa18e36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Some group\",\n\t\"description\": \"Some group description\"\n}"},"url":"{{api_url}}/service-groups","description":"<p>Create a new service group.</p>\n","urlObject":{"path":["service-groups"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"012990e0-eaec-4ec3-8f7f-651b4aa18e36"},{"name":"Retrieve a service group","id":"26bad0b3-2584-4636-8be9-d698d75f350d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/service-groups/{{service_group_slug}}","description":"<p>Retrieve a service group by its slug.</p>\n","urlObject":{"path":["service-groups","{{service_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"26bad0b3-2584-4636-8be9-d698d75f350d"},{"name":"Update a service group","id":"9231bdf0-07f9-4e71-a4fe-cbeca40cf613","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Some edited group description\"\n}"},"url":"{{api_url}}/service-groups/{{service_group_slug}}","description":"<p>Update an existing service group.</p>\n","urlObject":{"path":["service-groups","{{service_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9231bdf0-07f9-4e71-a4fe-cbeca40cf613"},{"name":"Add a service to a group","id":"1908d851-480a-4452-b8b9-de59b0854c18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 15\n}"},"url":"{{api_url}}/service-groups/{{service_group_slug}}/services/add","description":"<p>Add a service to a group.</p>\n","urlObject":{"path":["service-groups","{{service_group_slug}}","services","add"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1908d851-480a-4452-b8b9-de59b0854c18"},{"name":"Empty a service group","id":"e8765dce-cc2a-47ac-9b9c-7a0dc75d7aea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/service-groups/{{service_group_slug}}/empty","description":"<p>Empty a service group.</p>\n","urlObject":{"path":["service-groups","{{service_group_slug}}","empty"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8765dce-cc2a-47ac-9b9c-7a0dc75d7aea"},{"name":"Delete a service group","id":"72c66c52-f078-4677-b448-9bdc4967d57a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/service-groups/{{service_group_slug}}","description":"<p>Delete a service group.</p>\n","urlObject":{"path":["service-groups","{{service_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"72c66c52-f078-4677-b448-9bdc4967d57a"}],"id":"603c49f0-5842-4083-9134-2aeddbf24a39","_postman_id":"603c49f0-5842-4083-9134-2aeddbf24a39","description":""},{"name":"List services","id":"23c7f49a-4174-4cf7-896f-3655167b4ff1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/services?limit=15","description":"<p>Get a list of paginated services.</p>\n","urlObject":{"path":["services"],"host":["{{api_url}}"],"query":[{"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"23c7f49a-4174-4cf7-896f-3655167b4ff1"},{"name":"Create a new service","id":"386167aa-cacb-414a-a523-58a7fdf275cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Service XXX\",\n\t\"sku\": \"SX01\",\n\t\"cost\": 9,\n\t\"price\": 10,\n\t\"currency\": \"usd\",\n\t\"vat_percentage\": 21,\n\t\"discount_percentage\": 10,\n\t\"discount_amount\": 1,\n    \"bulk_options\": [\n    \t{\n    \t\t\"quantity\": 10,\n    \t\t\"price\": 9\n    \t}\n    ]\n}"},"url":"{{api_url}}/services","description":"<p>Create a new service.</p>\n","urlObject":{"path":["services"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"386167aa-cacb-414a-a523-58a7fdf275cd"},{"name":"Retrieve a service","id":"3bca3aa5-eac2-4756-9d18-c6ece19b04f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/services/{{service_number}}","description":"<p>Retrieve a service by its number.</p>\n","urlObject":{"path":["services","{{service_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3bca3aa5-eac2-4756-9d18-c6ece19b04f7"},{"name":"Update a service","id":"dddb4991-cecd-4ae3-9bc5-e77a1c7a3b1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Service XXX\",\n\t\"cost\": 9,\n\t\"price\": 10,\n\t\"currency\": \"eur\",\n\t\"vat_percentage\": 21,\n\t\"discount_percentage\": 10,\n\t\"discount_amount\": 1,\n    \"invoiced_quantity\": 10,\n    \"invoiced_total\": 100,\n    \"bulk_options\": [\n    \t{\n    \t\t\"quantity\": 20,\n    \t\t\"price\": 9\n    \t}\n    ]\n}"},"url":"{{api_url}}/services/{{service_number}}","description":"<p>Update an existing service.</p>\n","urlObject":{"path":["services","{{service_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dddb4991-cecd-4ae3-9bc5-e77a1c7a3b1b"},{"name":"Trash a service","id":"f4b0ba20-ea74-4b4b-b5f8-9d57ae9d4af4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/services/{{service_number}}/trash","description":"<p>Trash a service.</p>\n","urlObject":{"path":["services","{{service_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f4b0ba20-ea74-4b4b-b5f8-9d57ae9d4af4"},{"name":"Restore a service","id":"12f2470f-9548-4df3-9737-2efe2c3c908d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/services/{{service_number}}/restore","description":"<p>Restore a service from the trash.</p>\n","urlObject":{"path":["services","{{service_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"12f2470f-9548-4df3-9737-2efe2c3c908d"},{"name":"Delete a service","id":"138e9fcb-eece-499e-b41d-d970103555e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/services/{{service_number}}","description":"<p>Delete a service.</p>\n","urlObject":{"path":["services","{{service_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"138e9fcb-eece-499e-b41d-d970103555e2"}],"id":"4d072bea-870b-4117-9ed7-95e98d4e0efd","_postman_id":"4d072bea-870b-4117-9ed7-95e98d4e0efd","description":""},{"name":"Invoices","item":[{"name":"Content","item":[{"name":"List invoice content","event":[{"listen":"prerequest","script":{"id":"20bbc0f4-987a-48d3-8e42-efadcfe15312","exec":[""],"type":"text/javascript"}}],"id":"c0e10c80-e853-4105-9d04-b07a40b3008d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/content","description":"<p>Get the content (intro/extra) from a given invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","content"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"c0e10c80-e853-4105-9d04-b07a40b3008d"},{"name":"Retrieve invoice content","event":[{"listen":"prerequest","script":{"id":"5e1a3e60-be84-4abc-a47d-d1c18f30508b","exec":[""],"type":"text/javascript"}}],"id":"4aa2a644-247a-4efa-999e-ce5624c108e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/content/{{invoice_content_type}}","description":"<p>Retrieve invoice content by its type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","content","{{invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4aa2a644-247a-4efa-999e-ce5624c108e0"},{"name":"Update invoice content","event":[{"listen":"prerequest","script":{"id":"2a7731b1-f08d-4173-8ee0-add1133722d2","exec":[""],"type":"text/javascript"}}],"id":"0b0c0c18-5628-47b4-bb30-9d3d69576af8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 4,\n\t\"column_1\": \"colo uno\",\n\t\"column_2\": \"colo duo\",\n\t\"column_3\": \"colo trio\",\n\t\"column_4\": \"\"\n}"},"url":"{{api_url}}/invoices/{{invoice_number}}/content/{{invoice_content_type}}","description":"<p>Update invoice content for the given type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","content","{{invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b0c0c18-5628-47b4-bb30-9d3d69576af8"},{"name":"Delete invoice content","event":[{"listen":"prerequest","script":{"id":"28a27b8f-0ee0-4b83-9df3-b0959469db17","exec":[""],"type":"text/javascript"}}],"id":"a0b586c1-772c-4128-bc09-d2e839f41e82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/content/{{invoice_content_type}}","description":"<p>Delete invoice content.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","content","{{invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0b586c1-772c-4128-bc09-d2e839f41e82"}],"id":"531067de-d588-4cc0-8433-deedde42df1c","_postman_id":"531067de-d588-4cc0-8433-deedde42df1c","description":""},{"name":"Lines","item":[{"name":"List invoice lines","id":"21322f81-692c-4fc4-8ae8-09ded082b85f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/lines","description":"<p>Get a list of paginated invoice lines.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","lines"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"type","value":"text"}],"variable":[]}},"response":[],"_postman_id":"21322f81-692c-4fc4-8ae8-09ded082b85f"},{"name":"Retrieve an invoice line","id":"fca61425-d6f1-4f1c-ba60-d202fedac015","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/lines/{{invoice_line_id}}","description":"<p>Retrieve an invoice line.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","lines","{{invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fca61425-d6f1-4f1c-ba60-d202fedac015"},{"name":"Create a new invoice line","id":"15a54a18-f1ea-4ac9-8c68-24459cdf63af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"My custom line description\",\n\t\"unit\": \"\",\n\t\"quantity\": 2,\n\t\"price_inc_vat\": 10,\n\t\"vat_percentage\": 6\n}"},"url":"{{api_url}}/invoices/{{invoice_number}}/lines","description":"<p>Create a new invoice line.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","lines"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"15a54a18-f1ea-4ac9-8c68-24459cdf63af"},{"name":"Update an invoice line","id":"06f664e9-e5cf-471b-857b-77c0b97adf42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"My edited line description\",\n\t\"price_inc_vat\": 10,\n\t\"vat_percentage\": 21\n}"},"url":"{{api_url}}/invoices/{{invoice_number}}/lines/{{invoice_line_id}}","description":"<p>Update an existing invoice line.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","lines","{{invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"06f664e9-e5cf-471b-857b-77c0b97adf42"},{"name":"Delete an invoice line","id":"7de3153c-c7c3-4826-862d-0b80609f6b8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/lines/{{invoice_line_id}}","description":"<p>Delete an invoice line.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","lines","{{invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7de3153c-c7c3-4826-862d-0b80609f6b8d"}],"id":"77a2a46b-533b-4bb1-b2ef-b3df58438296","_postman_id":"77a2a46b-533b-4bb1-b2ef-b3df58438296","description":""},{"name":"Payments","item":[{"name":"List invoice payments","id":"7ea80953-9132-4a90-97c8-1168cfdc1fa0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/payments","description":"<p>Get a list of paginated invoice payments.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","payments"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"7ea80953-9132-4a90-97c8-1168cfdc1fa0"},{"name":"Retrieve an invoice payment","id":"3d72c21e-2a40-471c-964c-3ccb1f1383b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/payments/{{invoice_payment_id}}","description":"<p>Retrieve an existing invoice payment by id.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","payments","{{invoice_payment_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d72c21e-2a40-471c-964c-3ccb1f1383b3"},{"name":"Create a new invoice payment","id":"76bc8dfb-84c2-40c4-b217-1af6db6f5ba7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": 10,\n\t\"method\": \"transfer\"\n}"},"url":"{{api_url}}/invoices/{{invoice_number}}/payments","description":"<p>Create a new invoice payment.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","payments"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76bc8dfb-84c2-40c4-b217-1af6db6f5ba7"},{"name":"Update an invoice payment","id":"7bf22ee1-d852-42fe-8a03-c7b5702115c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": 15,\n\t\"method\": \"creditcard\",\n\t\"paid_at\": \"2019-02-20\"\n}"},"url":"{{api_url}}/invoices/{{invoice_number}}/payments/{{invoice_payment_id}}","description":"<p>Update an existing invoice payment.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","payments","{{invoice_payment_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7bf22ee1-d852-42fe-8a03-c7b5702115c6"},{"name":"Delete an invoice payment","id":"1b1da263-9a9e-4e20-bfc5-378425154d82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/payments/{{invoice_payment_id}}","description":"<p>Delete an invoice payment.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","payments","{{invoice_payment_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b1da263-9a9e-4e20-bfc5-378425154d82"}],"id":"f3382af7-0a74-433d-98b3-0f9ab0c47975","_postman_id":"f3382af7-0a74-433d-98b3-0f9ab0c47975","description":""},{"name":"List invoices","id":"5a66d03f-68b5-491d-aa1c-f3cf4845981c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices?sort=invoice_number_desc","description":"<p>Get a list of paginated invoices.</p>\n","urlObject":{"path":["invoices"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"status","value":"draft"},{"key":"sort","value":"invoice_number_desc"},{"disabled":true,"key":"onlyTrashed","value":""}],"variable":[]}},"response":[],"_postman_id":"5a66d03f-68b5-491d-aa1c-f3cf4845981c"},{"name":"Retrieve an invoice","id":"fb76e0cf-e7b9-4d81-b330-c8fc681273b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}","description":"<p>Retrieve an invoice by its number.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb76e0cf-e7b9-4d81-b330-c8fc681273b9"},{"name":"Create a new invoice","id":"3a6805b9-cf2f-40f5-9d59-c2ad7cb3001b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"My invoice title\",\n\t\"contact\": 831,\n\t\"pdf_template\": 1,\n\t\"date\": \"2019-02-11\",\n\t\"due_when\": \"end_of_month\",\n\t\"due_days\": 30,\n\t\"vat_type\": \"exempt\"\n}"},"url":"{{api_url}}/invoices","description":"<p>Create a new invoice.</p>\n","urlObject":{"path":["invoices"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a6805b9-cf2f-40f5-9d59-c2ad7cb3001b"},{"name":"Update an invoice","id":"17acfaef-2b21-4931-9ad5-70ba27b94822","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"My updated invoice title\"\n}"},"url":"{{api_url}}/invoices/{{invoice_number}}","description":"<p>Update an existing invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"17acfaef-2b21-4931-9ad5-70ba27b94822"},{"name":"Finalize an invoice","id":"988e1996-5704-4ba6-9d6a-a3c279b3b3c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/finalize","description":"<p>Finalize an invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","finalize"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"988e1996-5704-4ba6-9d6a-a3c279b3b3c9"},{"name":"Pay an invoice","id":"40acb193-6b5f-4b7c-8b92-8b94615dde11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": 10,\n\t\"method\": \"transfer\"\n}"},"url":"{{api_url}}/invoices/{{invoice_number}}/pay","description":"<p>Pay an invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","pay"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"40acb193-6b5f-4b7c-8b92-8b94615dde11"},{"name":"Credit an invoice","id":"97cc9986-fe8d-4c41-b0dd-5ca7bde8c3f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/credit","description":"<p>Credit an invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","credit"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"97cc9986-fe8d-4c41-b0dd-5ca7bde8c3f8"},{"name":"Send an invoice by email","id":"1f1763c5-248a-4687-97ec-775621095c35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"language\": \"en\",\n\t\"subject\": \"Check this invoice, dude.\",\n\t\"message\": \"My **custom** message\",\n\t\"markdown\": true,\n\t\"reply_to\": \"my-email@example.com\",\n\t\"recipients\": [\n\t\t{\n\t\t\t\"name\": \"John Doe\",\n\t\t\t\"email\": \"john.doe@gmail.com\"\n\t\t}\n\t]\n}"},"url":"{{api_url}}/invoices/{{invoice_number}}/send-email","description":"<p>Send an invoice by email.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","send-email"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f1763c5-248a-4687-97ec-775621095c35"},{"name":"Send an invoice by post","id":"7cb4cf73-8c9c-49df-9a2f-4a2c8a537d5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"options\": {\n\t\t\"priority_post\": false\n\t},\n\t\"recipients\": [\n\t\t{\n\t\t\t\"address_name\": \"John Doe\",\n\t\t\t\"address_line_1\": \"Doe St. 123\",\n\t\t\t\"address_postal_code\": \"11111\",\n\t\t\t\"address_city\": \"Doe City\",\n\t\t\t\"address_state\": \"DO\",\n\t\t\t\"address_country\": \"USA\"\n\t\t}\n\t]\n}"},"url":"{{api_url}}/invoices/{{invoice_number}}/send-letter","description":"<p>Send an invoice by post.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","send-letter"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7cb4cf73-8c9c-49df-9a2f-4a2c8a537d5f"},{"name":"Trash an invoice","id":"02d0a3ed-0396-475d-994e-54c6741e44f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/trash","description":"<p>Trash an invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"02d0a3ed-0396-475d-994e-54c6741e44f9"},{"name":"Restore an invoice","id":"44477186-a472-4523-80df-071daf5926c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/restore","description":"<p>Restore an invoice from the trash.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"44477186-a472-4523-80df-071daf5926c1"},{"name":"Delete an invoice","id":"f8ad2459-7812-45f3-a03c-9a1cf1aaaec8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}","description":"<p>Delete an invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8ad2459-7812-45f3-a03c-9a1cf1aaaec8"}],"id":"72384ec9-40d4-4600-921b-607df497f070","_postman_id":"72384ec9-40d4-4600-921b-607df497f070","description":""},{"name":"Credit Notes","item":[{"name":"Content","item":[{"name":"List credit note content","event":[{"listen":"prerequest","script":{"id":"20bbc0f4-987a-48d3-8e42-efadcfe15312","exec":[""],"type":"text/javascript"}}],"id":"427fae9c-0f9c-4802-990c-da1023f93c95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content","description":"<p>Get the content (intro/extra) from a given credit note.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","content"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"427fae9c-0f9c-4802-990c-da1023f93c95"},{"name":"Retrieve credit note content","event":[{"listen":"prerequest","script":{"id":"5e1a3e60-be84-4abc-a47d-d1c18f30508b","exec":[""],"type":"text/javascript"}}],"id":"27a4c3d0-93c9-4df5-9cd9-40906ed02d72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content/{{creditnote_content_type}}","description":"<p>Retrieve credit note content by its type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","content","{{creditnote_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"27a4c3d0-93c9-4df5-9cd9-40906ed02d72"},{"name":"Update credit note content","event":[{"listen":"prerequest","script":{"id":"2a7731b1-f08d-4173-8ee0-add1133722d2","exec":[""],"type":"text/javascript"}}],"id":"bdaf1a0a-c00e-44ca-9b30-b89ecb13b1b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 4,\n\t\"column_1\": \"colo uno\",\n\t\"column_2\": \"colo duo\",\n\t\"column_3\": \"colo trio\",\n\t\"column_4\": \"\"\n}"},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content/{{creditnote_content_type}}","description":"<p>Update credit note content for the given type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","content","{{creditnote_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bdaf1a0a-c00e-44ca-9b30-b89ecb13b1b1"},{"name":"Delete credit note content","event":[{"listen":"prerequest","script":{"id":"28a27b8f-0ee0-4b83-9df3-b0959469db17","exec":[""],"type":"text/javascript"}}],"id":"a8fc9949-c770-4976-8305-9d4a9e7faac1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content/{{creditnote_content_type}}","description":"<p>Delete credit note content.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","content","{{creditnote_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8fc9949-c770-4976-8305-9d4a9e7faac1"}],"id":"3edc2d03-a22b-41d1-be8a-430809e248ef","_postman_id":"3edc2d03-a22b-41d1-be8a-430809e248ef","description":""},{"name":"Lines","item":[{"name":"List credit note lines","id":"2bf91aa8-2066-4c71-8b92-6a3113970e27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines","description":"<p>Get a paginated list of credit note lines.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","lines"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"type","value":"text"}],"variable":[]}},"response":[],"_postman_id":"2bf91aa8-2066-4c71-8b92-6a3113970e27"},{"name":"Retrieve a credit note line","id":"064b1eb7-8606-4810-8360-d7b7ee5c9e69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines/{{creditnote_line_id}}","description":"<p>Retrieve a credit note line.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","lines","{{creditnote_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"064b1eb7-8606-4810-8360-d7b7ee5c9e69"},{"name":"Create a new credit note line","id":"c3023391-1682-4508-a300-b8de0eb1b2b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"My custom line description\",\n\t\"unit\": \"\",\n\t\"quantity\": 1,\n\t\"price\": 65,\n\t\"vat_percentage\": 21\n}"},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines","description":"<p>Create a new credit note line.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","lines"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3023391-1682-4508-a300-b8de0eb1b2b5"},{"name":"Update a credit note line","id":"85fbc4e8-0e4a-4b47-b0ab-5797da5676c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"My edited line description\"\n}"},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines/{{creditnote_line_id}}","description":"<p>Update an existing credit note line.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","lines","{{creditnote_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"85fbc4e8-0e4a-4b47-b0ab-5797da5676c4"},{"name":"Delete a credit note line","id":"18086cc1-d823-4c05-b5fe-e253bb0f1b9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines/{{creditnote_line_id}}","description":"<p>Delete a credit note line.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","lines","{{creditnote_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"18086cc1-d823-4c05-b5fe-e253bb0f1b9e"}],"id":"f07f923a-ecff-47c7-9cbe-50ea6c8f7ca0","_postman_id":"f07f923a-ecff-47c7-9cbe-50ea6c8f7ca0","description":""},{"name":"List credit notes","id":"d671a11a-5134-4c17-8f04-7194b1476f7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes?sort=creditnote_number_desc","description":"<p>Get a paginated list of credit notes.</p>\n","urlObject":{"path":["creditnotes"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"status","value":"draft"},{"key":"sort","value":"creditnote_number_desc"},{"disabled":true,"key":"onlyTrashed","value":""}],"variable":[]}},"response":[],"_postman_id":"d671a11a-5134-4c17-8f04-7194b1476f7d"},{"name":"Retrieve a credit note","id":"29b011fa-7aea-4014-993f-1f2ca81a1b1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}","description":"<p>Retrieve a credit note by its number.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"29b011fa-7aea-4014-993f-1f2ca81a1b1e"},{"name":"Create a new credit note","id":"5cb148ca-a887-4535-a2ea-118276cdfd0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"My credit note title\",\n\t\"contact\": 831,\n\t\"pdf_template\": 1,\n\t\"date\": \"2019-03-01\"\n}"},"url":"{{api_url}}/creditnotes","description":"<p>Create a new credit note.</p>\n","urlObject":{"path":["creditnotes"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cb148ca-a887-4535-a2ea-118276cdfd0b"},{"name":"Update a credit note","id":"93596637-89a3-4045-9102-599841e0b424","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"My updated credit note title\"\n}"},"url":"{{api_url}}/creditnotes/{{creditnote_number}}","description":"<p>Update an existing credit note.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"93596637-89a3-4045-9102-599841e0b424"},{"name":"Finalize a credit note","id":"dfbc713e-7ff3-43ca-91e4-eb7a5a5bde81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/finalize","description":"<p>Finalize a credit note.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","finalize"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfbc713e-7ff3-43ca-91e4-eb7a5a5bde81"},{"name":"Send a credit note by email","id":"2ac84896-611b-41c4-8b22-4b8c9ecc0705","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"language\": \"en\",\n\t\"subject\": \"Check this credit note, dude.\",\n\t\"message\": \"My **custom** message\",\n\t\"markdown\": true,\n\t\"reply_to\": \"my-email@example.com\",\n\t\"recipients\": [\n\t\t{\n\t\t\t\"name\": \"John Doe\",\n\t\t\t\"email\": \"john.doe@gmail.com\"\n\t\t}\n\t]\n}"},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/send-email","description":"<p>Send a credit note by email.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","send-email"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ac84896-611b-41c4-8b22-4b8c9ecc0705"},{"name":"Send a credit note by post","id":"a06c9f6d-c55d-4973-9901-b63b008381f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"options\": {\n\t\t\"priority_post\": false\n\t},\n\t\"recipients\": [\n\t\t{\n\t\t\t\"address_name\": \"John Doe\",\n\t\t\t\"address_line_1\": \"Doe St. 123\",\n\t\t\t\"address_postal_code\": \"11111\",\n\t\t\t\"address_city\": \"Doe City\",\n\t\t\t\"address_state\": \"DO\",\n\t\t\t\"address_country\": \"USA\"\n\t\t}\n\t]\n}"},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/send-letter","description":"<p>Send a credit note by post.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","send-letter"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a06c9f6d-c55d-4973-9901-b63b008381f7"},{"name":"Trash a credit note","id":"5e0a5942-878d-4221-861f-e6c960ee9a23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/trash","description":"<p>Trash a credit note.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e0a5942-878d-4221-861f-e6c960ee9a23"},{"name":"Restore a credit note","id":"c390a0de-5061-4a6f-b8f0-9e7c85afe57b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/restore","description":"<p>Restore a credit note from the trash.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c390a0de-5061-4a6f-b8f0-9e7c85afe57b"},{"name":"Delete a credit note","id":"92c3eb56-2c4d-41cc-a2e9-7cf81ccbe464","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}","description":"<p>Delete a credit note.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"92c3eb56-2c4d-41cc-a2e9-7cf81ccbe464"}],"id":"93b41cf5-9385-49d2-85d2-265a0989709d","_postman_id":"93b41cf5-9385-49d2-85d2-265a0989709d","description":""},{"name":"Recurring Invoices","item":[{"name":"Content","item":[{"name":"List recurring invoice content","event":[{"listen":"prerequest","script":{"id":"20bbc0f4-987a-48d3-8e42-efadcfe15312","exec":[""],"type":"text/javascript"}}],"id":"86acac6e-91a4-4de0-b9ac-fc8a689b31d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content","description":"<p>Get the content (intro/extra) from a given recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","content"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"86acac6e-91a4-4de0-b9ac-fc8a689b31d4"},{"name":"Retrieve recurring invoice content","event":[{"listen":"prerequest","script":{"id":"5e1a3e60-be84-4abc-a47d-d1c18f30508b","exec":[""],"type":"text/javascript"}}],"id":"282ebd94-135a-46c9-948f-f9b6e26dbb10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content/{{recurring_invoice_content_type}}","description":"<p>Retrieve recurring invoice content by its type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","content","{{recurring_invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"282ebd94-135a-46c9-948f-f9b6e26dbb10"},{"name":"Update recurring invoice content","event":[{"listen":"prerequest","script":{"id":"2a7731b1-f08d-4173-8ee0-add1133722d2","exec":[""],"type":"text/javascript"}}],"id":"b5a3d904-9e81-49da-8e5c-3c43f1c7cd93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 4,\n\t\"column_1\": \"colo uno\",\n\t\"column_2\": \"colo duo\",\n\t\"column_3\": \"colo trio\",\n\t\"column_4\": \"\"\n}"},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content/{{recurring_invoice_content_type}}","description":"<p>Update recurring invoice content for the given type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","content","{{recurring_invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5a3d904-9e81-49da-8e5c-3c43f1c7cd93"},{"name":"Delete recurring invoice content","event":[{"listen":"prerequest","script":{"id":"28a27b8f-0ee0-4b83-9df3-b0959469db17","exec":[""],"type":"text/javascript"}}],"id":"1239e849-62c5-4385-8b51-7f5f9e942b5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content/{{recurring_invoice_content_type}}","description":"<p>Delete recurring invoice content.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","content","{{recurring_invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1239e849-62c5-4385-8b51-7f5f9e942b5c"}],"id":"10c6dc60-4e3b-4de3-a346-8804a030c7a8","_postman_id":"10c6dc60-4e3b-4de3-a346-8804a030c7a8","description":""},{"name":"Lines","item":[{"name":"List recurring invoice lines","id":"a3289845-be00-419a-ab56-0b7de25f5975","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines","description":"<p>Get a paginated list of recurring invoice lines.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","lines"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"type","value":"text"}],"variable":[]}},"response":[],"_postman_id":"a3289845-be00-419a-ab56-0b7de25f5975"},{"name":"Retrieve a recurring invoice line","id":"6cf5bf0f-5c5e-4281-9816-55202a095bc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines/{{recurring_invoice_line_id}}","description":"<p>Retrieve a recurring invoice line.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","lines","{{recurring_invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cf5bf0f-5c5e-4281-9816-55202a095bc3"},{"name":"Create a new recurring invoice line","id":"9306db39-a6ec-48bf-a74b-8a8c0cf42c78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"My custom line description\",\n\t\"unit\": \"\",\n\t\"quantity\": 2,\n\t\"price_inc_vat\": 10,\n\t\"vat_percentage\": 6\n}"},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines","description":"<p>Create a new recurring invoice line.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","lines"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9306db39-a6ec-48bf-a74b-8a8c0cf42c78"},{"name":"Update a recurring invoice line","id":"f371bc31-3a2e-4afa-bc12-b08e0b00cbf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"My edited line description\",\n\t\"price_inc_vat\": 10,\n\t\"vat_percentage\": 21\n}"},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines/{{recurring_invoice_line_id}}","description":"<p>Update an existing recurring invoice line.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","lines","{{recurring_invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f371bc31-3a2e-4afa-bc12-b08e0b00cbf4"},{"name":"Delete a recurring invoice line","id":"814d1e30-b039-4efc-8b28-71acd262cab2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines/{{recurring_invoice_line_id}}","description":"<p>Delete a recurring invoice line.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","lines","{{recurring_invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"814d1e30-b039-4efc-8b28-71acd262cab2"}],"id":"a1849750-2214-4a6a-8195-02898177a75b","_postman_id":"a1849750-2214-4a6a-8195-02898177a75b","description":""},{"name":"List recurring invoices","id":"8d7004c6-dcae-4c37-b94a-eacfa8248413","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices?status=live&sort=invoice_date","description":"<p>Get a paginated list of recurring invoices.</p>\n","urlObject":{"path":["recurring-invoices"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"page","value":"1"},{"key":"status","value":"live"},{"key":"sort","value":"invoice_date"},{"disabled":true,"key":"onlyTrashed","value":""}],"variable":[]}},"response":[],"_postman_id":"8d7004c6-dcae-4c37-b94a-eacfa8248413"},{"name":"Retrieve a recurring invoice","id":"e036be14-d602-4d04-9c5f-a35d1d8c4725","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}","description":"<p>Retrieve a recurring invoice by its number.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e036be14-d602-4d04-9c5f-a35d1d8c4725"},{"name":"Create a new recurring invoice","id":"7e9b26ed-cca6-4e1a-8f8d-07397b015a5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"My recurring invoice title\",\n\t\"contact\": 831,\n\t\"pdf_template\": 1,\n\t\"invoice_date\": \"2019-02-21\",\n\t\"due_when\": \"end_of_month\",\n\t\"due_days\": 30,\n\t\"language\": \"en\",\n\t\"currency\": \"usd\",\n\t\"vat_type\": \"collect\"\n}"},"url":"{{api_url}}/recurring-invoices","description":"<p>Create a new recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e9b26ed-cca6-4e1a-8f8d-07397b015a5f"},{"name":"Update a recurring invoice","id":"b3482824-e1cd-4bda-bf20-a0f603ba6a88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"My updated recurring invoice title\"\n}"},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}","description":"<p>Update an existing recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3482824-e1cd-4bda-bf20-a0f603ba6a88"},{"name":"Finalize a recurring invoice","id":"03d368d4-3db0-4418-9542-e3126c75d1bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/finalize","description":"<p>Finalize a recurring invoice draft, and set it live.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","finalize"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"03d368d4-3db0-4418-9542-e3126c75d1bf"},{"name":"Pause a recurring invoice","id":"16851a24-295b-480c-a228-f64944193751","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/pause","description":"<p>Pause a recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","pause"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"16851a24-295b-480c-a228-f64944193751"},{"name":"Resume a recurring invoice","id":"bd37ea3e-546d-41fa-92bb-713ff1a1fbb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/resume","description":"<p>Resume a paused recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","resume"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd37ea3e-546d-41fa-92bb-713ff1a1fbb2"},{"name":"Invoice a recurring invoice","id":"4a7eef2c-b274-4fdb-9e04-feab2acc44f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice_date\": \"2019-03-01\",\n\t\"next_invoice_date\": \"2019-04-01\"\n}"},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/invoice","description":"<p>Manually create an invoice from a recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","invoice"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4a7eef2c-b274-4fdb-9e04-feab2acc44f2"},{"name":"Trash a recurring invoice","id":"b58d0c04-7da8-4737-9083-d7d1cd8bc79c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/trash","description":"<p>Trash a recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b58d0c04-7da8-4737-9083-d7d1cd8bc79c"},{"name":"Restore a recurring invoice","id":"5f77d387-8a1d-4393-93b5-bc04c3b59250","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/restore","description":"<p>Restore a recurring invoice from the trash.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f77d387-8a1d-4393-93b5-bc04c3b59250"},{"name":"Delete a recurring invoice","id":"898a6cb8-c2b3-4d72-8cea-480d8cb53a2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}","description":"<p>Delete a recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"898a6cb8-c2b3-4d72-8cea-480d8cb53a2d"}],"id":"b49d7745-b7a0-4fee-b28f-4c40781b84e8","_postman_id":"b49d7745-b7a0-4fee-b28f-4c40781b84e8","description":""},{"name":"Offers","item":[{"name":"Content","item":[{"name":"List offer content","event":[{"listen":"prerequest","script":{"id":"20bbc0f4-987a-48d3-8e42-efadcfe15312","exec":[""],"type":"text/javascript"}}],"id":"6b83bdb7-ea5a-40b8-846d-e98294e14255","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers/{{offer_number}}/content","description":"<p>Get the content (intro/extra) from a given offer.</p>\n","urlObject":{"path":["offers","{{offer_number}}","content"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"}],"variable":[]}},"response":[],"_postman_id":"6b83bdb7-ea5a-40b8-846d-e98294e14255"},{"name":"Retrieve offer content","event":[{"listen":"prerequest","script":{"id":"5e1a3e60-be84-4abc-a47d-d1c18f30508b","exec":[""],"type":"text/javascript"}}],"id":"fca7c32a-94e7-47c1-a040-de7a79c31cc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers/{{offer_number}}/content/{{offer_content_type}}","description":"<p>Retrieve offer content by its type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["offers","{{offer_number}}","content","{{offer_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fca7c32a-94e7-47c1-a040-de7a79c31cc8"},{"name":"Update offer content","event":[{"listen":"prerequest","script":{"id":"2a7731b1-f08d-4173-8ee0-add1133722d2","exec":[""],"type":"text/javascript"}}],"id":"9a51de2e-8f8e-401d-b0f6-c75320468aed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 4,\n\t\"column_1\": \"colo uno\",\n\t\"column_2\": \"colo duo\",\n\t\"column_3\": \"colo trio\",\n\t\"column_4\": \"\"\n}"},"url":"{{api_url}}/offers/{{offer_number}}/content/{{offer_content_type}}","description":"<p>Update offer content for the given type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["offers","{{offer_number}}","content","{{offer_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a51de2e-8f8e-401d-b0f6-c75320468aed"},{"name":"Delete offer content","event":[{"listen":"prerequest","script":{"id":"28a27b8f-0ee0-4b83-9df3-b0959469db17","exec":[""],"type":"text/javascript"}}],"id":"704d3c09-3c20-4161-abb1-28f7f78472e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers/{{offer_number}}/content/{{offer_content_type}}","description":"<p>Delete offer content.</p>\n","urlObject":{"path":["offers","{{offer_number}}","content","{{offer_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"704d3c09-3c20-4161-abb1-28f7f78472e6"}],"id":"05bc7840-a5b0-4dbb-81d7-723c6888f729","_postman_id":"05bc7840-a5b0-4dbb-81d7-723c6888f729","description":""},{"name":"Lines","item":[{"name":"List offer lines","id":"d22aed78-2eeb-4fe5-a740-eb6fe9292660","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers/{{offer_number}}/lines","description":"<p>Get a list of paginated offer lines.</p>\n","urlObject":{"path":["offers","{{offer_number}}","lines"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"type","value":"text"}],"variable":[]}},"response":[],"_postman_id":"d22aed78-2eeb-4fe5-a740-eb6fe9292660"},{"name":"Retrieve an offer line","id":"15b7ca8d-eeb6-42cf-866e-2809804689ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers/{{offer_number}}/lines/{{offer_line_id}}","description":"<p>Retrieve an offer line.</p>\n","urlObject":{"path":["offers","{{offer_number}}","lines","{{offer_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"15b7ca8d-eeb6-42cf-866e-2809804689ca"},{"name":"Create a new offer line","id":"68c71955-c2e6-4248-9de7-47c09b546702","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"My custom line description\",\n\t\"unit\": \"\",\n\t\"quantity\": 2,\n\t\"price_inc_vat\": 10,\n\t\"vat_percentage\": 6\n}"},"url":"{{api_url}}/offers/{{offer_number}}/lines","description":"<p>Create a new offer line.</p>\n","urlObject":{"path":["offers","{{offer_number}}","lines"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"68c71955-c2e6-4248-9de7-47c09b546702"},{"name":"Update an offer line","id":"8b43383f-435a-43c4-8a92-0ec76ada1261","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"My edited line description\",\n\t\"price\": 10,\n\t\"vat_percentage\": 21\n}"},"url":"{{api_url}}/offers/{{offer_number}}/lines/{{offer_line_id}}","description":"<p>Update an existing offer line.</p>\n","urlObject":{"path":["offers","{{offer_number}}","lines","{{offer_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b43383f-435a-43c4-8a92-0ec76ada1261"},{"name":"Delete an offer line","id":"d2f6213a-a138-4311-95e4-883f3a54399a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers/{{offer_number}}/lines/{{offer_line_id}}","description":"<p>Delete an offer line.</p>\n","urlObject":{"path":["offers","{{offer_number}}","lines","{{offer_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2f6213a-a138-4311-95e4-883f3a54399a"}],"id":"942e8735-338b-4bb1-8e9b-4385fbb4c6fc","_postman_id":"942e8735-338b-4bb1-8e9b-4385fbb4c6fc","description":""},{"name":"List offers","id":"8e48063e-13db-4988-b45b-a5a97dc3fd3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers?sort=number_desc","description":"<p>Get a list of paginated offers.</p>\n","urlObject":{"path":["offers"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"status","value":"draft"},{"key":"sort","value":"number_desc"},{"disabled":true,"key":"onlyTrashed","value":""}],"variable":[]}},"response":[],"_postman_id":"8e48063e-13db-4988-b45b-a5a97dc3fd3f"},{"name":"Retrieve an offer","id":"32fc18cb-83b4-4859-9336-d11f487ff670","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers/{{offer_number}}","description":"<p>Retrieve an offer by its number.</p>\n","urlObject":{"path":["offers","{{offer_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32fc18cb-83b4-4859-9336-d11f487ff670"},{"name":"Create a new offer","id":"84e3c525-8606-429e-a553-7b5ad1d1713d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"My offer title\",\n\t\"contact\": 831,\n\t\"pdf_template\": 1,\n\t\"date\": \"2019-02-21\",\n\t\"due_date\": \"2019-03-01\",\n\t\"language\": \"nl\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\"\n}"},"url":"{{api_url}}/offers","description":"<p>Create a new offer.</p>\n","urlObject":{"path":["offers"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"84e3c525-8606-429e-a553-7b5ad1d1713d"},{"name":"Update an offer","id":"53c1ef4b-868f-4ce8-8a74-9c148f91455b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"My updated offer title\",\n\t\"contact\": 825\n}"},"url":"{{api_url}}/offers/{{offer_number}}","description":"<p>Update an existing offer.</p>\n","urlObject":{"path":["offers","{{offer_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"53c1ef4b-868f-4ce8-8a74-9c148f91455b"},{"name":"Finalize an offer","id":"32de42a4-45f9-4ab4-9d01-244af2998c1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers/{{offer_number}}/finalize","description":"<p>Finalize an offer.</p>\n","urlObject":{"path":["offers","{{offer_number}}","finalize"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32de42a4-45f9-4ab4-9d01-244af2998c1b"},{"name":"Send an offer by email","id":"bb5f729e-6518-4ac5-95a7-040347683387","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"language\": \"en\",\n\t\"subject\": \"Check this offer, dude.\",\n\t\"message\": \"My **custom** message\",\n\t\"markdown\": true,\n\t\"reply_to\": \"my-email@example.com\",\n\t\"recipients\": [\n\t\t{\n\t\t\t\"name\": \"John Doe\",\n\t\t\t\"email\": \"john.doe@gmail.com\"\n\t\t}\n\t]\n}"},"url":"{{api_url}}/offers/{{offer_number}}/send-email","description":"<p>Send an offer by email.</p>\n","urlObject":{"path":["offers","{{offer_number}}","send-email"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb5f729e-6518-4ac5-95a7-040347683387"},{"name":"Send an offer by post","id":"7fe79ba3-d9c4-4f50-9536-50caf8351370","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"options\": {\n\t\t\"priority_post\": false\n\t},\n\t\"recipients\": [\n\t\t{\n\t\t\t\"address_name\": \"John Doe\",\n\t\t\t\"address_line_1\": \"Doe St. 123\",\n\t\t\t\"address_postal_code\": \"11111\",\n\t\t\t\"address_city\": \"Doe City\",\n\t\t\t\"address_state\": \"DO\",\n\t\t\t\"address_country\": \"USA\"\n\t\t}\n\t]\n}"},"url":"{{api_url}}/offers/{{offer_number}}/send-letter","description":"<p>Send an offer by post.</p>\n","urlObject":{"path":["offers","{{offer_number}}","send-letter"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7fe79ba3-d9c4-4f50-9536-50caf8351370"},{"name":"Mark offer as canceled","id":"ba96fce1-e2cc-4a11-b7b5-f126e7c827b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers/{{offer_number}}/canceled","description":"<p>Mark a finalized offer as canceled.</p>\n","urlObject":{"path":["offers","{{offer_number}}","canceled"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba96fce1-e2cc-4a11-b7b5-f126e7c827b3"},{"name":"Mark offer as approved","id":"49b35c73-6bca-42be-b7f3-ed6106024aba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers/{{offer_number}}/approved","description":"<p>Mark a finalized offer as approved by the recipient.</p>\n","urlObject":{"path":["offers","{{offer_number}}","approved"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"49b35c73-6bca-42be-b7f3-ed6106024aba"},{"name":"Mark offer as rejected","id":"f9e5ed13-819b-4cec-ac9f-258d0b8036db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers/{{offer_number}}/rejected","description":"<p>Mark a finalized offer as rejected by the recipient.</p>\n","urlObject":{"path":["offers","{{offer_number}}","rejected"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9e5ed13-819b-4cec-ac9f-258d0b8036db"},{"name":"Mark offer as expired","id":"6ef0707d-712a-458b-92f8-4a508817a96d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers/{{offer_number}}/expired","description":"<p>Mark a finalized offer as expired/lost.</p>\n","urlObject":{"path":["offers","{{offer_number}}","expired"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ef0707d-712a-458b-92f8-4a508817a96d"},{"name":"Invoice an offer","id":"8a874e5b-48e3-4154-8651-f10e85e3df85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice_date\": \"2019-03-01\"\n}"},"url":"{{api_url}}/offers/{{offer_number}}/invoice","description":"<p>Invoice an offer that got approved.</p>\n","urlObject":{"path":["offers","{{offer_number}}","invoice"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a874e5b-48e3-4154-8651-f10e85e3df85"},{"name":"Trash an offer","id":"e9783a8e-0168-4829-8c6e-ba03e5b46d83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers/{{offer_number}}/trash","description":"<p>Trash an offer.</p>\n","urlObject":{"path":["offers","{{offer_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9783a8e-0168-4829-8c6e-ba03e5b46d83"},{"name":"Restore an offer","id":"a7ffebf1-872f-47ca-8baf-2bb550895098","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers/{{offer_number}}/restore","description":"<p>Restore an offer from the trash.</p>\n","urlObject":{"path":["offers","{{offer_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7ffebf1-872f-47ca-8baf-2bb550895098"},{"name":"Delete an offer","id":"e3a4c650-3d04-48cd-bec5-c23122f56807","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers/{{offer_number}}","description":"<p>Delete an offer.</p>\n","urlObject":{"path":["offers","{{offer_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3a4c650-3d04-48cd-bec5-c23122f56807"}],"id":"b95c33ab-9160-49b5-bef7-b8b926ac36cb","_postman_id":"b95c33ab-9160-49b5-bef7-b8b926ac36cb","description":""}],"event":[{"listen":"prerequest","script":{"id":"5c8f4ecf-6342-4d51-9ca5-f975b0af6712","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a3f8b277-f640-4db7-bba1-fab867a45c9b","type":"text/javascript","exec":[""]}}]}