{"info":{"_postman_id":"4bc50897-5c4e-4b26-af55-6681036a6b69","name":"Upsales API","description":"<html><head></head><body><p>Welcome to the Upsales API! You can use this API to access all our API endpoints, such as the CRM API to look up sales data, or the Marketing Automation API to create leads into Upsales.</p>\n<p>The API is organized around REST. All requests should be made over SSL. All request and response bodies, including errors, are encoded in JSON.</p>\n<h2 id=\"please-optimise-your-apps-api-request-usage\">Please optimise your apps API request usage</h2>\n<p>Upsales supplies a free API service for up to 99 999 API calls per day. A custom using more than this daily will be subject to a tier-based fee. (More usage equals higher cost).</p>\n<p>As an app developer, we ask you to please optimise your API traffic in order for your customers to not perceive your service as a larger expense than it has to be.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>Authenticate your account by including your secret key in API requests. You can manage your API keys in under settings in Upsales as a admin users. 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 GitHub, client-side code, and so forth.</p>\n<h2 id=\"format\">Format</h2>\n<p>Always include content-type: application/json as a header</p>\n<h2 id=\"errors\">Errors</h2>\n<p>Our API returns standard HTTP success or error status codes. For errors, we will also include extra information about what went wrong encoded in the response as JSON.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Http Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200 - OK</td>\n<td>Everything worked as expected</td>\n</tr>\n<tr>\n<td>400 - Bad Request</td>\n<td>The request was unacceptable, often due to missing a required parameter.</td>\n</tr>\n<tr>\n<td>401 - Unauthorized</td>\n<td>No valid API key provided.</td>\n</tr>\n<tr>\n<td>404 - Not Found</td>\n<td>The requested resource doesn't exist or you don't have access to the resource</td>\n</tr>\n<tr>\n<td>429 - To Many Requests</td>\n<td>Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"pagination\">Pagination</h2>\n<p>Our list endpoints implements pagination. The limit of entries is set using the <code>limit</code> parameter in the query-string. The default limit is set to 1000 and the maximum limit is 2000. To retreieve the next page you use the <code>offset</code>-parameter in the query-string. It's value is the number of entries that you want to skip.</p>\n<p>To be 100% sure you get all entities you need sort on ID when you do the pagination. For example if you want to fetch all companies, <a href=\"https://integration.upsales.com/api/v2/accounts?sort=id&amp;limit=1000&amp;id=gt:LAST_ID_OF_PREV_BATCH\">https://integration.upsales.com/api/v2/accounts?sort=id&amp;limit=1000&amp;id=gt:LAST_ID_OF_PREV_BATCH</a></p>\n<h2 id=\"filtering\">Filtering</h2>\n<p>We allow for filtering on most fields on our entities. The filter format is the following</p>\n<ul>\n<li><p>For standard attributes: <code>attribute=comparisontype:value</code></p>\n</li>\n<li><p>For custom fields: <code>custom=comparisontype:fieldId:value</code></p>\n</li>\n<li><p>If you don't provide a comparisontype then it defaults to equals <code>attribute=value</code></p>\n</li>\n<li><p>Multiple values: <code>attribute=comparisontype:1,2,3,4,7</code></p>\n</li>\n</ul>\n<p>You can search on related entities when using filters. Example find all contacts with value true in custom field with id 4 on the company; example: .../contacts?client.custom=eq:4:1</p>\n<h3 id=\"comparison-types\">Comparison Types</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>eq</code></td>\n<td>Equals</td>\n<td>Exact matches</td>\n</tr>\n<tr>\n<td><code>ne</code></td>\n<td>Not equals</td>\n<td>Exact non-matches</td>\n</tr>\n<tr>\n<td><code>gt</code></td>\n<td>Greater than</td>\n<td>Value greater than</td>\n</tr>\n<tr>\n<td><code>gte</code></td>\n<td>Greater than equals</td>\n<td>Value greater than/or equals</td>\n</tr>\n<tr>\n<td><code>lt</code></td>\n<td>Less than</td>\n<td>Value less than</td>\n</tr>\n<tr>\n<td><code>lte</code></td>\n<td>Less than equals</td>\n<td>Value less than/or equals</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"examples\">Examples</h3>\n<p>Get account where user.id not equals 1<br><a href=\"https://integration.upsales.com/api/v2/accounts?user.id=ne:1\">https://integration.upsales.com/api/v2/accounts?user.id=ne:1</a></p>\n<p>Get orders where order value is greater than 100 000 and date is greater than or equals 2016-01-01<br><a href=\"https://integration.upsales.com/api/v2/order?value=gt:100000&amp;date=gte:2016-01-01\">https://integration.upsales.com/api/v2/order?value=gt:100000&amp;date=gte:2016-01-01</a></p>\n<p>Get contacts where customfield with id 1 is greater than 2016-03-05<br><a href=\"https://integration.upsales.com/api/v2/contacts?custom=gte:1:2016-01-01\">https://integration.upsales.com/api/v2/contacts?custom=gte:1:2016-01-01</a></p>\n<h1 id=\"rate-limits\">Rate Limits</h1>\n<p>At Upsales we apply rate limits in order to protect our systems from abuse and over-utilization of our server resources</p>\n<p>The rate limit for an API key against Upsales API is 200 requests per 10 seconds. When an API key reaches the limit the caller receives a HTTP error with status 429 (Too Many Requests)</p>\n<p>The caller will receive the remaining amount of requests available and the number of seconds until next reset in the HTTP headers</p>\n<p><code>X-RateLimit-Limit</code> = number of requests allowed per 10 seconds</p>\n<p><code>X-RateLimit-Remaining</code> = number of requests remaining until the next reset</p>\n<p><code>X-RateLimit-Reset</code> = number of seconds until next rate limit reset</p>\n<h1 id=\"api-documentation-changelog\">API Documentation Changelog</h1>\n<p>2023-10-27: Added Information about rate limits</p>\n<h1 id=\"faq\">FAQ</h1>\n<h2 id=\"why-do-spaces-disappear-in-string-fields\">Why do spaces disappear in string fields?</h2>\n<p>Upsales trims all string fields, which means that spaces are removed at the beginning and end of a string.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Rate Limits","slug":"rate-limits"},{"content":"API Documentation Changelog","slug":"api-documentation-changelog"},{"content":"FAQ","slug":"faq"}],"owner":"4421023","collectionId":"4bc50897-5c4e-4b26-af55-6681036a6b69","publishedId":"RW87rVf1","public":true,"customColor":{"top-bar":"1D3D48","right-sidebar":"303030","highlight":"4A90E2"},"publishDate":"2021-05-24T08:41:20.000Z"},"item":[{"name":"Use cases","item":[{"name":"Subscriptions","item":[{"name":"Creating Subscriptions","item":[{"name":"Create a subscription","id":"67b542c9-bb59-4473-9da4-47e25f84057e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"Subscription\",\n    \"user\": {\n        \"id\": 1\n    },\n    \"client\": {\n        \"id\": 1\n    },\n    \"contact\": {\n        \"id\": 1\n    },\n    \"stage\": {\n        \"id\": 12\n    },\n    \"currency\": \"SEK\",\n    \"currencyRate\": 1,\n    \"orderRow\": [\n        {\n            \"product\": { \"id\": 1 },\n            \"price\": 100,\n            \"listPrice\": 100,\n            \"quantity\": 1,\n            \"purchaseCost\": 90,\n            \"sortId\": 1\n        }\n    ],\n    \"custom\": [\n        {\n            \"fieldId\": 1,\n            \"value\": \"123\"\n        }\n    ],\n    \"metadata\": {\n        \"agreementDescription\": \"Licenses\",\n        \"agreementStartdate\": \"2022-01-01\",\n        \"agreementEnddate\": null,\n        \"agreementInvoiceStartdate\": \"2022-01-01\",\n        \"agreementRenewalDate\": \"2023-01-01\",\n        \"agreementIntervalType\": 1,\n        \"agreementIntervalPeriod\": 12,\n        \"agreementOrderCreationTime\": 30,\n        \"periodLength\": 12,\n        \"agreementNotes\": \"Customer signed up at 2022-01-01 12:00\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/agreements?token={{token}}","description":"<p>We recommend that you use <a href=\"#a5bd1529-8f91-4a14-9e9a-1a216d66b538\">custom fields</a> in Upsales if you want to match the subscription with an external ID from your own system</p>\n<p><em>Please note</em></p>\n<p>This example requests contains the bare minimum needed to create a subscription on a contact person. For further explanation regarding the different fields, see the <a href=\"#a5c49266-2689-4a06-bc54-f04fc8d38a62\">subscriptions section</a></p>\n","urlObject":{"protocol":"https","path":["api","v2","agreements"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"67b542c9-bb59-4473-9da4-47e25f84057e"}],"id":"db3ddf06-74a6-4ac5-b87c-97ece1f66764","description":"<h2 id=\"case\"><strong>Case</strong></h2>\n<p>This guide will help you through the steps needed to create a subscription in Upsales. This will be needed when new customers sign up to use your service</p>\n<h2 id=\"assumptions\"><strong>Assumptions</strong></h2>\n<ul>\n<li>The client already exists (<a href=\"#4dc50f4b-db75-4ed8-91df-6ef102486767\">if not</a>)</li>\n<li>The products already exists (<a href=\"#98e93703-1d64-4947-8df3-4a06c4c6a909\">if not</a>)</li>\n<li>The order stage already exists (<a href=\"#c0b67473-1a15-4a53-a257-5ce6a61f90b9\">if not</a>)</li>\n<li>A contact at the client already exists (<a href=\"#4bfe5a33-f0c9-484f-902a-47c014eb827e\">if not</a>)</li>\n</ul>\n","_postman_id":"db3ddf06-74a6-4ac5-b87c-97ece1f66764"},{"name":"I want to increase the value of a subscription","item":[{"name":"Get the subscription","id":"a0a34e86-fc49-4ebb-87bc-203fe1313e41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://integration.upsales.com/api/v2/agreements/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","agreements","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"a0a34e86-fc49-4ebb-87bc-203fe1313e41"},{"name":"Increase subscription value and create a prorated order","id":"5e191323-3790-4480-b1a5-be3c0a7e0499","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\": 1,\n    \"createDiffOrder\": true,\n    \"metadata\": {\n        \"agreementIntervalPeriod\": 12,\n        \"periodLength\": 12,\n        \"agreementStartdate\": \"2019-12-12T09:39:02.565Z\",\n        \"agreementInvoiceStartdate\": \"2019-12-12T09:39:02.565Z\",\n        \"agreementRenewalDate\": \"2020-12-12T09:39:02.565Z\",\n        \"temporaryNextOrderDate\": \"2019-12-12T10:39:02+01:00\",\n        \"agreementOrderCreationTime\": 0,\n        \"agreementEnddate\": null,\n        \"agreementNotes\": \"\",\n        \"agreementDescription\": \"10 Licenses\",\n        \"custom\": [\n            {\n                \"fieldId\": 1,\n                \"value\": \"Subscription custom field data\"\n            }\n        ]\n    },\n    \"user\": {\n        \"id\": 1\n    },\n    \"stage\": {\n        \"id\": 12\n    },\n    \"orderRow\": [\n        {\n            \"listPrice\": 1995,\n            \"price\": 1995,\n            \"quantity\": 1,\n            \"custom\": [\n                {\n                    \"fieldId\": 1,\n                    \"value\": \"Order row custom field\"\n                }\n            ],\n            \"sortId\": 1,\n            \"purchaseCost\": 10,\n            \"product\": {\n                \"id\": 1\n            }\n        }\n    ],\n    \"currency\": \"SEK\",\n    \"currencyRate\": 1,\n    \"project\": null,\n    \"clientConnection\": null,\n    \"probability\": 100,\n    \"client\": {\n        \"id\": 101\n    },\n    \"custom\": [\n        {\n            \"fieldId\": 3,\n            \"value\": \"Order custom data\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/agreements/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","agreements","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"5e191323-3790-4480-b1a5-be3c0a7e0499"}],"id":"fe2dac51-84fa-43c6-a9c7-534fdcda269c","description":"<h3 id=\"case\"><strong>Case</strong></h3>\n<p>I want to increase the value of a subscription. How do I create a prorated order?</p>\n<h3 id=\"prerequisites\"><strong>Prerequisites</strong></h3>\n<ul>\n<li>You know the subscription ID (<a href=\"#2ce0d596-88b5-495e-a453-817ac01f7205\">if not</a>)</li>\n</ul>\n<h3 id=\"how\"><strong>How</strong></h3>\n<ul>\n<li>First get the subscription and then use the result when updating it.</li>\n<li>just add <code>createDiffOrder: true</code> to the request body to create a prorated order if the new total value exceeds the previous total value</li>\n<li>Increase <code>quantity</code>, <code>price</code> or both to make the subscription total value increase.</li>\n<li>You could also add a completely new <code>orderRow</code> to increase the total value of the subscription.</li>\n</ul>\n","_postman_id":"fe2dac51-84fa-43c6-a9c7-534fdcda269c"},{"name":"How much is the recurring revenue for a specific client?","item":[{"name":"Get all active subscriptions for a client","id":"38b47598-41e2-49ee-9ce9-037fa482919a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://integration.upsales.com/api/v2/agreements/?token={{token}}&q={\"or\":{\"q\":[[{\"a\":\"metadata.agreementEnddate\",\"c\":\"eq\",\"v\":null}],[{\"a\":\"metadata.agreementEnddate\",\"c\":\"gt\",\"v\":\"2022-03-16\"}]]}}&q={\"a\":\"metadata.agreementInvoiceStartdate\",\"c\":\"lte\",\"v\":\"2022-03-16\"}&client.id=12","description":"<p>Replace with 2022-03-16 with today's date</p>\n","urlObject":{"protocol":"https","path":["api","v2","agreements",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"q","value":"{\"or\":{\"q\":[[{\"a\":\"metadata.agreementEnddate\",\"c\":\"eq\",\"v\":null}],[{\"a\":\"metadata.agreementEnddate\",\"c\":\"gt\",\"v\":\"2022-03-16\"}]]}}"},{"key":"q","value":"{\"a\":\"metadata.agreementInvoiceStartdate\",\"c\":\"lte\",\"v\":\"2022-03-16\"}"},{"key":"client.id","value":"12"}],"variable":[]}},"response":[],"_postman_id":"38b47598-41e2-49ee-9ce9-037fa482919a"}],"id":"cc0c61af-f6be-42d3-85ae-a8482c72cdea","description":"<h3 id=\"case\"><strong>Case</strong></h3>\n<p>How much is a specific client paying us in recurring revenue right now?</p>\n<h3 id=\"prerequisites\"><strong>Prerequisites</strong></h3>\n<ul>\n<li>You know the client ID (<a href=\"#a0f4eb00-29fc-4fc9-bf84-3a752bb84350\">if not</a>)</li>\n</ul>\n<h3 id=\"filters\">Filters</h3>\n<ul>\n<li><code>client.id</code> should equal your client ID</li>\n<li><code>agreement.agreementInvoiceStartdate</code> should be less than or equal to today</li>\n<li><code>agreement.agreementEnddate</code> should be null <strong>or</strong> greater than today</li>\n</ul>\n<h3 id=\"how-to-interpret-the-results\"><strong>How to interpret the results</strong></h3>\n<ul>\n<li>Each object in the results array is a subscription</li>\n<li>Each subscription has <code>yearlyValue</code></li>\n<li>To get ARR: Take <code>yearlyValue</code> of each subscription and add them together</li>\n<li>To get MRR: Calculate the ARR then divide by 12.</li>\n</ul>\n","_postman_id":"cc0c61af-f6be-42d3-85ae-a8482c72cdea"},{"name":"Customer cancels their subscription","item":[{"name":"Cancel agreement","id":"0d1142cb-ba50-43ca-aae3-c7c05a002a98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"id\": 1,\n    \"createDiffOrder\": true,\n    \"metadata\": {\n        \"agreementIntervalPeriod\": 12,\n        \"periodLength\": 12,\n        \"agreementStartdate\": \"2019-12-12\",\n        \"agreementInvoiceStartdate\": \"2019-12-12\",\n        \"agreementRenewalDate\": \"2020-12-12\",\n        \"temporaryNextOrderDate\": \"2019-12-12\",\n        \"agreementOrderCreationTime\": 0,\n        \"agreementEnddate\": \"2020-12-12\",\n        \"agreementNotes\": \"\",\n        \"agreementDescription\": \"10 Licenses\",\n        \"custom\": [\n            {\n                \"fieldId\": 1,\n                \"value\": \"Subscription custom field data\"\n            }\n        ]\n    },\n    \"user\": {\n        \"id\": 1\n    },\n    \"stage\": {\n        \"id\": 12\n    },\n    \"orderRow\": [\n        {\n            \"listPrice\": 1995,\n            \"price\": 1995,\n            \"quantity\": 1,\n            \"custom\": [\n                {\n                    \"fieldId\": 1,\n                    \"value\": \"Order row custom field\"\n                }\n            ],\n            \"sortId\": 1,\n            \"purchaseCost\": 10,\n            \"product\": {\n                \"id\": 1\n            }\n        }\n    ],\n    \"currency\": \"SEK\",\n    \"currencyRate\": 1,\n    \"project\": null,\n    \"clientConnection\": null,\n    \"probability\": 100,\n    \"client\": {\n        \"id\": 101\n    },\n    \"custom\": [\n        {\n            \"fieldId\": 3,\n            \"value\": \"Order custom data\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/agreements/{{id}}?token={{token}}","description":"<p>In order to cancel a subscription you need to fetch the old one from the API (<a href=\"#2ce0d596-88b5-495e-a453-817ac01f7205\">how</a>), replace the field <code>metadata.agreementEndDate</code> with the last date that the customer will be using your service and do an PUT request with the full body to update that subscription</p>\n<p>By setting the end date far into the future Upsales will continue generating the orders until that date. For example if you have monthly payments and three months cancellation notice you would set end date three months into the future and Upsales would handle the remaining orders properly</p>\n","urlObject":{"protocol":"https","path":["api","v2","agreements","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"disabled":true,"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"0d1142cb-ba50-43ca-aae3-c7c05a002a98"}],"id":"bc4afbad-154b-4f0f-9960-46b5c010073b","description":"<h3 id=\"case\"><strong>Case</strong></h3>\n<p>A customer wants to cancel their subscription with you. But you want to give them access to your service for the remainder of the period</p>\n<h3 id=\"assumptions\"><strong>Assumptions</strong></h3>\n<ul>\n<li>You already have a subscription for the customer (<a href=\"#2ce0d596-88b5-495e-a453-817ac01f7205\">if not</a>)</li>\n</ul>\n","_postman_id":"bc4afbad-154b-4f0f-9960-46b5c010073b"},{"name":"Increase subscription starting next period","item":[],"id":"e2f037a7-1c16-49e1-9a26-d39b7d0d996f","description":"<h3 id=\"case\"><strong>Case</strong></h3>\n<p>You want to increase the subscription but not immediately but at the start of next period.</p>\n<h3 id=\"assumptions\"><strong>Assumptions</strong></h3>\n<ul>\n<li>You already know the subscription ID (<a href=\"#2ce0d596-88b5-495e-a453-817ac01f7205\">if not</a>)</li>\n</ul>\n<h3 id=\"how\"><strong>How</strong></h3>\n<ul>\n<li>First <a href=\"#bc4afbad-154b-4f0f-9960-46b5c010073b\">cancel the subscription</a> and set <code>metadata.agreementEnddate</code> to the end of the period.</li>\n<li>Then <a href=\"#db3ddf06-74a6-4ac5-b87c-97ece1f66764\">create a copy of the subscription</a> by removing <code>id</code> and <code>metadata.agreementEnddate</code>. You also need to set <code>metadata.agreementStartdate</code> and <code>metadata.agreementInvoiceStartdate</code> to the start of the next period.</li>\n<li>Don't forget to increase the <code>quantity</code>, <code>price</code> or add a new <code>orderRow</code>.</li>\n</ul>\n","_postman_id":"e2f037a7-1c16-49e1-9a26-d39b7d0d996f"}],"id":"4ca2203f-1bc0-4002-90b8-602f4718cee7","description":"<p>Subscription related use cases</p>\n","_postman_id":"4ca2203f-1bc0-4002-90b8-602f4718cee7"},{"name":"Orders","item":[{"name":"Create an Order","item":[{"name":"Create an order","id":"9dcbc62a-071e-48a4-8981-e5f76dde3afa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n    \"description\": \"My new order\",\n    \"date\": \"2022-03-16\",\n    \"user\": {\n        \"id\": 1\n    },\n    \"client\": {\n        \"id\": 2\n    },\n    \"stage\": {\n        \"id\": 12\n    },\n    \"probability\": 100,\n\t\"orderRow\": [\n        {\n            \"quantity\": 5,\n            \"price\": 500,\n            \"listPrice\": 1000,\n            \"product\": {\n                \"id\": 1\n            }\n        },\n        {\n            \"quantity\": 3,\n            \"price\": 1000,\n            \"listPrice\": 1200,\n            \"product\": {\n                \"id\": 2\n            }\n        }\n    ]\n }","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/orders?token={{token}}","description":"<p><em>Please note</em></p>\n<ul>\n<li><code>client.id</code> is the ID of the company</li>\n<li>total price of an order row is <code>quantity</code> multiplied by <code>price</code></li>\n<li><code>listPrice</code> is the default price. Which makes the difference between <code>listPrice</code> and <code>price</code> the discount</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","orders"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"9dcbc62a-071e-48a4-8981-e5f76dde3afa"}],"id":"d71cc233-742a-462c-ad2b-b77a6c74bb96","description":"<h3 id=\"case\"><strong>CASE</strong></h3>\n<p>I want to create an order for what the client owes us for the previous month. I would I do that?</p>\n<h3 id=\"prerequisites\"><strong>Prerequisites</strong></h3>\n<ul>\n<li>You know how much to charge</li>\n<li>The client already exists (<a href=\"#4dc50f4b-db75-4ed8-91df-6ef102486767\">if not</a>)</li>\n<li>The products already exists (<a href=\"#98e93703-1d64-4947-8df3-4a06c4c6a909\">if not</a>)</li>\n<li>The order stage already exists (<a href=\"#c0b67473-1a15-4a53-a257-5ce6a61f90b9\">if not</a>)</li>\n<li>A contact at the client already exists (<a href=\"#4bfe5a33-f0c9-484f-902a-47c014eb827e\">if not</a>)</li>\n</ul>\n","_postman_id":"d71cc233-742a-462c-ad2b-b77a6c74bb96"}],"id":"f2ff374f-fc8b-4dbd-a945-605371dd8eb1","description":"<p>Order related use cases</p>\n","_postman_id":"f2ff374f-fc8b-4dbd-a945-605371dd8eb1"}],"id":"95930702-fc65-4cd8-82b0-e00e38ab971d","description":"<p>Here we gather common use cases that our customers encounter using our API, describing the use case more in depth and the necessary requests to achieve what you want</p>\n","_postman_id":"95930702-fc65-4cd8-82b0-e00e38ab971d"},{"name":"Tasks","item":[{"name":"Get activity list","id":"ae3a30c0-dcc6-4abc-9be4-6ffe725f989f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://integration.upsales.com/api/v2/activities/?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","activities",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"b517e050-c462-4a50-abc2-235c561321b2","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://integration.upsales.com/api/v2/activities/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activities",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 06:41:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3083"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"ETag","value":"W/\"c0b-dW2yC48r9aIhbcypX0DTqqyj9Yc\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 3,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"description\": \"Talk with Daniel about Salesboard\",\n            \"notes\": \"\",\n            \"date\": null,\n            \"closeDate\": null,\n            \"time\": null,\n            \"client\": null,\n            \"contacts\": [],\n            \"users\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Gustav Petterson\",\n                    \"role\": null,\n                    \"email\": \"apidocs@upsales.com\"\n                }\n            ],\n            \"project\": null,\n            \"parentActivityId\": null,\n            \"parentAppointmentId\": null,\n            \"activityType\": {\n                \"name\": \"Todo\",\n                \"id\": 10\n            },\n            \"regDate\": \"2021-09-29T06:40:28.000Z\",\n            \"isAppointment\": 0,\n            \"regBy\": {\n                \"id\": 1,\n                \"name\": \"Gustav Petterson\",\n                \"role\": null,\n                \"email\": \"apidocs@upsales.com\"\n            },\n            \"modDate\": \"2021-09-29T06:40:28.000Z\",\n            \"closeTime\": null,\n            \"opportunity\": null,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"priority\": 0,\n            \"outcomes\": [\n                {\n                    \"user\": {\n                        \"name\": \"Gustav Petterson\",\n                        \"id\": 1\n                    },\n                    \"date\": \"2021-09-29T06:40:28.000Z\",\n                    \"outcome\": null,\n                    \"type\": null,\n                    \"commentId\": null\n                }\n            ],\n            \"lastOutcome\": {\n                \"user\": {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                },\n                \"date\": \"2021-09-29T06:40:28.000Z\",\n                \"outcome\": null,\n                \"type\": null,\n                \"commentId\": null\n            }\n        },\n        {\n            \"id\": 2,\n            \"description\": \"Email Johanna\",\n            \"notes\": \"\",\n            \"date\": null,\n            \"closeDate\": null,\n            \"time\": null,\n            \"client\": {\n                \"journeyStep\": \"lead\",\n                \"phone\": \"+46(0)8123456\",\n                \"name\": \"Salesboard\",\n                \"id\": 2,\n                \"users\": [\n                    {\n                        \"id\": 1,\n                        \"name\": \"Gustav Petterson\",\n                        \"role\": null,\n                        \"email\": \"apidocs@upsales.com\"\n                    }\n                ]\n            },\n            \"contacts\": [],\n            \"users\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Gustav Petterson\",\n                    \"role\": null,\n                    \"email\": \"apidocs@upsales.com\"\n                }\n            ],\n            \"project\": null,\n            \"parentActivityId\": null,\n            \"parentAppointmentId\": null,\n            \"activityType\": {\n                \"name\": \"Todo\",\n                \"id\": 10\n            },\n            \"regDate\": \"2021-09-29T06:41:01.000Z\",\n            \"isAppointment\": 0,\n            \"regBy\": {\n                \"id\": 1,\n                \"name\": \"Gustav Petterson\",\n                \"role\": null,\n                \"email\": \"apidocs@upsales.com\"\n            },\n            \"modDate\": \"2021-09-29T06:41:01.000Z\",\n            \"closeTime\": null,\n            \"opportunity\": null,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"priority\": 0,\n            \"outcomes\": [\n                {\n                    \"user\": {\n                        \"name\": \"Gustav Petterson\",\n                        \"id\": 1\n                    },\n                    \"date\": \"2021-09-29T06:41:01.000Z\",\n                    \"outcome\": null,\n                    \"type\": null,\n                    \"commentId\": null\n                }\n            ],\n            \"lastOutcome\": {\n                \"user\": {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                },\n                \"date\": \"2021-09-29T06:41:01.000Z\",\n                \"outcome\": null,\n                \"type\": null,\n                \"commentId\": null\n            }\n        },\n        {\n            \"id\": 3,\n            \"description\": \"Book a meeting\",\n            \"notes\": \"\",\n            \"date\": \"2021-09-30\",\n            \"closeDate\": null,\n            \"time\": null,\n            \"client\": {\n                \"journeyStep\": \"lead\",\n                \"phone\": \"+46(0)8123456\",\n                \"name\": \"Salesboard\",\n                \"id\": 2,\n                \"users\": [\n                    {\n                        \"id\": 1,\n                        \"name\": \"Gustav Petterson\",\n                        \"role\": null,\n                        \"email\": \"apidocs@upsales.com\"\n                    }\n                ]\n            },\n            \"contacts\": [\n                {\n                    \"journeyStep\": \"lead\",\n                    \"phone\": null,\n                    \"name\": \"John Wilson\",\n                    \"id\": 2,\n                    \"cellPhone\": null\n                }\n            ],\n            \"users\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Gustav Petterson\",\n                    \"role\": null,\n                    \"email\": \"apidocs@upsales.com\"\n                }\n            ],\n            \"project\": null,\n            \"parentActivityId\": null,\n            \"parentAppointmentId\": null,\n            \"activityType\": {\n                \"name\": \"Telefonsamtal\",\n                \"id\": 11\n            },\n            \"regDate\": \"2021-09-29T06:41:47.000Z\",\n            \"isAppointment\": 0,\n            \"regBy\": {\n                \"id\": 1,\n                \"name\": \"Gustav Petterson\",\n                \"role\": null,\n                \"email\": \"apidocs@upsales.com\"\n            },\n            \"modDate\": \"2021-09-29T06:41:47.000Z\",\n            \"closeTime\": null,\n            \"opportunity\": null,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"priority\": 0,\n            \"outcomes\": [\n                {\n                    \"user\": {\n                        \"name\": \"Gustav Petterson\",\n                        \"id\": 1\n                    },\n                    \"date\": \"2021-09-29T06:41:47.000Z\",\n                    \"outcome\": null,\n                    \"type\": null,\n                    \"commentId\": null\n                }\n            ],\n            \"lastOutcome\": {\n                \"user\": {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                },\n                \"date\": \"2021-09-29T06:41:47.000Z\",\n                \"outcome\": null,\n                \"type\": null,\n                \"commentId\": null\n            }\n        }\n    ]\n}"}],"_postman_id":"ae3a30c0-dcc6-4abc-9be4-6ffe725f989f"},{"name":"Get activity","id":"299df572-5151-4684-b4f4-dea0f9ba192c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://integration.upsales.com/api/v2/activities/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","activities","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"0d977b01-d521-4293-9e0d-229b6b1ed30f","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://integration.upsales.com/api/v2/activities/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activities","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 06:42:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"918"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"396-1v1InzMuF6rGt4mk4bGSFPaXrU4\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 1,\n        \"description\": \"Talk with Daniel about Salesboard\",\n        \"notes\": \"\",\n        \"date\": null,\n        \"closeDate\": null,\n        \"time\": null,\n        \"client\": null,\n        \"contacts\": [],\n        \"users\": [\n            {\n                \"id\": 1,\n                \"name\": \"Gustav Petterson\",\n                \"role\": null,\n                \"email\": \"apidocs@upsales.com\"\n            }\n        ],\n        \"project\": null,\n        \"parentActivityId\": null,\n        \"parentAppointmentId\": null,\n        \"activityType\": {\n            \"name\": \"Todo\",\n            \"id\": 10\n        },\n        \"regDate\": \"2021-09-29T06:40:28.000Z\",\n        \"isAppointment\": 0,\n        \"regBy\": {\n            \"id\": 1,\n            \"name\": \"Gustav Petterson\",\n            \"role\": null,\n            \"email\": \"apidocs@upsales.com\"\n        },\n        \"modDate\": \"2021-09-29T06:40:28.000Z\",\n        \"closeTime\": null,\n        \"opportunity\": null,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"phoneCalls\": [],\n        \"priority\": 0,\n        \"outcomes\": [\n            {\n                \"user\": {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                },\n                \"date\": \"2021-09-29T06:40:28.000Z\",\n                \"outcome\": null,\n                \"type\": null,\n                \"commentId\": null\n            }\n        ],\n        \"lastOutcome\": {\n            \"user\": {\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1\n            },\n            \"date\": \"2021-09-29T06:40:28.000Z\",\n            \"outcome\": null,\n            \"type\": null,\n            \"commentId\": null\n        }\n    }\n}"}],"_postman_id":"299df572-5151-4684-b4f4-dea0f9ba192c"},{"name":"Create Phone call","id":"c70a6847-e173-4cbf-8437-c52057cdf403","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"Book a meeting\",\n    \"date\": \"2022-04-23\",\n    \"client\": {\n      \"id\": 2\n    },\n    \"contacts\": [\n      {\n        \"id\": 3\n      }\n    ],\n    \"users\": [\n      {\n        \"id\": 1\n      }\n    ],\n    \"activityType\": {\n      \"id\": 11\n    },\n    \"priority\": 3\n}"},"url":"https://integration.upsales.com/api/v2/activities/?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","activities",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"76dbddef-ec25-4642-97d0-e35c27a11b74","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"Book a meeting\",\n    \"date\": \"2022-04-23\",\n    \"client\": {\n      \"id\": 2\n    },\n    \"contacts\": [\n      {\n        \"id\": 3\n      }\n    ],\n    \"users\": [\n      {\n        \"id\": 1\n      }\n    ],\n    \"activityType\": {\n      \"id\": 11\n    },\n    \"priority\": 3\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/activities/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activities",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 06:45:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"947"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"3b3-vCAOLGmnydnmHlwYTvVRfVvFCAQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 4,\n        \"description\": \"Book a meeting\",\n        \"notes\": null,\n        \"date\": \"2022-04-23\",\n        \"closeDate\": null,\n        \"time\": null,\n        \"client\": {\n            \"journeyStep\": \"lead\",\n            \"phone\": \"+46(0)8123456\",\n            \"name\": \"Salesboard\",\n            \"id\": 2,\n            \"users\": [\n                {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                }\n            ]\n        },\n        \"contacts\": [],\n        \"users\": [\n            {\n                \"role\": null,\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1,\n                \"email\": \"apidocs@upsales.com\"\n            }\n        ],\n        \"project\": null,\n        \"parentActivityId\": null,\n        \"parentAppointmentId\": null,\n        \"activityType\": {\n            \"name\": \"Telefonsamtal\",\n            \"id\": 11\n        },\n        \"regDate\": \"2021-09-29T06:45:18.000Z\",\n        \"isAppointment\": 0,\n        \"regBy\": {\n            \"name\": \"Postman\",\n            \"id\": 2\n        },\n        \"modDate\": \"2021-09-29T06:45:18.000Z\",\n        \"closeTime\": null,\n        \"opportunity\": null,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"priority\": 3,\n        \"outcomes\": [\n            {\n                \"user\": {\n                    \"name\": \"Postman\",\n                    \"id\": 2\n                },\n                \"date\": \"2021-09-29T06:45:18.000Z\",\n                \"outcome\": null,\n                \"type\": null,\n                \"commentId\": null\n            }\n        ],\n        \"lastOutcome\": {\n            \"user\": {\n                \"name\": \"Postman\",\n                \"id\": 2\n            },\n            \"date\": \"2021-09-29T06:45:18.000Z\",\n            \"outcome\": null,\n            \"type\": null,\n            \"commentId\": null\n        }\n    }\n}"}],"_postman_id":"c70a6847-e173-4cbf-8437-c52057cdf403"},{"name":"Update Phone Call","id":"8a2ad84e-0c6d-43a1-a7dd-53442439f7c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"Book a meeting\",\n    \"notes\": \"No answer, follow upp tomorrow\",\n    \"date\": \"2021-04-24\",\n    \"client\": {\n      \"id\": 2\n    },\n    \"contacts\": [\n      {\n        \"id\": 3\n      }\n    ],\n    \"users\": [\n      {\n        \"id\": 1\n      }\n    ],\n    \"activityType\": {\n      \"id\": 11\n    }\n}"},"url":"https://integration.upsales.com/api/v2/activities/{{phoneCallID}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","activities","{{phoneCallID}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"527770b7-da8a-4b3d-9cb9-315f62e1c783","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"Book a meeting\",\n    \"notes\": \"No answer, follow upp tomorrow\",\n    \"date\": \"2021-04-24\",\n    \"client\": {\n      \"id\": 2\n    },\n    \"contacts\": [\n      {\n        \"id\": 3\n      }\n    ],\n    \"users\": [\n      {\n        \"id\": 1\n      }\n    ],\n    \"activityType\": {\n      \"id\": 11\n    }\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/activities/{{phoneCallID}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activities","{{phoneCallID}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 06:49:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1002"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"3ea-VYbQ0Ud081CTwQRfCGWiAu8kB08\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 3,\n        \"description\": \"Book a meeting\",\n        \"notes\": \"No answer, follow upp tomorrow\",\n        \"date\": \"2021-04-24\",\n        \"closeDate\": null,\n        \"time\": null,\n        \"client\": {\n            \"journeyStep\": \"lead\",\n            \"phone\": \"+46(0)8123456\",\n            \"name\": \"Salesboard\",\n            \"id\": 2,\n            \"users\": [\n                {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                }\n            ]\n        },\n        \"contacts\": [],\n        \"users\": [\n            {\n                \"role\": null,\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1,\n                \"email\": \"apidocs@upsales.com\"\n            }\n        ],\n        \"project\": null,\n        \"parentActivityId\": null,\n        \"parentAppointmentId\": null,\n        \"activityType\": {\n            \"name\": \"Telefonsamtal\",\n            \"id\": 11\n        },\n        \"regDate\": \"2021-09-29T06:41:47.000Z\",\n        \"isAppointment\": 0,\n        \"regBy\": {\n            \"name\": \"Gustav Petterson\",\n            \"id\": 1\n        },\n        \"modDate\": \"2021-09-29T06:49:05.000Z\",\n        \"closeTime\": null,\n        \"opportunity\": null,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"priority\": 3,\n        \"outcomes\": [\n            {\n                \"user\": {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                },\n                \"date\": \"2021-09-29T06:41:47.000Z\",\n                \"outcome\": null,\n                \"type\": null,\n                \"commentId\": null\n            }\n        ],\n        \"lastOutcome\": {\n            \"user\": {\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1\n            },\n            \"date\": \"2021-09-29T06:41:47.000Z\",\n            \"outcome\": null,\n            \"type\": null,\n            \"commentId\": null\n        }\n    }\n}"}],"_postman_id":"8a2ad84e-0c6d-43a1-a7dd-53442439f7c0"},{"name":"Close phone call","id":"bf27b076-50e6-4f7e-ae00-ead100b4ba74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"Book a meeting\",\n    \"notes\": \"No answer, follow upp tomorrow\",\n    \"date\": \"2021-09-29\",\n    \"closeDate\": \"2021-09-29\",\n    \"client\": {\n      \"id\": 2\n    },\n    \"contacts\": [\n      {\n        \"id\": 3\n      }\n    ],\n    \"users\": [\n      {\n        \"id\": 1\n      }\n    ],\n    \"activityType\": {\n      \"id\": 11\n    }\n}"},"url":"https://integration.upsales.com/api/v2/activities/{{id}}?token={{token}}","description":"<p>Update activity with closeDate to mark a activity as completed. All completed activities is default hidden in a users activity list but can always be filtered out and are visable in a company card.</p>\n","urlObject":{"protocol":"https","path":["api","v2","activities","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"12bf5d1d-ac50-47cf-989a-5795e66099a9","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"Book a meeting\",\n    \"notes\": \"No answer, follow upp tomorrow\",\n    \"date\": \"2021-09-29\",\n    \"closeDate\": \"2021-09-29\",\n    \"client\": {\n      \"id\": 2\n    },\n    \"contacts\": [\n      {\n        \"id\": 3\n      }\n    ],\n    \"users\": [\n      {\n        \"id\": 1\n      }\n    ],\n    \"activityType\": {\n      \"id\": 11\n    }\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/activities/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activities","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 06:55:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1003"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"3eb-J2HXHtx9FW5H5Ve5bNyGb/iR7Ks\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 1,\n        \"description\": \"Book a meeting\",\n        \"notes\": \"No answer, follow upp tomorrow\",\n        \"date\": \"2021-09-29\",\n        \"closeDate\": \"2021-09-28T22:00:00Z\",\n        \"time\": null,\n        \"client\": {\n            \"journeyStep\": \"lead\",\n            \"phone\": \"+46(0)8123456\",\n            \"name\": \"Salesboard\",\n            \"id\": 2,\n            \"users\": [\n                {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                }\n            ]\n        },\n        \"contacts\": [],\n        \"users\": [\n            {\n                \"role\": null,\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1,\n                \"email\": \"apidocs@upsales.com\"\n            }\n        ],\n        \"project\": null,\n        \"parentActivityId\": null,\n        \"parentAppointmentId\": null,\n        \"activityType\": {\n            \"name\": \"Telefonsamtal\",\n            \"id\": 11\n        },\n        \"regDate\": \"2021-09-29T06:40:28.000Z\",\n        \"isAppointment\": 0,\n        \"regBy\": {\n            \"name\": \"Gustav Petterson\",\n            \"id\": 1\n        },\n        \"modDate\": \"2021-09-29T06:55:28.000Z\",\n        \"opportunity\": null,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"priority\": 0,\n        \"outcomes\": [\n            {\n                \"user\": {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                },\n                \"date\": \"2021-09-29T06:40:28.000Z\",\n                \"outcome\": null,\n                \"type\": null,\n                \"commentId\": null\n            }\n        ],\n        \"lastOutcome\": {\n            \"user\": {\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1\n            },\n            \"date\": \"2021-09-29T06:40:28.000Z\",\n            \"outcome\": null,\n            \"type\": null,\n            \"commentId\": null\n        }\n    }\n}"}],"_postman_id":"bf27b076-50e6-4f7e-ae00-ead100b4ba74"},{"name":"Create To-do","id":"12e2b4e9-ab94-45e6-bcb2-d4547b234223","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"Reminder of something\",\n    \"users\": [\n      {\n        \"id\": 1\n      }\n    ],\n    \"activityType\": {\n      \"id\": 10\n    }\n}"},"url":"https://integration.upsales.com/api/v2/activities/?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","activities",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"586e56aa-f04b-4a31-87fd-065f67866cbe","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"Reminder of something\",\n    \"users\": [\n      {\n        \"id\": 1\n      }\n    ],\n    \"activityType\": {\n      \"id\": 10\n    }\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/activities/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activities",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 06:47:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"823"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"ETag","value":"W/\"337-/tUzPpkxKFMGm7K9Elvf1BRKWAA\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 5,\n        \"description\": \"Reminder of something\",\n        \"notes\": null,\n        \"date\": null,\n        \"closeDate\": null,\n        \"time\": null,\n        \"client\": null,\n        \"contacts\": [],\n        \"users\": [\n            {\n                \"role\": null,\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1,\n                \"email\": \"apidocs@upsales.com\"\n            }\n        ],\n        \"project\": null,\n        \"parentActivityId\": null,\n        \"parentAppointmentId\": null,\n        \"activityType\": {\n            \"name\": \"Todo\",\n            \"id\": 10\n        },\n        \"regDate\": \"2021-09-29T06:47:09.000Z\",\n        \"isAppointment\": 0,\n        \"regBy\": {\n            \"name\": \"Postman\",\n            \"id\": 2\n        },\n        \"modDate\": \"2021-09-29T06:47:09.000Z\",\n        \"closeTime\": null,\n        \"opportunity\": null,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"priority\": 0,\n        \"outcomes\": [\n            {\n                \"user\": {\n                    \"name\": \"Postman\",\n                    \"id\": 2\n                },\n                \"date\": \"2021-09-29T06:47:09.000Z\",\n                \"outcome\": null,\n                \"type\": null,\n                \"commentId\": null\n            }\n        ],\n        \"lastOutcome\": {\n            \"user\": {\n                \"name\": \"Postman\",\n                \"id\": 2\n            },\n            \"date\": \"2021-09-29T06:47:09.000Z\",\n            \"outcome\": null,\n            \"type\": null,\n            \"commentId\": null\n        }\n    }\n}"}],"_postman_id":"12e2b4e9-ab94-45e6-bcb2-d4547b234223"},{"name":"Mark To-do as done","id":"ed5acd12-e874-43f8-a492-34ca3c54d0ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"closeDate\": \"2021-09-29\"\n}"},"url":"https://integration.upsales.com/api/v2/activities/{{todoID}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","activities","{{todoID}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"c462ed4f-2628-4222-b89e-f369ba6854b5","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"closeDate\": \"2021-09-29\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/activities/{{todoID}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activities","{{todoID}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 06:53:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"955"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"ETag","value":"W/\"3bb-xOxGH/bHq7kFYQWD5ipEPpN7ZKI\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 2,\n        \"description\": \"Email Johanna\",\n        \"notes\": \"\",\n        \"date\": null,\n        \"closeDate\": \"2021-09-28T22:00:00Z\",\n        \"time\": null,\n        \"client\": {\n            \"journeyStep\": \"lead\",\n            \"phone\": \"+46(0)8123456\",\n            \"name\": \"Salesboard\",\n            \"id\": 2,\n            \"users\": [\n                {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                }\n            ]\n        },\n        \"contacts\": [],\n        \"users\": [\n            {\n                \"role\": null,\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1,\n                \"email\": \"apidocs@upsales.com\"\n            }\n        ],\n        \"project\": null,\n        \"parentActivityId\": null,\n        \"parentAppointmentId\": null,\n        \"activityType\": {\n            \"name\": \"Todo\",\n            \"id\": 10\n        },\n        \"regDate\": \"2021-09-29T06:41:01.000Z\",\n        \"isAppointment\": 0,\n        \"regBy\": {\n            \"name\": \"Gustav Petterson\",\n            \"id\": 1\n        },\n        \"modDate\": \"2021-09-29T06:53:21.000Z\",\n        \"opportunity\": null,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"priority\": 0,\n        \"outcomes\": [\n            {\n                \"user\": {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                },\n                \"date\": \"2021-09-29T06:41:01.000Z\",\n                \"outcome\": null,\n                \"type\": null,\n                \"commentId\": null\n            }\n        ],\n        \"lastOutcome\": {\n            \"user\": {\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1\n            },\n            \"date\": \"2021-09-29T06:41:01.000Z\",\n            \"outcome\": null,\n            \"type\": null,\n            \"commentId\": null\n        }\n    }\n}"}],"_postman_id":"ed5acd12-e874-43f8-a492-34ca3c54d0ea"},{"name":"Delete phone call or to-do","id":"82ddbcac-52d4-4866-976d-18556168e00a","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/activities/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","activities","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"a5f34f25-2fbd-40d2-b5d6-2a0551127203","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/activities/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activities","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 23 Apr 2018 11:02:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"82ddbcac-52d4-4866-976d-18556168e00a"}],"id":"963882a6-5754-4692-9c4f-bed115cefd97","description":"<p>Tasks helps you create a daily to-do list. Designed to give you an overview and help you check off your tasks and calls with ease. Tasks can be of different type (such as phone call and to-do - see ActivityTypes object) and needs be assigned to a particular User. </p>\n<h2 id=\"properties-for-a-phone-call\">Properties for a Phone Call</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Phone call ID</td>\n</tr>\n<tr>\n<td>description</td>\n<td><strong>String, mandatory</strong><br /> Describe what's your purpose with this phone call</td>\n</tr>\n<tr>\n<td>priority</td>\n<td><strong>Number</strong><br /> Set value \"3\" if High prio else value \"0\"</td>\n</tr>\n<tr>\n<td>notes</td>\n<td><strong>String</strong><br /> Notes you have for this Phone call</td>\n</tr>\n<tr>\n<td>date</td>\n<td><strong>Date</strong><br /> When you should complete this Phone call</td>\n</tr>\n<tr>\n<td>time</td>\n<td><strong>String</strong><br /> Exact time when this phone call should be completed</td>\n</tr>\n<tr>\n<td>closeDate</td>\n<td><strong>Date</strong><br /> Date when this phone call was completed</td>\n</tr>\n<tr>\n<td>closeTime</td>\n<td><strong>Date</strong><br /> Exact time when this activity was completed</td>\n</tr>\n<tr>\n<td>client</td>\n<td><strong>Object, mandatory</strong><br /> Which company you should contact</td>\n</tr>\n<tr>\n<td>contacts</td>\n<td><strong>Array</strong><br />  Which (one) contact on above company you should talk to</td>\n</tr>\n<tr>\n<td>users</td>\n<td><strong>Array, mandatory</strong><br /> Which user should complete this phone call</td>\n</tr>\n<tr>\n<td>project</td>\n<td><strong>Object</strong><br /> Connect to a Call list</td>\n</tr>\n<tr>\n<td>activityType</td>\n<td><strong>Object, mandatory</strong><br /> see ActivityTypes</td>\n</tr>\n<tr>\n<td>regDate</td>\n<td><strong>Date, read-only</strong><br /> Phone call regdate</td>\n</tr>\n<tr>\n<td>regBy</td>\n<td><strong>String, read-only</strong><br /> User that registered phone call</td>\n</tr>\n<tr>\n<td>isAppointment</td>\n<td><strong>Number, mandatory</strong><br /> Should always be 0 on phone call</td>\n</tr>\n<tr>\n<td>modDate</td>\n<td><strong>Date, read-only</strong> last modification date</td>\n</tr>\n<tr>\n<td>opportunity</td>\n<td><strong>Object</strong><br /> Connect to a opportunity</td>\n</tr>\n<tr>\n<td>custom</td>\n<td><strong>Array</strong><br /> Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n<tr>\n<td>userRemovable</td>\n<td><strong>Boolean, read-only</strong><br /> User has right to delete phone call in Upsales</td>\n</tr>\n<tr>\n<td>userEditable</td>\n<td><strong>Boolean, read-only</strong><br /> User has right to edit phone call in Upsales</td>\n</tr>\n<tr>\n<td>phoneCalls</td>\n<td><strong>Array</strong><br /> see phoneCalls</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"properties-for-a-to-do\">Properties for a To-do</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />To-do ID</td>\n</tr>\n<tr>\n<td>description</td>\n<td><strong>String, mandatory</strong><br /> Describe what's your purpose with this to-do</td>\n</tr>\n<tr>\n<td>priority</td>\n<td><strong>Number</strong><br /> Set value \"3\" if High prio else value \"0\"</td>\n</tr>\n<tr>\n<td>notes</td>\n<td><strong>String</strong><br /> Notes you have for this to-do</td>\n</tr>\n<tr>\n<td>date</td>\n<td><strong>Date</strong><br /> When you should complete this to-do</td>\n</tr>\n<tr>\n<td>time</td>\n<td><strong>String</strong><br /> Exact time when this to-do should be completed</td>\n</tr>\n<tr>\n<td>closeDate</td>\n<td><strong>Date</strong><br /> Date when this to-do was completed</td>\n</tr>\n<tr>\n<td>closeTime</td>\n<td><strong>Date</strong><br /> Exact time when this to-do was completed</td>\n</tr>\n<tr>\n<td>client</td>\n<td><strong>Object</strong><br /> Which company you should contact</td>\n</tr>\n<tr>\n<td>contacts</td>\n<td><strong>Array</strong><br />  Which (one) contact on above company you should talk to</td>\n</tr>\n<tr>\n<td>users</td>\n<td><strong>Array, mandatory</strong><br /> Which user should complete this to-do</td>\n</tr>\n<tr>\n<td>activityType</td>\n<td><strong>Object, mandatory</strong><br /> see ActivityTypes</td>\n</tr>\n<tr>\n<td>regDate</td>\n<td><strong>Date, read-only</strong><br /> To-do regdate</td>\n</tr>\n<tr>\n<td>regBy</td>\n<td><strong>String, read-only</strong><br /> User that registered activity</td>\n</tr>\n<tr>\n<td>isAppointment</td>\n<td><strong>Number, mandatory</strong><br /> Should always be 0 on to-do's</td>\n</tr>\n<tr>\n<td>modDate</td>\n<td><strong>Date, read-only</strong> last modification date</td>\n</tr>\n<tr>\n<td>opportunity</td>\n<td><strong>Object</strong><br /> Connect to a opportunity</td>\n</tr>\n<tr>\n<td>userRemovable</td>\n<td><strong>Boolean, read-only</strong><br /> User has right to delete to-do in Upsales</td>\n</tr>\n<tr>\n<td>userEditable</td>\n<td><strong>Boolean, read-only</strong><br /> User has right to edit to-do in Upsales</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"2979a3b9-3161-43e9-9f34-4eb0ad3e62b2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fa26ad05-e7a9-49da-a35e-a75fca78004b","type":"text/javascript","exec":[""]}}],"_postman_id":"963882a6-5754-4692-9c4f-bed115cefd97"},{"name":"Activity types","item":[{"name":"Get activity types","id":"ae289dfa-e1de-4fb2-a5de-4963984c7203","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://integration.upsales.com/api/v2/todoTypes?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","todoTypes"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"34b45d11-3c83-4f3b-af16-62e7b4325381","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://integration.upsales.com/api/v2/todoTypes?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","todoTypes"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 06:27:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"245"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"197"},{"key":"X-RateLimit-Reset","value":"1"},{"key":"ETag","value":"W/\"f5-PKpoMLMXlqypbReyzEoL0DPs88A\""}],"cookie":[],"responseTime":null,"body":"{\n    \"TODO\": {\n        \"id\": 10,\n        \"name\": \"Todo\",\n        \"roles\": [],\n        \"todoType\": 1,\n        \"hasOutcome\": false,\n        \"userRemovable\": true,\n        \"userEditable\": true\n    },\n    \"PHONE_CALL\": {\n        \"id\": 11,\n        \"name\": \"Phone call\",\n        \"roles\": [],\n        \"todoType\": 2,\n        \"hasOutcome\": true,\n        \"userRemovable\": true,\n        \"userEditable\": true\n    }\n}"}],"_postman_id":"ae289dfa-e1de-4fb2-a5de-4963984c7203"}],"id":"fcd09826-099e-4f04-8eb3-6a076b791f83","description":"<p>In Upsales you can have two different Activity Types, a phone call or a to-do. In this endpoint you will find the ID that you will need to create either a phone call or to-do.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Activity type ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>roles</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>hasOutcome</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>userRemovable</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>userEditable</td>\n<td>DEPRECATED</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"02275aec-191c-4a3e-92bc-7264cb2ecd09","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1d7de595-c639-474c-8817-40726c5d9601","type":"text/javascript","exec":[""]}}],"_postman_id":"fcd09826-099e-4f04-8eb3-6a076b791f83"},{"name":"Appointment","item":[{"name":"Get appointment list","id":"1346adbc-3479-45b7-b75c-9a78c4d291e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/appointments?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","appointments"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"23c40bbd-2bfd-417b-9242-7617b8ed6b87","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/appointments/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","appointments",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 08:59:28 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"5c2-rRXPKDFIzKNr5hvL3z7WgA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 1,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 5,\n            \"description\": \"Requirements analysis\",\n            \"notes\": null,\n            \"date\": \"2018-04-24T09:00:42.000Z\",\n            \"client\": {\n                \"phone\": \"123456\",\n                \"name\": \"Pied piper\",\n                \"id\": 2,\n                \"users\": [\n                    {\n                        \"id\": 1,\n                        \"name\": \"Gustav Petterson\",\n                        \"role\": null,\n                        \"email\": \"apidocs@upsales.com\"\n                    }\n                ]\n            },\n            \"users\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Gustav Petterson\",\n                    \"role\": null,\n                    \"email\": \"apidocs@upsales.com\"\n                }\n            ],\n            \"project\": null,\n            \"activityType\": {\n                \"name\": \"First meeting\",\n                \"id\": 7,\n                \"first\": 0\n            },\n            \"regDate\": \"2018-04-24T08:55:06.000Z\",\n            \"endDate\": \"2018-04-24T10:00:42.000Z\",\n            \"private\": 0,\n            \"isAppointment\": 1,\n            \"regBy\": {\n                \"id\": 2,\n                \"name\": \"Api docs\",\n                \"role\": null,\n                \"email\": \"B1_lCFunM@api.upsales.com\"\n            },\n            \"modDate\": \"2018-04-24T08:55:06.000Z\",\n            \"opportunity\": null,\n            \"clientConnection\": null,\n            \"contacts\": [\n                {\n                    \"phone\": \"08-860 804 04\",\n                    \"name\": \"Erlich Bachman\",\n                    \"id\": 5,\n                    \"cellPhone\": \"0732231312\"\n                }\n            ],\n            \"custom\": [],\n            \"location\": null,\n            \"userRemovable\": true,\n            \"userEditable\": true\n        }\n    ]\n}"}],"_postman_id":"1346adbc-3479-45b7-b75c-9a78c4d291e6"},{"name":"Create appointment","id":"b7fd1fe3-e88d-4f3c-8323-100e755ad3e2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \n    \"client\": 2,\n    \"users\":[  \n        {  \n        \t\"id\":1\n        }\n    ],\n    \"date\":\"2018-04-24T09:00:42.903Z\",\n    \"endDate\":\"2018-04-24T10:00:42.903Z\",\n    \"description\":\"Requirements analysis\",\n    \"isAppointment\":true,\n    \"activityType\":{  \n         \"id\":7\n    },\n    \"contacts\":[  \n        {  \n           \"id\":5\n        }\n    ]\n}\n"},"url":"https://integration.upsales.com/api/v2/appointments?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","appointments"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"58e50790-789d-4053-aa99-4bb4d942623d","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{  \n    \"client\": 2,\n    \"users\":[  \n        {  \n        \t\"id\":1\n        }\n    ],\n    \"date\":\"2018-04-24T09:00:42.903Z\",\n    \"endDate\":\"2018-04-24T10:00:42.903Z\",\n    \"description\":\"Requirements analysis\",\n    \"isAppointment\":true,\n    \"activityType\":{  \n         \"id\":7\n    },\n    \"contacts\":[  \n        {  \n           \"id\":5\n        }\n    ]\n}\n"},"url":{"raw":"https://integration.upsales.com/api/v2/appointments/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","appointments",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 08:55:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"490-GHD50mrz8ctazgxN+XhZng\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 5,\n        \"description\": \"Requirements analysis\",\n        \"notes\": null,\n        \"date\": \"2018-04-24T09:00:42.000Z\",\n        \"client\": {\n            \"phone\": \"123456\",\n            \"name\": \"Pied piper\",\n            \"id\": 2,\n            \"users\": [\n                {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                }\n            ]\n        },\n        \"users\": [\n            {\n                \"role\": null,\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1,\n                \"email\": \"apidocs@upsales.com\"\n            }\n        ],\n        \"project\": null,\n        \"activityType\": {\n            \"name\": \"First meeting\",\n            \"id\": 7,\n            \"first\": 0\n        },\n        \"regDate\": \"2018-04-24T08:55:06.000Z\",\n        \"endDate\": \"2018-04-24T10:00:42.000Z\",\n        \"private\": 0,\n        \"isAppointment\": 1,\n        \"regBy\": {\n            \"role\": null,\n            \"name\": \"Api docs\",\n            \"id\": 2\n        },\n        \"modDate\": \"2018-04-24T08:55:06.000Z\",\n        \"opportunity\": null,\n        \"clientConnection\": null,\n        \"contacts\": [\n            {\n                \"phone\": \"08-860 804 04\",\n                \"name\": \"Erlich Bachman\",\n                \"id\": 5,\n                \"cellPhone\": \"0732231312\"\n            }\n        ],\n        \"custom\": [],\n        \"location\": null,\n        \"userRemovable\": true,\n        \"userEditable\": true\n    }\n}"}],"_postman_id":"b7fd1fe3-e88d-4f3c-8323-100e755ad3e2"},{"name":"Update appointment","id":"79919ae8-cef0-40cd-a505-22a5a7ad0611","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \n    \"client\": 2,\n    \"users\":[  \n        {  \n        \t\"id\":1\n        }\n    ],\n    \"date\":\"2018-04-24T09:00:42.903Z\",\n    \"endDate\":\"2018-04-24T12:00:42.903Z\",\n    \"description\":\"Requirements analysis\",\n    \"isAppointment\":true,\n    \"activityType\":{  \n         \"id\":7\n    },\n    \"contacts\":[  \n        {  \n           \"id\":5\n        }\n    ]\n}\n"},"url":"https://integration.upsales.com/api/v2/appointments/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","appointments","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"7ad326c5-6c5a-456f-8e6c-8ac4ba08a9a4","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{  \n    \"client\": 2,\n    \"users\":[  \n        {  \n        \t\"id\":1\n        }\n    ],\n    \"date\":\"2018-04-24T09:00:42.903Z\",\n    \"endDate\":\"2018-04-24T12:00:42.903Z\",\n    \"description\":\"Requirements analysis\",\n    \"isAppointment\":true,\n    \"activityType\":{  \n         \"id\":7\n    },\n    \"contacts\":[  \n        {  \n           \"id\":5\n        }\n    ]\n}\n"},"url":{"raw":"https://integration.upsales.com/api/v2/appointments/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","appointments","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:00:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"490-SRk5x4TZvEOeyA+g0hTH6Q\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 5,\n        \"description\": \"Requirements analysis\",\n        \"notes\": null,\n        \"date\": \"2018-04-24T09:00:42.000Z\",\n        \"client\": {\n            \"phone\": \"123456\",\n            \"name\": \"Pied piper\",\n            \"id\": 2,\n            \"users\": [\n                {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                }\n            ]\n        },\n        \"users\": [\n            {\n                \"role\": null,\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1,\n                \"email\": \"apidocs@upsales.com\"\n            }\n        ],\n        \"project\": null,\n        \"activityType\": {\n            \"name\": \"First meeting\",\n            \"id\": 7,\n            \"first\": 0\n        },\n        \"regDate\": \"2018-04-24T08:55:06.000Z\",\n        \"endDate\": \"2018-04-24T12:00:42.000Z\",\n        \"private\": 0,\n        \"isAppointment\": 1,\n        \"regBy\": {\n            \"role\": null,\n            \"name\": \"Api docs\",\n            \"id\": 2\n        },\n        \"modDate\": \"2018-04-24T09:00:39.000Z\",\n        \"opportunity\": null,\n        \"clientConnection\": null,\n        \"contacts\": [\n            {\n                \"phone\": \"08-860 804 04\",\n                \"name\": \"Erlich Bachman\",\n                \"id\": 5,\n                \"cellPhone\": \"0732231312\"\n            }\n        ],\n        \"custom\": [],\n        \"location\": null,\n        \"userRemovable\": true,\n        \"userEditable\": true\n    }\n}"}],"_postman_id":"79919ae8-cef0-40cd-a505-22a5a7ad0611"},{"name":"Delete appointment","id":"a0087c81-10dc-433e-af37-4a57e9550c9a","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/appointments/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","appointments","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"ea37bd4d-118d-4a82-b09a-ee0b261343c7","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/appointments/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","appointments","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:01:47 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"a0087c81-10dc-433e-af37-4a57e9550c9a"}],"id":"7c5fe7bb-6750-4eb9-b86c-4d7e62db095b","description":"<p>Appointments helps you have control which companies you going to meet each day. Designed to give you an overview and be able to sync with exchange and google Calendar. Appointments can be of different type (such as first meeting, meeting or other meeting - see AppoinmentTypes object) and needs be assigned to a particular User. </p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Appointment ID</td>\n</tr>\n<tr>\n<td>description</td>\n<td><strong>String</strong><br /> Describe what's your purpose with this appointment</td>\n</tr>\n<tr>\n<td>location</td>\n<td><strong>String</strong><br /> Where should you meet up</td>\n</tr>\n<tr>\n<td>notes</td>\n<td><strong>String</strong><br /> Notes you have for this appointment</td>\n</tr>\n<tr>\n<td>date</td>\n<td><strong>Date, mandatory</strong><br /> When you should attend to the meeting</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td><strong>Date</strong><br /> Date when this activity was completed</td>\n</tr>\n<tr>\n<td>client</td>\n<td><strong>Object</strong><br /> Which company you should meet</td>\n</tr>\n<tr>\n<td>contacts</td>\n<td><strong>Array</strong><br />  Which contact(s) on above company you should have the appointment with</td>\n</tr>\n<tr>\n<td>users</td>\n<td><strong>Array, mandatory</strong><br /> Which user(s) should attend to this meeting</td>\n</tr>\n<tr>\n<td>project</td>\n<td><strong>Object</strong><br /> Connect to a campaign</td>\n</tr>\n<tr>\n<td>activityType</td>\n<td><strong>Object, mandatory</strong><br /> see AppointmentTypes</td>\n</tr>\n<tr>\n<td>regDate</td>\n<td><strong>Date, read-only</strong><br /> Appointment regdate</td>\n</tr>\n<tr>\n<td>regBy</td>\n<td><strong>Object, read-only</strong><br /> User that registered apppointment</td>\n</tr>\n<tr>\n<td>isAppointment</td>\n<td><strong>Boolean, mandatory</strong><br /> Should always be 1 on appointment</td>\n</tr>\n<tr>\n<td>modDate</td>\n<td><strong>Date, read-only</strong><br /> last modification date</td>\n</tr>\n<tr>\n<td>opportunity</td>\n<td><strong>Object</strong><br /> Connect to a opportunity</td>\n</tr>\n<tr>\n<td>custom</td>\n<td><strong>Array</strong><br /> Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n<tr>\n<td>userRemovable</td>\n<td><strong>Boolean, read-only</strong><br /> User has right to delete activity in Upsales</td>\n</tr>\n<tr>\n<td>userEditable</td>\n<td><strong>Boolean, read-only</strong><br /> User has right to edit activity in Upsales</td>\n</tr>\n<tr>\n<td>clientConnection</td>\n<td><strong>Number</strong><br /> ID of second company that will attend on this appointment</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"b452eac1-03c7-4bc4-8e42-849199489b85","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"879986a6-91af-46c2-a5ad-082245109f76","type":"text/javascript","exec":[""]}}],"_postman_id":"7c5fe7bb-6750-4eb9-b86c-4d7e62db095b"},{"name":"Appointment types","item":[{"name":"Get appointment types","id":"72e8c4ae-ccad-4e8d-9a88-d311abc93496","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/activitytypes/appointment?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","activitytypes","appointment"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"33d7bbee-1fe9-473a-bdf2-b50029463f9e","name":"Get appointment types","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/activitytypes/appointment?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activitytypes","appointment"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:12:45 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"120-zdvRLifezSBoen9DIDOLrw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 2,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 6,\n            \"name\": \"Meeting\",\n            \"first\": 0,\n            \"roles\": []\n        },\n        {\n            \"id\": 7,\n            \"name\": \"First meeting\",\n            \"first\": 0,\n            \"roles\": []\n        }\n    ]\n}"}],"_postman_id":"72e8c4ae-ccad-4e8d-9a88-d311abc93496"},{"name":"Create appointment type","id":"cc260d0f-eacb-4f01-b4e0-399d334b8903","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Cold call\"\n}"},"url":"https://integration.upsales.com/api/v2/activitytypes/activity?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","activitytypes","activity"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"12e09e46-2482-4f1b-8326-336087027a5a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"KAM meeting\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/activitytypes/appointment?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activitytypes","appointment"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:13:26 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6d-VE0M1zQdnq0YOo1LrgbOMA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 14,\n    \"name\": \"KAM meeting\",\n    \"first\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"cc260d0f-eacb-4f01-b4e0-399d334b8903"},{"name":"Update appointment type","id":"dca55249-984b-46ba-ad46-16a30cb006e3","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"KAM meeting\",\n\t\"roles\": [\n\t\t{\n\t\t\t\"id\": 1\n\t\t}\n\t\t\n\t\t]\n}"},"url":"https://integration.upsales.com/api/v2/activitytypes/appointment/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","activitytypes","appointment","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"3e0eb1d3-44a7-4656-b157-b5494d069ff5","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"KAM meeting\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/activitytypes/appointment/14?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activitytypes","appointment","14"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:14:15 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6d-VE0M1zQdnq0YOo1LrgbOMA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 14,\n    \"name\": \"KAM meeting\",\n    \"first\": 0,\n    \"roles\": []\n  }\n}"},{"id":"9f743c25-7147-459a-9a24-fb19d5d0f871","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"KAM meeting\",\n\t\"roles\": [\n\t\t{\n\t\t\t\"id\": 1\n\t\t}\n\t\t\n\t\t]\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/activitytypes/appointment/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activitytypes","appointment","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:15:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"ab-icoiGGOmWMrfS9ePvr+bGQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 14,\n    \"name\": \"KAM meeting\",\n    \"first\": 0,\n    \"roles\": [\n      {\n        \"name\": \"Sales\",\n        \"id\": 1\n      }\n    ]\n  }\n}"}],"_postman_id":"dca55249-984b-46ba-ad46-16a30cb006e3"},{"name":"Merge appointment type","id":"fba4edb3-b388-4df5-92a3-d6772a153e64","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/activitytypes/appointment/merge/{{id}}/with/{{id2}}?token={{token}}","description":"<p>You can't delete appointment types in Upsales, instead merge two appointment types to remove your appointment type you want to delete. All appointments will be moved to the other activity type your merge with.</p>\n","urlObject":{"protocol":"https","path":["api","v2","activitytypes","appointment","merge","{{id}}","with","{{id2}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"ed3c1dad-a8ec-46dd-8b47-716389470ce9","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/activitytypes/appointment/merge/{{id}}/with/{{id2}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","activitytypes","appointment","merge","{{id}}","with","{{id2}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:16:59 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"9b-krZR9RiYDW+nWXoy5tty0Q\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 6,\n    \"name\": \"Möte\",\n    \"roles\": [],\n    \"first\": 0,\n    \"userRemovable\": true,\n    \"userEditable\": true\n  }\n}"}],"_postman_id":"fba4edb3-b388-4df5-92a3-d6772a153e64"}],"id":"d2ca9be8-e7f6-4822-a366-a5738510c0c7","description":"<p>Appointment types represent different kinds of appointments that can be stored.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Appointment type ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Appointment type name</td>\n</tr>\n<tr>\n<td>roles</td>\n<td><strong>Array</strong><br /> Which roles should have access to your appointment type. Default is that all have access to it.</td>\n</tr>\n<tr>\n<td>default</td>\n<td><strong>Number</strong><br /> If the appointment type starts your sales process</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"850cdc55-b105-40ce-9360-ab89bad733d9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d0c02270-743c-4271-87cb-b9c91ee361bf","type":"text/javascript","exec":[""]}}],"_postman_id":"d2ca9be8-e7f6-4822-a366-a5738510c0c7"},{"name":"Client categories","item":[{"name":"Get extra categories","id":"3516c94c-96e6-4ff0-8788-78cd6a2eca5e","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/clientCategoryTypes?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","clientCategoryTypes"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"06435ff8-c3ba-4d2d-a775-5438f1712767","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/clientCategoryTypes?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","clientCategoryTypes"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:03:53 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"9b-fUmqkU5iRJrGTiRykyPBYQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 1,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Sold products\"\n        }\n    ]\n}"}],"_postman_id":"3516c94c-96e6-4ff0-8788-78cd6a2eca5e"},{"name":"Create extra category","id":"8e7b6587-1b88-4233-8743-4ac001d6703b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Products\"\n}"},"url":"https://integration.upsales.com/api/v2/clientCategoryTypes?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","clientCategoryTypes"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"37a254ed-6130-4d5f-a09d-30abd487bf81","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Products\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/clientCategoryTypes?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","clientCategoryTypes"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:10:09 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"48-1gGPto1nE+wScTvlTu9J8Q\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Products\"\n  }\n}"},{"id":"ee665ed3-30c8-4fd2-be0e-7e3312d16269","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Products Update\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/clientCategoryTypes/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","clientCategoryTypes","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:10:50 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"4f-1Ewf39gripvJ7GaF2Wo0sA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Products Update\"\n  }\n}"}],"_postman_id":"8e7b6587-1b88-4233-8743-4ac001d6703b"},{"name":"Update extra category","id":"5293bf0e-e928-4075-907e-1dc756c33484","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Products Update\"\n}"},"url":"https://integration.upsales.com/api/v2/clientCategoryTypes/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","clientCategoryTypes","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"38815c77-e747-4b52-a927-80dbde5e9fce","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Products Update\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/clientCategoryTypes/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","clientCategoryTypes","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:14:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"4f-1Ewf39gripvJ7GaF2Wo0sA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Products Update\"\n  }\n}"}],"_postman_id":"5293bf0e-e928-4075-907e-1dc756c33484"},{"name":"Delete extra category","id":"0b425117-79bd-4b7f-b82f-75eb7c83d617","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/clientCategoryTypes/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","clientCategoryTypes","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"19d14647-e47a-4ad1-9d6f-0f01f691131d","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/clientCategoryTypes/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","clientCategoryTypes","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:15:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"0b425117-79bd-4b7f-b82f-75eb7c83d617"},{"name":"Get category value list","id":"c5f93979-3ede-4e23-98ee-b66e766073ae","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/clientcategories?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","clientcategories"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"c4596128-90c4-4b7a-9c60-70b865d47625","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/clientcategories?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","clientcategories"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:17:35 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"131-LL9NG1Yi8pefajgxn8jhYA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 2,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Other\",\n            \"categoryType\": 0,\n            \"roles\": []\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Example value\",\n            \"categoryType\": 0,\n            \"roles\": []\n        }\n    ]\n}"}],"_postman_id":"c5f93979-3ede-4e23-98ee-b66e766073ae"},{"name":"Get category value","id":"7f41b921-9d85-46ba-a818-e9d0a4d1b20c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/clientcategories/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","clientcategories","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"3354fa23-169e-40e3-96cc-2880e76cb517","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/clientcategories/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","clientcategories","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:18:28 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6d-eCdOKN01BBARZLQN5XPGwA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"Other\",\n    \"categoryType\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"7f41b921-9d85-46ba-a818-e9d0a4d1b20c"},{"name":"Create category value","id":"830a17ee-d092-48e7-a915-7c5d30c19324","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Example name\",\n    \"categoryType\": 0\n}"},"url":"https://integration.upsales.com/api/v2/clientcategories?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","clientcategories"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"3f005e79-db42-4ed8-affc-bf2335185969","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Example name\",\n    \"categoryType\": 0\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/clientcategories?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","clientcategories"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:20:42 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"74-b/1ShpfD6tbcBmxUO6cWhg\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"197","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"1","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 9,\n    \"name\": \"Example name\",\n    \"categoryType\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"830a17ee-d092-48e7-a915-7c5d30c19324"},{"name":"Update category value","id":"eaad2b44-bca4-4bc0-87c3-50678390783d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Example Update\",\n    \"categoryType\": 0\n}"},"url":"https://integration.upsales.com/api/v2/clientcategories/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","clientcategories","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"25633036-f309-4bfe-aaa9-31bcb0034c05","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Example Update\",\n    \"categoryType\": 0\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/clientcategories/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","clientcategories","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:21:24 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"76-sK+gxod0iW2McdFrRmKP5g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 9,\n    \"name\": \"Example Update\",\n    \"categoryType\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"eaad2b44-bca4-4bc0-87c3-50678390783d"},{"name":"Delete category value","id":"2bb5c46b-d790-4236-9caf-d0e942b4382f","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/clientcategories/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","clientcategories","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"8cc4620f-673e-420d-a5f1-f12d21c7fa83","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/clientcategories/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","clientcategories","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:22:02 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"2bb5c46b-d790-4236-9caf-d0e942b4382f"}],"id":"307062bd-bacf-4750-a06d-5efe0893c195","description":"<p>Categories are useful when you want to tag up companies with one or more values. For example; A Customer, B Customer, or Prospect. You can create different categories (category types) and in each category type you can create which values to choose from. Upsales has a default category that you can not delete, it has ID 0. You can add/remove category values in our default category.</p>\n<h2 id=\"properties-for-category-types\">Properties for Category types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Category type ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Category type name</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"properties-for-category-values\">Properties for Category values</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Category value ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Category value name</td>\n</tr>\n<tr>\n<td>categoryType</td>\n<td><strong>Number, mandatory</strong><br /> Category type your value belongs to</td>\n</tr>\n<tr>\n<td>roles</td>\n<td><strong>Array</strong><br /> Which roles should have access to your Category value. Default is that all have access to it.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"f98126aa-aedb-4c3c-ae8f-7b98711369a1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"02a6f3f1-8cd4-4023-8d53-66a507865163","type":"text/javascript","exec":[""]}}],"_postman_id":"307062bd-bacf-4750-a06d-5efe0893c195"},{"name":"Contact categories","item":[{"name":"Get extra categories","id":"c78a101b-4d7f-415a-968b-edc64e4634fe","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/contactCategoryTypes?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contactCategoryTypes"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"3d5362cf-546a-4cb5-b092-2165d8b9a202","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/contactCategoryTypes?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contactCategoryTypes"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:38:55 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"a0-xYv+9quulKvk0QWzXYyHuA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 1,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"Products\"\n    }\n  ]\n}"}],"_postman_id":"c78a101b-4d7f-415a-968b-edc64e4634fe"},{"name":"Create extra category","id":"bd495119-8b01-4f58-b6b3-2b7f3eaffaa1","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Products\"\n}"},"url":"https://integration.upsales.com/api/v2/contactCategoryTypes?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contactCategoryTypes"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"9139e106-b0c5-4e13-8520-3f71aeed6468","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Products\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/contactCategoryTypes?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contactCategoryTypes"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:39:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"48-1gGPto1nE+wScTvlTu9J8Q\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Products\"\n  }\n}"}],"_postman_id":"bd495119-8b01-4f58-b6b3-2b7f3eaffaa1"},{"name":"Update extra category","id":"71fcf119-ef73-4e36-abdf-6bae92ad542b","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Products Update\"\n}"},"url":"https://integration.upsales.com/api/v2/contactCategoryTypes/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contactCategoryTypes","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"87aacb37-e4c1-49ad-b92e-27ec2bd1df08","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Products Update\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/contactCategoryTypes/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contactCategoryTypes","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:39:46 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"4f-1Ewf39gripvJ7GaF2Wo0sA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Products Update\"\n  }\n}"}],"_postman_id":"71fcf119-ef73-4e36-abdf-6bae92ad542b"},{"name":"Delete extra category","id":"edbe5592-42ba-4af1-8c06-df59be3df917","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/contactCategoryTypes/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contactCategoryTypes","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"6aee0ea2-9b50-486f-af81-8bdcbc659477","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/contactCategoryTypes/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contactCategoryTypes","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:40:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"edbe5592-42ba-4af1-8c06-df59be3df917"},{"name":"Get category value list","id":"0ad912e9-9a5b-41e5-bd67-ec0cd425d0a4","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/contactcategories?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contactcategories"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"8eb08a62-c6f6-4fe8-9e06-59512e46a6a7","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/contactcategories?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contactcategories"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:41:22 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"12f-qS7b1HZm1l90zJXblA9BvQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 2,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"Product A\",\n      \"categoryType\": 0,\n      \"roles\": []\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Product B\",\n      \"categoryType\": 0,\n      \"roles\": []\n    }\n  ]\n}"}],"_postman_id":"0ad912e9-9a5b-41e5-bd67-ec0cd425d0a4"},{"name":"Get category value","id":"1ee15301-714a-4c78-91dc-0928c2249061","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/contactcategories/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contactcategories","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"43cc710a-d6de-4518-a89e-765100d8b977","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/contactcategories/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contactcategories","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:41:47 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"71-zr7Wej/fR7LHDIEGaw+LSQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Product B\",\n    \"categoryType\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"1ee15301-714a-4c78-91dc-0928c2249061"},{"name":"Create category value","id":"753dedae-7d8e-421a-beae-0d1e6a898055","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Example name\",\n    \"categoryType\": 0\n}"},"url":"https://integration.upsales.com/api/v2/contactcategories?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contactcategories"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"74ee9b78-fe5c-455d-9815-c2706d2bf8ed","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Example name\",\n    \"categoryType\": 0\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/contactcategories?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contactcategories"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:42:08 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"74-pKeGw5TPXf0Zw0DKnCf+Cg\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 3,\n    \"name\": \"Example name\",\n    \"categoryType\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"753dedae-7d8e-421a-beae-0d1e6a898055"},{"name":"Update category value","id":"cca3f743-2299-4e63-a1e5-829244cc95bf","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Example Update\",\n    \"categoryType\": 0\n}"},"url":"https://integration.upsales.com/api/v2/contactcategories/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contactcategories","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"74197a44-bf58-48e0-a549-113f52668a79","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Example Update\",\n    \"categoryType\": 0\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/contactcategories/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contactcategories","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:42:29 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"76-qHQ+wvYvO5hmCaJg8LYRiw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Example Update\",\n    \"categoryType\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"cca3f743-2299-4e63-a1e5-829244cc95bf"},{"name":"Delete category value","id":"8cf4bad6-7d03-4ab1-9412-abf105578617","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/contactcategories/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contactcategories","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"f424e9be-c804-4cc0-934e-9d5f17980a30","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/contactcategories/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contactcategories","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:42:49 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"8cf4bad6-7d03-4ab1-9412-abf105578617"}],"id":"e9affc58-b9cd-4be5-8fe4-45310912bea6","description":"<p>Categories are useful when you want to tag up contacts with one or more values. For example; A Customer, B Customer, or Prospect. You can create different categories (category types) and in each category type you can create which values to choose from. Upsales has a default category that you can not delete, it has ID 0. You can add/remove category values in our default category.</p>\n<h2 id=\"properties-for-category-types\">Properties for Category types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Category type ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Category type name</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"properties-for-category-values\">Properties for Category values</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Category value ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Category value name</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>Number, mandatory</strong><br /> Category type your value belongs to</td>\n</tr>\n<tr>\n<td>roles</td>\n<td><strong>Array</strong><br /> Which roles should have access to your Category value. Default is that all have access to it.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"7f1cbd19-4c84-48cb-ae39-ed550cb07a58","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"89a55b3a-7dba-48e9-ba0f-ff8ef46f70c4","type":"text/javascript","exec":[""]}}],"_postman_id":"e9affc58-b9cd-4be5-8fe4-45310912bea6"},{"name":"Company","item":[{"name":"Get company list","id":"a0f4eb00-29fc-4fc9-bf84-3a752bb84350","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://integration.upsales.com/api/v2/accounts/?token={{token}}&isExternal=0","urlObject":{"protocol":"https","path":["api","v2","accounts",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"description":{"content":"<p>Find companies that you have in your database. All identified companies via web site visits has value 1.</p>\n","type":"text/plain"},"key":"isExternal","value":"0"}],"variable":[]}},"response":[{"id":"76e429c4-054d-40c3-acf9-92011bcb724d","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://integration.upsales.com/api/v2/accounts/?token={{token}}&isExternal=0","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","accounts",""],"query":[{"key":"token","value":"{{token}}"},{"key":"isExternal","value":"0","description":"Find companies that you have in your database. All identified companies via web site visits has value 1.\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 07:05:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3390"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"ETag","value":"W/\"d3e-zpD4JX5XHaONTZuUh54IA1ZJacM\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 2,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Salesboard\",\n            \"phone\": \"+46(0)8123456\",\n            \"fax\": null,\n            \"webpage\": null,\n            \"notes\": null,\n            \"parent\": null,\n            \"active\": 1,\n            \"currency\": null,\n            \"users\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Gustav Petterson\",\n                    \"role\": null,\n                    \"email\": \"apidocs@upsales.com\"\n                }\n            ],\n            \"regDate\": \"2021-09-29T05:59:05.000Z\",\n            \"regBy\": {\n                \"id\": 2,\n                \"name\": \"Postman\",\n                \"role\": null,\n                \"email\": \"7zQz9wdWB@api.upsales.com\"\n            },\n            \"modDate\": \"2021-09-29T05:59:05.000Z\",\n            \"dunsNo\": null,\n            \"projects\": [],\n            \"categories\": [],\n            \"addresses\": [],\n            \"mailAddress\": {\n                \"zipcode\": null,\n                \"city\": null,\n                \"state\": null,\n                \"address\": null,\n                \"type\": \"Mail\",\n                \"country\": null,\n                \"latitude\": null,\n                \"longitude\": null\n            },\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"connectedClients\": [],\n            \"soliditet\": {},\n            \"score\": 0,\n            \"scoreUpdateDate\": null,\n            \"isExternal\": 0,\n            \"externalClientData\": {},\n            \"hasOrder\": null,\n            \"hadOrder\": null,\n            \"hasOpportunity\": null,\n            \"hadOpportunity\": null,\n            \"hasActivity\": \"2022-04-22T22:00:00.000Z\",\n            \"hadActivity\": \"2021-09-28T22:00:00.000Z\",\n            \"hasMail\": false,\n            \"hasForm\": false,\n            \"hasVisit\": false,\n            \"hasAppointment\": null,\n            \"hadAppointment\": null,\n            \"assigned\": [],\n            \"ads\": {\n                \"clicks\": 0,\n                \"impressions\": 0\n            },\n            \"adCampaign\": [],\n            \"importId\": null,\n            \"orgNo\": null,\n            \"registrationDate\": null,\n            \"status\": null,\n            \"sniCode\": null,\n            \"companyForm\": null,\n            \"creditRating\": null,\n            \"turnover\": null,\n            \"profit\": null,\n            \"noEmployees\": null,\n            \"facebook\": null,\n            \"twitter\": null,\n            \"linkedin\": null,\n            \"sicCode\": null,\n            \"ukSicCode\": null,\n            \"naicsCode\": null,\n            \"processedBy\": {\n                \"entityType\": \"Activity\",\n                \"id\": 4,\n                \"date\": \"2022-04-22T22:00:00.000Z\",\n                \"time\": null,\n                \"user\": {\n                    \"id\": 1,\n                    \"name\": \"Gustav Petterson\",\n                    \"active\": 1\n                }\n            },\n            \"journeyStep\": \"lead\",\n            \"deactivationReason\": null,\n            \"deactivationDate\": null,\n            \"deactivatedBy\": null,\n            \"cfar\": null,\n            \"about\": null,\n            \"headquarters\": 0,\n            \"prospectingId\": null,\n            \"prospectingUpdateDate\": null\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Upsales Nordic AB\",\n            \"phone\": \"08-505 806 00\",\n            \"fax\": \"08-505 806 05\",\n            \"webpage\": \"www.upsales.com\",\n            \"notes\": \"Välkommen till Upsales CRM!\\r\\n\\r\\nOm du har några frågor eller behöver hjälp med att komma igång är du välkommen att kontakta någon av oss!\\r\\n\\r\\nMvh,\\r\\nUpsales Nordic AB\",\n            \"parent\": null,\n            \"active\": 1,\n            \"currency\": null,\n            \"users\": [],\n            \"regDate\": \"1979-12-31T23:00:00.000Z\",\n            \"regBy\": null,\n            \"modDate\": \"1979-12-31T23:00:00.000Z\",\n            \"dunsNo\": null,\n            \"projects\": [],\n            \"categories\": [],\n            \"addresses\": [\n                {\n                    \"zipcode\": \"11134\",\n                    \"city\": null,\n                    \"state\": \"Stockholm\",\n                    \"address\": \"Sveavägen 21\",\n                    \"type\": \"Mail\",\n                    \"country\": null,\n                    \"latitude\": null,\n                    \"longitude\": null\n                }\n            ],\n            \"mailAddress\": {\n                \"zipcode\": \"11134\",\n                \"city\": null,\n                \"state\": \"Stockholm\",\n                \"address\": \"Sveavägen 21\",\n                \"type\": \"Mail\",\n                \"country\": null,\n                \"latitude\": null,\n                \"longitude\": null\n            },\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"connectedClients\": [],\n            \"soliditet\": {},\n            \"score\": 0,\n            \"scoreUpdateDate\": null,\n            \"isExternal\": 0,\n            \"externalClientData\": {},\n            \"hasOrder\": null,\n            \"hadOrder\": null,\n            \"hasOpportunity\": null,\n            \"hadOpportunity\": null,\n            \"hasActivity\": null,\n            \"hadActivity\": null,\n            \"hasMail\": false,\n            \"hasForm\": false,\n            \"hasVisit\": false,\n            \"hasAppointment\": null,\n            \"hadAppointment\": null,\n            \"assigned\": [],\n            \"ads\": {\n                \"clicks\": 0,\n                \"impressions\": 0\n            },\n            \"adCampaign\": [],\n            \"importId\": null,\n            \"orgNo\": null,\n            \"registrationDate\": null,\n            \"status\": null,\n            \"sniCode\": null,\n            \"companyForm\": null,\n            \"creditRating\": null,\n            \"turnover\": null,\n            \"profit\": null,\n            \"noEmployees\": null,\n            \"facebook\": null,\n            \"twitter\": null,\n            \"linkedin\": null,\n            \"sicCode\": null,\n            \"ukSicCode\": null,\n            \"naicsCode\": null,\n            \"journeyStep\": \"lead\",\n            \"deactivationReason\": null,\n            \"deactivationDate\": null,\n            \"deactivatedBy\": null,\n            \"cfar\": null,\n            \"about\": null,\n            \"headquarters\": 0,\n            \"prospectingId\": null,\n            \"prospectingUpdateDate\": null\n        }\n    ]\n}"}],"_postman_id":"a0f4eb00-29fc-4fc9-bf84-3a752bb84350"},{"name":"Get company","event":[{"listen":"prerequest","script":{"id":"69c0f7a9-bc89-4057-aea4-471235dd2367","type":"text/javascript","exec":[""]}}],"id":"fc975751-53f5-4793-91bb-8634a8f7c89a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://integration.upsales.com/api/v2/accounts/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","accounts","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"de58d778-1a1b-4f8b-aabf-69a806f74742","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://integration.upsales.com/api/v2/accounts/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","accounts","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 07:05:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1717"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"6b5-T+wZAIH9q6hiNDknKJSTRmBq23o\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Upsales Nordic AB\",\n        \"phone\": \"08-505 806 00\",\n        \"fax\": \"08-505 806 05\",\n        \"webpage\": \"www.upsales.com\",\n        \"notes\": null,\n        \"parent\": null,\n        \"active\": 1,\n        \"currency\": null,\n        \"users\": [],\n        \"regDate\": \"1979-12-31T23:00:00.000Z\",\n        \"regBy\": null,\n        \"modDate\": \"1979-12-31T23:00:00.000Z\",\n        \"dunsNo\": null,\n        \"projects\": [],\n        \"categories\": [],\n        \"addresses\": [\n            {\n                \"zipcode\": \"11134\",\n                \"city\": null,\n                \"state\": \"Stockholm\",\n                \"address\": \"Sveavägen 21\",\n                \"type\": \"Mail\",\n                \"country\": null,\n                \"latitude\": null,\n                \"longitude\": null\n            }\n        ],\n        \"mailAddress\": {\n            \"zipcode\": \"11134\",\n            \"city\": null,\n            \"state\": \"Stockholm\",\n            \"address\": \"Sveavägen 21\",\n            \"type\": \"Mail\",\n            \"country\": null,\n            \"latitude\": null,\n            \"longitude\": null\n        },\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"connectedClients\": [],\n        \"soliditet\": {},\n        \"score\": 0,\n        \"scoreUpdateDate\": null,\n        \"isExternal\": 0,\n        \"externalClientData\": {},\n        \"hasOrder\": null,\n        \"hadOrder\": null,\n        \"hasOpportunity\": null,\n        \"hadOpportunity\": null,\n        \"hasActivity\": null,\n        \"hadActivity\": null,\n        \"hasMail\": false,\n        \"hasForm\": false,\n        \"hasVisit\": false,\n        \"hasAppointment\": null,\n        \"hadAppointment\": null,\n        \"assigned\": [],\n        \"ads\": {\n            \"clicks\": 0,\n            \"impressions\": 0\n        },\n        \"adCampaign\": [],\n        \"importId\": null,\n        \"orgNo\": null,\n        \"registrationDate\": null,\n        \"status\": null,\n        \"sniCode\": null,\n        \"companyForm\": null,\n        \"creditRating\": null,\n        \"turnover\": null,\n        \"profit\": null,\n        \"noEmployees\": null,\n        \"facebook\": null,\n        \"twitter\": null,\n        \"linkedin\": null,\n        \"sicCode\": null,\n        \"ukSicCode\": null,\n        \"naicsCode\": null,\n        \"journeyStep\": \"lead\",\n        \"deactivationReason\": null,\n        \"deactivationDate\": null,\n        \"deactivatedBy\": null,\n        \"cfar\": null,\n        \"prospecting\": null,\n        \"about\": null,\n        \"headquarters\": 0,\n        \"prospectingId\": null,\n        \"prospectingUpdateDate\": null\n    }\n}"}],"_postman_id":"fc975751-53f5-4793-91bb-8634a8f7c89a"},{"name":"Create company","id":"4dc50f4b-db75-4ed8-91df-6ef102486767","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Salesboard\",\n\t\"phone\": \"+46(0)8123456\",\n\t\"users\": [\n            {\n                \"id\": 1\n            }\n        ]\n}"},"url":"https://integration.upsales.com/api/v2/accounts/?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","accounts",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"5f2fceba-b6ba-491e-9de1-1d5783c12cc7","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Salesboard\",\n\t\"phone\": \"+46(0)8123456\",\n\t\"users\": [\n            {\n                \"id\": 1\n            }\n        ]\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/accounts/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","accounts",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Sep 2021 05:59:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1383"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"ETag","value":"W/\"567-f65wAc3V04lvD4AAqTBfXb30JJ4\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"Salesboard\",\n        \"phone\": \"+46(0)8123456\",\n        \"fax\": null,\n        \"webpage\": null,\n        \"notes\": null,\n        \"parent\": null,\n        \"active\": 1,\n        \"currency\": null,\n        \"users\": [\n            {\n                \"name\": \"Gustav Petterson\",\n                \"id\": 1\n            }\n        ],\n        \"regDate\": \"2021-09-29T05:59:05.000Z\",\n        \"regBy\": {\n            \"name\": \"Postman\",\n            \"id\": 2\n        },\n        \"modDate\": \"2021-09-29T05:59:05.000Z\",\n        \"dunsNo\": null,\n        \"projects\": [],\n        \"categories\": [],\n        \"addresses\": [],\n        \"mailAddress\": {\n            \"zipcode\": null,\n            \"city\": null,\n            \"state\": null,\n            \"address\": null,\n            \"type\": \"Mail\",\n            \"country\": null,\n            \"latitude\": null,\n            \"longitude\": null\n        },\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"connectedClients\": [],\n        \"soliditet\": {},\n        \"score\": 0,\n        \"scoreUpdateDate\": null,\n        \"isExternal\": 0,\n        \"externalClientData\": {},\n        \"hasOrder\": null,\n        \"hadOrder\": null,\n        \"hasOpportunity\": null,\n        \"hadOpportunity\": null,\n        \"hasActivity\": null,\n        \"hadActivity\": null,\n        \"hasMail\": false,\n        \"hasForm\": false,\n        \"hasVisit\": false,\n        \"hasAppointment\": null,\n        \"hadAppointment\": null,\n        \"assigned\": [],\n        \"ads\": {\n            \"clicks\": 0,\n            \"impressions\": 0\n        },\n        \"adCampaign\": [],\n        \"importId\": null,\n        \"orgNo\": null,\n        \"registrationDate\": null,\n        \"status\": null,\n        \"sniCode\": null,\n        \"companyForm\": null,\n        \"creditRating\": null,\n        \"turnover\": null,\n        \"profit\": null,\n        \"noEmployees\": null,\n        \"facebook\": null,\n        \"twitter\": null,\n        \"linkedin\": null,\n        \"sicCode\": null,\n        \"ukSicCode\": null,\n        \"naicsCode\": null,\n        \"journeyStep\": \"lead\",\n        \"deactivationReason\": null,\n        \"deactivationDate\": null,\n        \"deactivatedBy\": null,\n        \"cfar\": null,\n        \"about\": null,\n        \"headquarters\": 0,\n        \"prospectingId\": null,\n        \"prospectingUpdateDate\": null\n    }\n}"}],"_postman_id":"4dc50f4b-db75-4ed8-91df-6ef102486767"},{"name":"Update company","id":"1dedcf55-5a24-4bbf-b85b-eaac6accf26d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Salesboard\",\n\t\"users\": [\n            {\n                \"id\": 1\n            }\n        ],\n    \"custom\": [\n        {\n            \"value\": \"2210\",\n            \"fieldId\": 3\n        }\n    ],\n    \"phone\": \"+46(0)8123456\",\n    \"webpage\": \"http://salesboard.com\"\n}"},"url":"https://integration.upsales.com/api/v2/accounts/{{id}}/?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","accounts","{{id}}",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"acad32de-1172-48f6-b83c-ed34d979036b","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Salesboard\",\n\t\"phone\": \"+46(0)8123456\",\n\t\"users\": [\n            {\n                \"id\": 1\n            }\n        ],\n    \"webpage\": \"http://salesboard.com\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/accounts/{{id}}/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","accounts","{{id}}",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 21 Apr 2018 10:28:00 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"45c-HkqM3uZCyunpDQWa/Pl3SQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 4,\n    \"name\": \"Salesboard\",\n    \"phone\": \"+46(0)8123456\",\n    \"fax\": null,\n    \"webpage\": \"http://salesboard.com\",\n    \"notes\": null,\n    \"parent\": null,\n    \"users\": [\n      {\n        \"name\": \"Gustav Petterson\",\n        \"id\": 1\n      }\n    ],\n    \"regDate\": \"2018-04-21T10:24:28.000Z\",\n    \"regBy\": {\n      \"name\": \"Api docs\",\n      \"id\": 2\n    },\n    \"modDate\": \"2018-04-21T10:28:00.000Z\",\n    \"dunsNo\": null,\n    \"projects\": [],\n    \"categories\": [],\n    \"addresses\": [],\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true,\n    \"connectedClients\": [],\n    \"soliditet\": {},\n    \"score\": 0,\n    \"scoreUpdateDate\": null,\n    \"isExternal\": 0,\n    \"externalClientData\": {},\n    \"hasOrder\": null,\n    \"hasOpportunity\": null,\n    \"hadOpportunity\": null,\n    \"hasActivity\": null,\n    \"hadActivity\": null,\n    \"hasMail\": false,\n    \"hasForm\": false,\n    \"hasVisit\": false,\n    \"hasAppointment\": null,\n    \"ads\": {\n      \"clicks\": 0,\n      \"impressions\": 0\n    },\n    \"adCampaign\": [],\n    \"importId\": null,\n    \"hadAppointment\": null,\n    \"hadOrder\": null\n  }\n}"}],"_postman_id":"1dedcf55-5a24-4bbf-b85b-eaac6accf26d"},{"name":"Delete company","id":"457e7369-e567-4173-b241-b5cbc554ef0b","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/accounts/{{id}}/?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","accounts","{{id}}",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"5b486916-65b2-4f4e-973e-2339629d4099","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Pied Piper AB\"\n\t\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/accounts/{{id}}/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","accounts","{{id}}",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 20 Apr 2018 13:20:09 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"457e7369-e567-4173-b241-b5cbc554ef0b"},{"name":"Filter companies","id":"d8a44bfa-9e4c-4371-961e-d6906f2cc984","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/accounts/?token={{token}}&limit=50&user.id={{id}}&scoreUpdateDate=gte:2018-04-16&isExternal=0","urlObject":{"protocol":"https","path":["api","v2","accounts",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"description":{"content":"<p>Limit companies you get</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Filter on account manager</p>\n","type":"text/plain"},"key":"user.id","value":"{{id}}"},{"description":{"content":"<p>Get companies that received lead score after x date</p>\n","type":"text/plain"},"key":"scoreUpdateDate","value":"gte:2018-04-16"},{"description":{"content":"<p>Get only companies that is in your database</p>\n","type":"text/plain"},"key":"isExternal","value":"0"}],"variable":[]}},"response":[{"id":"32dd0f59-4976-4835-a407-8cff383570dd","name":"Filter companies","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/accounts/?token={{token}}&limit=50&user.id={{id}}&scoreUpdateDate=gte:2018-04-16&isExternal=0","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","accounts",""],"query":[{"key":"token","value":"{{token}}"},{"key":"limit","value":"50","description":"Limit companies you get"},{"key":"user.id","value":"{{id}}","description":"Filter on account manager"},{"key":"scoreUpdateDate","value":"gte:2018-04-16","description":"Get companies that received lead score after x date"},{"key":"isExternal","value":"0","description":"Get only companies that is in your database"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 21 Apr 2018 10:29:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1429-YazzFpxvzXPuMAoMFkf3zA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 3,\n    \"limit\": 50,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 4,\n      \"name\": \"Salesboard\",\n      \"phone\": \"+46(0)8123456\",\n      \"fax\": null,\n      \"notes\": null,\n      \"regDate\": \"2018-04-21T10:24:28+00:00\",\n      \"regBy\": {\n        \"id\": 2,\n        \"name\": \"Api docs\",\n        \"role\": null,\n        \"email\": \"B1_lCFunM@api.upsales.com\"\n      },\n      \"active\": 0,\n      \"score\": 0,\n      \"custom\": [],\n      \"users\": [\n        {\n          \"id\": 1,\n          \"name\": \"Gustav Petterson\",\n          \"role\": null,\n          \"email\": \"apidocs@upsales.com\"\n        }\n      ],\n      \"addresses\": [],\n      \"projects\": [],\n      \"categories\": [],\n      \"connectedClients\": [],\n      \"connectedToClients\": null,\n      \"externalClientData\": {},\n      \"adCampaign\": [],\n      \"webpage\": \"http://salesboard.com\",\n      \"parId\": null,\n      \"dunsNo\": null,\n      \"isExternal\": 0,\n      \"scoreUpdateDate\": null,\n      \"importId\": null,\n      \"mailAddress\": {\n        \"country\": null,\n        \"type\": \"Mail\",\n        \"address\": null,\n        \"state\": null,\n        \"city\": null,\n        \"zipcode\": null\n      },\n      \"soliditet\": {},\n      \"ads\": {\n        \"clicks\": 0,\n        \"impressions\": 0\n      },\n      \"parent\": null,\n      \"modDate\": \"2018-04-21T10:28:00+00:00\",\n      \"user\": null,\n      \"indexDate\": \"2018-04-21T10:28:00+00:00\",\n      \"userRemovable\": true,\n      \"userEditable\": true,\n      \"hasActivity\": null,\n      \"hadActivity\": null,\n      \"hasAppointment\": null,\n      \"hadAppointment\": null,\n      \"hasOpportunity\": null,\n      \"hadOpportunity\": null,\n      \"hasOrder\": null,\n      \"hadOrder\": null,\n      \"hasMail\": false,\n      \"hasForm\": false,\n      \"hasVisit\": false\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Pied piper\",\n      \"phone\": \"123456\",\n      \"fax\": null,\n      \"notes\": null,\n      \"regDate\": \"2018-04-21T10:11:29+00:00\",\n      \"regBy\": {\n        \"id\": 1,\n        \"name\": \"Gustav Petterson\",\n        \"role\": null,\n        \"email\": \"apidocs@upsales.com\"\n      },\n      \"active\": 0,\n      \"score\": 0,\n      \"custom\": [],\n      \"users\": [\n        {\n          \"id\": 1,\n          \"name\": \"Gustav Petterson\",\n          \"role\": null,\n          \"email\": \"apidocs@upsales.com\"\n        }\n      ],\n      \"addresses\": [],\n      \"projects\": [],\n      \"categories\": [],\n      \"connectedClients\": [],\n      \"connectedToClients\": null,\n      \"externalClientData\": {},\n      \"adCampaign\": [],\n      \"webpage\": \"http://piedpier.com\",\n      \"parId\": null,\n      \"dunsNo\": null,\n      \"isExternal\": 0,\n      \"scoreUpdateDate\": null,\n      \"importId\": null,\n      \"mailAddress\": {\n        \"country\": null,\n        \"type\": \"Mail\",\n        \"address\": null,\n        \"state\": null,\n        \"city\": null,\n        \"zipcode\": null\n      },\n      \"soliditet\": {},\n      \"ads\": {\n        \"clicks\": 0,\n        \"impressions\": 0\n      },\n      \"parent\": null,\n      \"modDate\": \"2018-04-21T10:11:29+00:00\",\n      \"user\": null,\n      \"indexDate\": \"2018-04-21T10:11:29+00:00\",\n      \"userRemovable\": true,\n      \"userEditable\": true,\n      \"hasActivity\": null,\n      \"hadActivity\": null,\n      \"hasAppointment\": null,\n      \"hadAppointment\": null,\n      \"hasOpportunity\": null,\n      \"hadOpportunity\": null,\n      \"hasOrder\": null,\n      \"hadOrder\": null,\n      \"hasMail\": false,\n      \"hasForm\": false,\n      \"hasVisit\": false\n    },\n    {\n      \"id\": 3,\n      \"name\": \"Example inc\",\n      \"phone\": \"45902342\",\n      \"fax\": null,\n      \"notes\": null,\n      \"regDate\": \"2018-04-21T10:12:28+00:00\",\n      \"regBy\": {\n        \"id\": 1,\n        \"name\": \"Gustav Petterson\",\n        \"role\": null,\n        \"email\": \"apidocs@upsales.com\"\n      },\n      \"active\": 0,\n      \"score\": 0,\n      \"custom\": [\n        {\n          \"value\": \"10000000\",\n          \"valueInteger\": 10000000,\n          \"valueDouble\": 10000000,\n          \"fieldId\": 2\n        }\n      ],\n      \"users\": [\n        {\n          \"id\": 1,\n          \"name\": \"Gustav Petterson\",\n          \"role\": null,\n          \"email\": \"apidocs@upsales.com\"\n        }\n      ],\n      \"addresses\": [],\n      \"projects\": [],\n      \"categories\": [],\n      \"connectedClients\": [],\n      \"connectedToClients\": null,\n      \"externalClientData\": {},\n      \"adCampaign\": [],\n      \"webpage\": null,\n      \"parId\": null,\n      \"dunsNo\": null,\n      \"isExternal\": 0,\n      \"scoreUpdateDate\": null,\n      \"importId\": null,\n      \"mailAddress\": {\n        \"country\": null,\n        \"type\": \"Mail\",\n        \"address\": null,\n        \"state\": null,\n        \"city\": null,\n        \"zipcode\": null\n      },\n      \"soliditet\": {},\n      \"ads\": {\n        \"clicks\": 0,\n        \"impressions\": 0\n      },\n      \"parent\": null,\n      \"modDate\": \"2018-04-21T10:12:28+00:00\",\n      \"user\": null,\n      \"indexDate\": \"2018-04-21T10:12:28+00:00\",\n      \"userRemovable\": true,\n      \"userEditable\": true,\n      \"hasActivity\": null,\n      \"hadActivity\": null,\n      \"hasAppointment\": null,\n      \"hadAppointment\": null,\n      \"hasOpportunity\": null,\n      \"hadOpportunity\": null,\n      \"hasOrder\": null,\n      \"hadOrder\": null,\n      \"hasMail\": false,\n      \"hasForm\": false,\n      \"hasVisit\": false\n    }\n  ]\n}"}],"_postman_id":"d8a44bfa-9e4c-4371-961e-d6906f2cc984"}],"id":"19ae71c0-6f38-45e9-bd07-9ceafaf2bcef","description":"<p>The Upsales Companies API allows you to manage your company data in Upsales. Companies in Upsales can represent any type of organization.</p>\n<h2 id=\"faq\">FAQ</h2>\n<h3 id=\"external-companies\">External companies</h3>\n<p>We recommend to us a filter to remove all identified web site visits thats not yet in your database. isExternal = 0 (Find companies in your database)</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Company ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Company name</td>\n</tr>\n<tr>\n<td>active</td>\n<td><strong>Boolean</strong><br /> Company status Active/inactive, when the company is inactive you can't create tasks, appointments, opportunities, orders or subscriptions on the company.</td>\n</tr>\n<tr>\n<td>deactivatedBy</td>\n<td><strong>Number</strong><br /> User ID that deactivated the company</td>\n</tr>\n<tr>\n<td>deactivationDate</td>\n<td><strong>date</strong><br /> Date when the company was deactivated</td>\n</tr>\n<tr>\n<td>deactivationReason</td>\n<td><strong>String</strong><br /> Reason why user deactivated the company</td>\n</tr>\n<tr>\n<td>about</td>\n<td><strong>String</strong><br /> Information about the Company</td>\n</tr>\n<tr>\n<td>phone</td>\n<td><strong>String</strong><br /> Company phone number</td>\n</tr>\n<tr>\n<td>orgNo</td>\n<td><strong>String</strong><br /> Company organisation number</td>\n</tr>\n<tr>\n<td>noEmployees</td>\n<td><strong>Number</strong><br /> Number of employees</td>\n</tr>\n<tr>\n<td>turnover</td>\n<td><strong>Currency</strong><br /> Company turnover</td>\n</tr>\n<tr>\n<td>profit</td>\n<td><strong>Currency</strong><br /> Company profit</td>\n</tr>\n<tr>\n<td>registrationDate</td>\n<td><strong>Date</strong><br /> Date when company was founded</td>\n</tr>\n<tr>\n<td>facebook</td>\n<td><strong>Link</strong><br /> Facebook URL for the company</td>\n</tr>\n<tr>\n<td>linkedin</td>\n<td><strong>Link</strong><br /> LinkedIn URL for the company</td>\n</tr>\n<tr>\n<td>twitter</td>\n<td><strong>Link</strong><br /> Twitter URL for the company</td>\n</tr>\n<tr>\n<td>creditRating</td>\n<td><strong>Select</strong><br /> Company credit Rating. A list of available status codes for credit rating is found under <a href=\"https://integration.upsales.com/api/v2/staticValues/creditRating/\">https://integration.upsales.com/api/v2/staticValues/creditRating/</a>. Use the ID from Static Value endpoint here.</td>\n</tr>\n<tr>\n<td>sicCode</td>\n<td><strong>Select</strong><br /> Company Sic Industry Code. A list of available status codes for Sic Code is found under <a href=\"https://integration.upsales.com/api/v2/staticValues/sicCode/\">https://integration.upsales.com/api/v2/staticValues/sicCode/</a>. Use the ID from Static Value endpoint here.</td>\n</tr>\n<tr>\n<td>naicsCode</td>\n<td><strong>Select</strong><br /> Company Naics Industry Code.  A list of available status codes for naics code is found under <a href=\"https://integration.upsales.com/api/v2/staticValues/naicsCode/\">https://integration.upsales.com/api/v2/staticValues/naicsCode/</a>. Use the ID from Static Value endpoint here.</td>\n</tr>\n<tr>\n<td>sniCode</td>\n<td><strong>Select</strong><br /> Company SNI Industry Code. A list of available status codes for SNI code is found under <a href=\"https://integration.upsales.com/api/v2/staticValues/sniCode/\">https://integration.upsales.com/api/v2/staticValues/sniCode/</a>. Use the ID from Static Value endpoint here.</td>\n</tr>\n<tr>\n<td>status</td>\n<td><strong>Select</strong><br /> Company Status Code. A list of available status codes is found under <a href=\"https://integration.upsales.com/api/v2/staticValues/status/\">https://integration.upsales.com/api/v2/staticValues/status/</a>. Use the ID from Static Value endpoint here.</td>\n</tr>\n<tr>\n<td>companyForm</td>\n<td><strong>Select</strong><br /> Company Form. A list of available status codes form Company Form is found under <a href=\"https://integration.upsales.com/api/v2/staticValues/companyForm/\">https://integration.upsales.com/api/v2/staticValues/companyForm/</a>. Use the ID from Static Value endpoint here.</td>\n</tr>\n<tr>\n<td>fax</td>\n<td><strong>String</strong><br /> Company fax</td>\n</tr>\n<tr>\n<td>notes</td>\n<td><strong>String</strong><br /> Notes on company</td>\n</tr>\n<tr>\n<td>regDate</td>\n<td><strong>String, read-only</strong><br /> Company regdate</td>\n</tr>\n<tr>\n<td>regBy</td>\n<td><strong>String, read-only</strong><br /> User that registered company</td>\n</tr>\n<tr>\n<td>score</td>\n<td><strong>Number, read-only</strong><br /> Total lead score</td>\n</tr>\n<tr>\n<td>custom</td>\n<td><strong>Array</strong> Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n<tr>\n<td>users</td>\n<td><strong>Object</strong> Account managers for this company</td>\n</tr>\n<tr>\n<td>addresses</td>\n<td><strong>Array</strong> Company Address</td>\n</tr>\n<tr>\n<td>projects</td>\n<td><strong>Array</strong> Campaigns company added to</td>\n</tr>\n<tr>\n<td>categories</td>\n<td><strong>Array</strong> Categories company added to</td>\n</tr>\n<tr>\n<td>connectedClients</td>\n<td><strong>Object</strong> other companies this company is conntected to</td>\n</tr>\n<tr>\n<td>adCampaign</td>\n<td><strong>Object</strong> Ad campaign this company is included in</td>\n</tr>\n<tr>\n<td>webpage</td>\n<td><strong>String</strong> Company webpage</td>\n</tr>\n<tr>\n<td>dunsNo</td>\n<td><strong>String</strong> Company dunsnumber</td>\n</tr>\n<tr>\n<td>isExternal</td>\n<td><strong>Number</strong> Identified web site visits not yet added to your database</td>\n</tr>\n<tr>\n<td>scoreUpdateDate</td>\n<td><strong>String, read-only</strong> Last date this company got lead score</td>\n</tr>\n<tr>\n<td>importId</td>\n<td><strong>Number, read-only</strong> Import ID from UI</td>\n</tr>\n<tr>\n<td>soliditet</td>\n<td><strong>Object, read-only</strong> Data from Bisnode</td>\n</tr>\n<tr>\n<td>ads</td>\n<td><strong>Object</strong> Total number of clicks and impressions</td>\n</tr>\n<tr>\n<td>modDate</td>\n<td><strong>String, read-only</strong> last modification date</td>\n</tr>\n<tr>\n<td>parent</td>\n<td><strong>Number</strong> Parent company ID</td>\n</tr>\n<tr>\n<td>headquarters</td>\n<td><strong>Boolean</strong> If company is a headquarter</td>\n</tr>\n<tr>\n<td>userRemovable</td>\n<td><strong>Boolean, read-only</strong> User has right to delete company in UI</td>\n</tr>\n<tr>\n<td>userEditable</td>\n<td><strong>Boolean, read-only</strong> User has right to edit company in UI</td>\n</tr>\n<tr>\n<td>hasActivity</td>\n<td><strong>String</strong> Date on nearest open activity</td>\n</tr>\n<tr>\n<td>hadActivity</td>\n<td><strong>String</strong> Date on last closed activity</td>\n</tr>\n<tr>\n<td>hasAppointment</td>\n<td><strong>String</strong> Date on nearest open appointment</td>\n</tr>\n<tr>\n<td>hadAppointment</td>\n<td><strong>String</strong> Date on last closed appointment</td>\n</tr>\n<tr>\n<td>hasOpportunity</td>\n<td><strong>String</strong> Date on nearest active opportunity</td>\n</tr>\n<tr>\n<td>hadOpportunity</td>\n<td><strong>String</strong> Date on last lost opportunity</td>\n</tr>\n<tr>\n<td>hasOrder</td>\n<td><strong>String</strong> Date on nearest won order</td>\n</tr>\n<tr>\n<td>hadOrder</td>\n<td><strong>String</strong> Date on last won order older then 12 month</td>\n</tr>\n<tr>\n<td>hasMail</td>\n<td><strong>Boolean</strong> Recived email</td>\n</tr>\n<tr>\n<td>hasForm</td>\n<td><strong>Boolean</strong> Form conversion</td>\n</tr>\n<tr>\n<td>hasVisit</td>\n<td><strong>Boolean</strong> Visited website</td>\n</tr>\n<tr>\n<td>processedBy</td>\n<td><strong>Object</strong> Which user activly working with this company</td>\n</tr>\n<tr>\n<td>cfar</td>\n<td><strong>Number</strong><br /> cfar ID</td>\n</tr>\n<tr>\n<td>creditsafe</td>\n<td><strong>object</strong><br /> information fetch from Prospecting</td>\n</tr>\n<tr>\n<td>prospectingId</td>\n<td><strong>Number</strong><br /> Prospecting ID</td>\n</tr>\n<tr>\n<td>prospectingUpdateDate</td>\n<td><strong>Date, read-only</strong><br /> Last time company was updated against Prospecting</td>\n</tr>\n<tr>\n<td>connectedToClients</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>externalClientData</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>assigned</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>parId</td>\n<td>DEPRECATED</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"b41fccdf-1995-47d9-a485-a7252100716c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"53a88513-cfd7-45df-8a42-84162f952e1b","type":"text/javascript","exec":[""]}}],"_postman_id":"19ae71c0-6f38-45e9-bd07-9ceafaf2bcef"},{"name":"Campaign","item":[{"name":"Get campaign list","id":"0a495fc8-eca0-47f2-ae56-aae1408d56ea","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/projects?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","projects"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"b8af30c5-6ae4-4f52-a5cc-c321c897495a","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/projects?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","projects"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:31:20 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"2f1-W1PGgNlKYZg/wj16menqUA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 1,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"Sales campaign April\",\n      \"startDate\": \"2018-04-24T00:00:00.000Z\",\n      \"active\": 1,\n      \"endDate\": null,\n      \"quota\": 0,\n      \"notes\": null,\n      \"regDate\": \"2018-04-24T09:30:21.000Z\",\n      \"users\": [\n        {\n          \"id\": 1,\n          \"name\": \"Gustav Petterson\",\n          \"role\": null,\n          \"email\": \"apidocs@upsales.com\"\n        }\n      ],\n      \"custom\": [],\n      \"stats\": {\n        \"activity\": 0,\n        \"appointment\": 0,\n        \"client\": 0,\n        \"contact\": 0,\n        \"order\": 0,\n        \"opportunity\": 0\n      },\n      \"userRemovable\": true,\n      \"userEditable\": true\n    }\n  ]\n}"}],"_postman_id":"0a495fc8-eca0-47f2-ae56-aae1408d56ea"},{"name":"Get campaign","id":"1c697a6e-a86e-4cf2-881b-f0330768f1bb","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/projects/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","projects","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"0dd57bdd-235d-4027-bae8-ac9cc71c04b9","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/projects/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","projects","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:31:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1d4-8pUaZka8l+BiiPXe7gIaXQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"Sales campaign April\",\n    \"startDate\": \"2018-04-24T00:00:00.000Z\",\n    \"active\": 1,\n    \"endDate\": null,\n    \"quota\": 0,\n    \"notes\": null,\n    \"regDate\": \"2018-04-24T09:30:21.000Z\",\n    \"users\": [\n      {\n        \"id\": 1,\n        \"name\": \"Gustav Petterson\",\n        \"role\": null,\n        \"email\": \"apidocs@upsales.com\"\n      }\n    ],\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true\n  }\n}"}],"_postman_id":"1c697a6e-a86e-4cf2-881b-f0330768f1bb"},{"name":"Create campaign","id":"a2815a70-e725-43be-84d0-02ab408b05b3","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n        \"name\": \"Sales campaign April\",\n        \"startDate\": \"2018-04-24\",\n        \"active\": 1,\n        \"users\": [\n            {\n                \"id\": 1\n            }\n        ]\n}"},"url":"https://integration.upsales.com/api/v2/projects?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","projects"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"9f6e7d76-00cf-42b6-984e-7b3df008783c","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n        \"name\": \"Sales campaign April\",\n        \"startDate\": \"2018-04-24\",\n        \"active\": 1,\n        \"users\": [\n            {\n                \"id\": 1\n            }\n        ]\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/projects?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","projects"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:40:42 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"196-uOAa4uLZbzPnQ0PtfSU/nQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Sales campaign April\",\n    \"startDate\": \"2018-04-24T00:00:00.000Z\",\n    \"active\": 1,\n    \"endDate\": null,\n    \"quota\": 0,\n    \"notes\": null,\n    \"regDate\": \"2018-04-24T09:40:42.000Z\",\n    \"users\": [\n      {\n        \"name\": \"Gustav Petterson\",\n        \"id\": 1\n      }\n    ],\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true\n  }\n}"}],"_postman_id":"a2815a70-e725-43be-84d0-02ab408b05b3"},{"name":"Update campaign","id":"a8c7f898-3175-4c92-99c1-cd465cfc30e3","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n        \"name\": \"Sales campaign April\",\n        \"startDate\": \"2018-04-24\",\n        \"active\": 1,\n        \"users\": [\n            {\n                \"id\": 1\n            }\n        ]\n}"},"url":"https://integration.upsales.com/api/v2/projects/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","projects","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"1f3b1ff9-9812-4141-bd1f-91a3b52e9895","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n        \"name\": \"Sales campaign April\",\n        \"startDate\": \"2018-04-24\",\n        \"active\": 1,\n        \"users\": [\n            {\n                \"id\": 1\n            }\n        ]\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/projects/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","projects","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:41:13 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"196-uOAa4uLZbzPnQ0PtfSU/nQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Sales campaign April\",\n    \"startDate\": \"2018-04-24T00:00:00.000Z\",\n    \"active\": 1,\n    \"endDate\": null,\n    \"quota\": 0,\n    \"notes\": null,\n    \"regDate\": \"2018-04-24T09:40:42.000Z\",\n    \"users\": [\n      {\n        \"name\": \"Gustav Petterson\",\n        \"id\": 1\n      }\n    ],\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true\n  }\n}"}],"_postman_id":"a8c7f898-3175-4c92-99c1-cd465cfc30e3"},{"name":"Inactivate campaign","id":"25e2524f-46e0-4fea-a86c-5eb6e097cfe6","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n        \"name\": \"Sales campaign April\",\n        \"startDate\": \"2018-04-24\",\n        \"active\": 0,\n        \"users\": [\n            {\n                \"id\": 1\n            }\n        ]\n}"},"url":"https://integration.upsales.com/api/v2/projects/{{id}}?token={{token}}","description":"<p>Hide campaign from users campaign list. Can always filter out inactive campaings in Upsales. </p>\n","urlObject":{"protocol":"https","path":["api","v2","projects","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"f3a2449a-e327-4ea8-84a4-686544aa04fa","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n        \"name\": \"Sales campaign April\",\n        \"startDate\": \"2018-04-24\",\n        \"active\": 0,\n        \"users\": [\n            {\n                \"id\": 1\n            }\n        ]\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/projects/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","projects","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:42:19 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"196-7SLh6Ql1V/3shEKJcMBOzQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Sales campaign April\",\n    \"startDate\": \"2018-04-24T00:00:00.000Z\",\n    \"active\": 0,\n    \"endDate\": null,\n    \"quota\": 0,\n    \"notes\": null,\n    \"regDate\": \"2018-04-24T09:40:42.000Z\",\n    \"users\": [\n      {\n        \"name\": \"Gustav Petterson\",\n        \"id\": 1\n      }\n    ],\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true\n  }\n}"}],"_postman_id":"25e2524f-46e0-4fea-a86c-5eb6e097cfe6"},{"name":"Delete campaign","id":"445dcddf-6bd3-45c9-88bc-c76d47f640b8","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/projects/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","projects","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"d4a4de87-112b-4247-be78-87e6b20b6b38","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/projects/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","projects","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Apr 2018 09:43:15 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"445dcddf-6bd3-45c9-88bc-c76d47f640b8"}],"id":"e0e7f37c-641e-4403-a30b-35df3e1fea4e","description":"<p>Campaigns helps you bundle companies, contacts, activities, appointments, opportunities and sales. Designed to give you an overview and help you tag your entities with metadata. I.e. all companies we want to contact for a specific sales campaign. </p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Campaign ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Campaign name</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td><strong>String, mandatory</strong><br /> Campaign startdate</td>\n</tr>\n<tr>\n<td>active</td>\n<td><strong>Boolean, mandatory</strong><br /> Active/inactive campaign</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td><strong>String</strong><br /> Campaign enddate</td>\n</tr>\n<tr>\n<td>quota</td>\n<td><strong>Number</strong><br /> Campaign quota</td>\n</tr>\n<tr>\n<td>notes</td>\n<td><strong>String</strong><br /> Campaign general notes</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td><strong>String</strong><br /> Campaign enddate</td>\n</tr>\n<tr>\n<td>regdate</td>\n<td><strong>String, read-only</strong><br /> Campaign regdate</td>\n</tr>\n<tr>\n<td>users</td>\n<td><strong>Array, mandatory</strong><br /> User(s) that will be able to see the campaign</td>\n</tr>\n<tr>\n<td>userRemovable</td>\n<td><strong>Bolean, read-only</strong> User has right to delete company in UI</td>\n</tr>\n<tr>\n<td>userEditable</td>\n<td><strong>Bolean, read-only</strong> User has right to edit company in UI</td>\n</tr>\n<tr>\n<td>custom</td>\n<td><strong>Array</strong> Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"fe67e8e8-352f-4621-b9f3-c515958449f5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8199b9a2-67f1-4ada-8f21-98b7bdd509ac","type":"text/javascript","exec":[""]}}],"_postman_id":"e0e7f37c-641e-4403-a30b-35df3e1fea4e"},{"name":"Contacts","item":[{"name":"Get contact list","id":"3695e421-4dc6-4e1d-ae8d-c8233b67b9f0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/contacts/?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contacts",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"23519f0c-0794-4192-b9e4-7c535c32aaff","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/contacts/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contacts",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 21 Apr 2018 11:02:49 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"191c-07zHN/JYiX5o2E3fhcIpYQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 5,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Support\",\n            \"phone\": \"08-505 806 01\",\n            \"cellPhone\": null,\n            \"email\": \"support@upsales.com\",\n            \"title\": \"Support\",\n            \"notes\": null,\n            \"client\": {\n                \"name\": \"Upsales Nordic AB\",\n                \"id\": 1,\n                \"users\": []\n            },\n            \"regDate\": \"2018-04-21T10:08:54.000Z\",\n            \"regBy\": null,\n            \"active\": 1,\n            \"modDate\": \"1979-12-31T23:00:00.000Z\",\n            \"categories\": [],\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"projects\": [],\n            \"segments\": [],\n            \"unsubscribed\": null,\n            \"score\": 0,\n            \"scoreUpdateDate\": null,\n            \"connectedClients\": [],\n            \"hasOrder\": null,\n            \"hadOrder\": null,\n            \"hasOpportunity\": null,\n            \"hadOpportunity\": null,\n            \"hasActivity\": null,\n            \"hadActivity\": null,\n            \"hasMail\": false,\n            \"hasForm\": false,\n            \"hasVisit\": false,\n            \"hasAppointment\": null,\n            \"optIn\": null,\n            \"optInForm\": null,\n            \"unsubscribedMailCampaign\": null,\n            \"importId\": null,\n            \"optins\": []\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Richard Hendricks\",\n            \"phone\": null,\n            \"cellPhone\": null,\n            \"email\": \"richard.hendricks@piedpiper.com\",\n            \"title\": \"CEO\",\n            \"notes\": null,\n            \"client\": {\n                \"name\": \"Pied piper\",\n                \"id\": 2,\n                \"users\": [\n                    {\n                        \"id\": 1,\n                        \"name\": \"Gustav Petterson\",\n                        \"role\": null,\n                        \"email\": \"apidocs@upsales.com\"\n                    }\n                ]\n            },\n            \"regDate\": \"2018-04-21T10:35:57.000Z\",\n            \"regBy\": {\n                \"id\": 1,\n                \"name\": \"Gustav Petterson\",\n                \"role\": null,\n                \"email\": \"apidocs@upsales.com\"\n            },\n            \"active\": 1,\n            \"modDate\": \"2018-04-21T10:35:57.000Z\",\n            \"categories\": [],\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"projects\": [],\n            \"segments\": [],\n            \"unsubscribed\": null,\n            \"score\": 0,\n            \"scoreUpdateDate\": \"2018-04-19T12:26:19+00:00\",\n            \"connectedClients\": [],\n            \"hasOrder\": null,\n            \"hadOrder\": null,\n            \"hasOpportunity\": null,\n            \"hadOpportunity\": null,\n            \"hasActivity\": null,\n            \"hadActivity\": null,\n            \"hasMail\": false,\n            \"hasForm\": false,\n            \"hasVisit\": false,\n            \"hasAppointment\": null,\n            \"optIn\": null,\n            \"optInForm\": null,\n            \"unsubscribedMailCampaign\": null,\n            \"importId\": null,\n            \"optins\": []\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Erlich Bachman\",\n            \"phone\": \"08-860 804 04\",\n            \"cellPhone\": \"0732231312\",\n            \"email\": \"erlich.bachman@piedpiper.com\",\n            \"title\": \"Software designer\",\n            \"notes\": null,\n            \"client\": {\n                \"name\": \"Pied piper\",\n                \"id\": 2,\n                \"users\": [\n                    {\n                        \"id\": 1,\n                        \"name\": \"Gustav Petterson\",\n                        \"role\": null,\n                        \"email\": \"apidocs@upsales.com\"\n                    }\n                ]\n            },\n            \"regDate\": \"2018-04-21T11:01:14.000Z\",\n            \"regBy\": {\n                \"id\": 2,\n                \"name\": \"Api docs\",\n                \"role\": null,\n                \"email\": \"B1_lCFunM@api.upsales.com\"\n            },\n            \"active\": 0,\n            \"modDate\": \"2018-04-21T11:01:14.000Z\",\n            \"categories\": [],\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"projects\": [],\n            \"segments\": [],\n            \"unsubscribed\": null,\n            \"score\": 0,\n            \"scoreUpdateDate\": \"2018-04-20T08:51:40+00:00\",\n            \"connectedClients\": [],\n            \"hasOrder\": null,\n            \"hadOrder\": null,\n            \"hasOpportunity\": null,\n            \"hadOpportunity\": null,\n            \"hasActivity\": null,\n            \"hadActivity\": null,\n            \"hasMail\": false,\n            \"hasForm\": false,\n            \"hasVisit\": false,\n            \"hasAppointment\": null,\n            \"optIn\": null,\n            \"optInForm\": null,\n            \"unsubscribedMailCampaign\": null,\n            \"importId\": null,\n            \"optins\": []\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Johan Andersson\",\n            \"phone\": \"123456\",\n            \"cellPhone\": \"0702037341\",\n            \"email\": \"jandersson@exampleinc.com\",\n            \"title\": \"CMO\",\n            \"notes\": null,\n            \"client\": {\n                \"name\": \"Example inc\",\n                \"id\": 3,\n                \"users\": [\n                    {\n                        \"id\": 1,\n                        \"name\": \"Gustav Petterson\",\n                        \"role\": null,\n                        \"email\": \"apidocs@upsales.com\"\n                    }\n                ]\n            },\n            \"regDate\": \"2018-04-21T10:36:55.000Z\",\n            \"regBy\": {\n                \"id\": 1,\n                \"name\": \"Gustav Petterson\",\n                \"role\": null,\n                \"email\": \"apidocs@upsales.com\"\n            },\n            \"active\": 1,\n            \"modDate\": \"2018-04-21T10:36:55.000Z\",\n            \"categories\": [],\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"projects\": [],\n            \"segments\": [],\n            \"unsubscribed\": null,\n            \"score\": 0,\n            \"scoreUpdateDate\": \"2018-04-20T11:26:59+00:00\",\n            \"connectedClients\": [],\n            \"hasOrder\": null,\n            \"hadOrder\": null,\n            \"hasOpportunity\": null,\n            \"hadOpportunity\": null,\n            \"hasActivity\": null,\n            \"hadActivity\": null,\n            \"hasMail\": false,\n            \"hasForm\": false,\n            \"hasVisit\": false,\n            \"hasAppointment\": null,\n            \"optIn\": null,\n            \"optInForm\": null,\n            \"unsubscribedMailCampaign\": null,\n            \"importId\": null,\n            \"optins\": []\n        }\n    ]\n}"}],"_postman_id":"3695e421-4dc6-4e1d-ae8d-c8233b67b9f0"},{"name":"Get contact","event":[{"listen":"prerequest","script":{"id":"69c0f7a9-bc89-4057-aea4-471235dd2367","type":"text/javascript","exec":[""]}}],"id":"7965571c-01c7-4316-88d1-670744871a8f","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Pied Piper\"\n}"},"url":"https://integration.upsales.com/api/v2/contacts/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contacts","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"4072c973-2f13-4eb4-a46c-9e7c8ca967c9","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Pied Piper\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/contacts/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contacts","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 21 Apr 2018 10:38:24 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"50e-P+z5dK39b4f0ajWbigxEKA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"197","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"4","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 3,\n    \"name\": \"Richard Hendricks\",\n    \"phone\": null,\n    \"cellPhone\": null,\n    \"email\": \"richard.hendricks@piedpiper.com\",\n    \"title\": \"CEO\",\n    \"notes\": null,\n    \"client\": {\n      \"name\": \"Pied piper\",\n      \"id\": 2,\n      \"users\": [\n        {\n          \"id\": 1,\n          \"name\": \"Gustav Petterson\",\n          \"role\": null,\n          \"email\": \"apidocs@upsales.com\"\n        }\n      ]\n    },\n    \"regDate\": \"2018-04-21T10:35:57.000Z\",\n    \"regBy\": {\n      \"id\": 1,\n      \"name\": \"Gustav Petterson\",\n      \"role\": null,\n      \"email\": \"apidocs@upsales.com\"\n    },\n    \"active\": 1,\n    \"modDate\": \"2018-04-21T10:35:57.000Z\",\n    \"categories\": [],\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true,\n    \"projects\": [],\n    \"segments\": [],\n    \"unsubscribed\": null,\n    \"score\": 0,\n    \"scoreUpdateDate\": \"2018-04-19T12:26:19+00:00\",\n    \"connectedClients\": [],\n    \"hasOrder\": null,\n    \"hadOrder\": null,\n    \"hasOpportunity\": null,\n    \"hadOpportunity\": null,\n    \"hasActivity\": null,\n    \"hadActivity\": null,\n    \"hasMail\": false,\n    \"hasForm\": false,\n    \"hasVisit\": false,\n    \"hasAppointment\": null,\n    \"optIn\": null,\n    \"optInForm\": null,\n    \"unsubscribedMailCampaign\": null,\n    \"importId\": null,\n    \"optins\": []\n  }\n}"}],"_postman_id":"7965571c-01c7-4316-88d1-670744871a8f"},{"name":"Create contact","id":"4bfe5a33-f0c9-484f-902a-47c014eb827e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Erlich\",\n    \"lastName\": \"Bachman\",\n    \"phone\": \"08-860 804 04\",\n    \"cellPhone\": \"0732231312\",\n    \"email\": \"erlich.bachman@piedpiper.com\",\n    \"title\": \"Software designer\",\n    \"active\": 1,\n    \"client\": {\n    \t\"id\": 2\n         }\n}"},"url":"https://integration.upsales.com/api/v2/contacts/?token={{token}}&usingFirstnameLastname=true","urlObject":{"protocol":"https","path":["api","v2","contacts",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"description":{"content":"<p>Set to <code>true</code> if you're sending  the contact name on the <code>firstName</code> and <code>lastName</code> properties in the body. Else you have to use the <code>name</code> property</p>\n","type":"text/plain"},"key":"usingFirstnameLastname","value":"true"}],"variable":[]}},"response":[{"id":"06c82463-8f4e-4954-92d6-b9cc287e7ffe","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Erlich Bachman\",\n    \"phone\": \"08-860 804 04\",\n    \"cellPhone\": \"0732231312\",\n    \"email\": \"erlich.bachman@piedpiper.com\",\n    \"title\": \"Software designer\",\n    \"active\": 1,\n    \"client\": {\n    \t\"id\": 24\n         }\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/contacts/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contacts",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:31:03 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"3dc-TsXOh2SE8RFR6U+7U0h2/g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 7,\n    \"name\": \"Erlich Bachman\",\n    \"firstName\": \"Erlich\",\n    \"lastName\": \"Bachman\",\n    \"phone\": \"08-860 804 04\",\n    \"cellPhone\": \"0732231312\",\n    \"email\": \"erlich.bachman@piedpiper.com\",\n    \"title\": \"Software designer\",\n    \"notes\": null,\n    \"client\": {\n      \"name\": \"Pied piper\",\n      \"id\": 2,\n      \"users\": [\n        {\n          \"name\": \"Gustav Petterson\",\n          \"id\": 1\n        }\n      ]\n    },\n    \"regDate\": \"2018-04-22T15:31:02.000Z\",\n    \"regBy\": {\n      \"name\": \"Api docs\",\n      \"id\": 2,\n      \"email\": \"B1_lCFunM@api.upsales.com\"\n    },\n    \"active\": 1,\n    \"modDate\": \"2018-04-22T15:31:02.000Z\",\n    \"categories\": [],\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true,\n    \"projects\": [],\n    \"segments\": [],\n    \"unsubscribed\": null,\n    \"score\": 0,\n    \"scoreUpdateDate\": \"2018-04-21T06:53:21+00:00\",\n    \"connectedClients\": [],\n    \"optIn\": null,\n    \"optInForm\": null,\n    \"unsubscribedMailCampaign\": null,\n    \"importId\": null,\n    \"optins\": []\n  }\n}"}],"_postman_id":"4bfe5a33-f0c9-484f-902a-47c014eb827e"},{"name":"Update contact","id":"60903230-fe61-4954-b436-b8de3eea1ad1","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Erlich Bachman\",\n    \"phone\": \"08-860 804 04\",\n    \"cellPhone\": \"0732231312\",\n    \"email\": \"erlich.bachman@piedpiper.com\",\n    \"title\": \"Software designer\",\n    \"active\": 1,\n    \"client\": {\n    \t\"id\": 2\n         }\n}"},"url":"https://integration.upsales.com/api/v2/contacts/{{id}}?token={{token}}&usingFirstnameLastname","urlObject":{"protocol":"https","path":["api","v2","contacts","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"description":{"content":"<p>Set to <code>true</code> if you're sending  the contact name on the <code>firstName</code> and <code>lastName</code> properties in the body. Else you have to use the <code>name</code> property</p>\n","type":"text/plain"},"key":"usingFirstnameLastname","value":null}],"variable":[]}},"response":[{"id":"430f0290-10cb-433d-a294-07d0d70937b0","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Erlich Bachman\",\n    \"phone\": \"08-860 804 04\",\n    \"cellPhone\": \"0732231312\",\n    \"email\": \"erlich.bachman@piedpiper.com\",\n    \"title\": \"Software designer\",\n    \"active\": 1,\n    \"client\": {\n    \t\"id\": 2\n         }\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/contacts/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contacts","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 21 Apr 2018 14:31:36 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"3dc-hN6pYhMmAZiyl0rZGqK/XA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 5,\n    \"name\": \"Erlich Bachman\",\n    \"phone\": \"08-860 804 04\",\n    \"cellPhone\": \"0732231312\",\n    \"email\": \"erlich.bachman@piedpiper.com\",\n    \"title\": \"Software designer\",\n    \"notes\": null,\n    \"client\": {\n      \"name\": \"Pied piper\",\n      \"id\": 2,\n      \"users\": [\n        {\n          \"name\": \"Gustav Petterson\",\n          \"id\": 1\n        }\n      ]\n    },\n    \"regDate\": \"2018-04-21T11:01:14.000Z\",\n    \"regBy\": {\n      \"name\": \"Api docs\",\n      \"id\": 2,\n      \"email\": \"B1_lCFunM@api.upsales.com\"\n    },\n    \"active\": 1,\n    \"modDate\": \"2018-04-21T14:31:36.000Z\",\n    \"categories\": [],\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true,\n    \"projects\": [],\n    \"segments\": [],\n    \"unsubscribed\": null,\n    \"score\": 0,\n    \"scoreUpdateDate\": \"2018-04-20T08:51:40+00:00\",\n    \"connectedClients\": [],\n    \"optIn\": null,\n    \"optInForm\": null,\n    \"unsubscribedMailCampaign\": null,\n    \"importId\": null,\n    \"optins\": []\n  }\n}"}],"_postman_id":"60903230-fe61-4954-b436-b8de3eea1ad1"},{"name":"Delete contact","id":"bf87a396-f14e-44a1-ba56-f7bdda3c5da7","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/contacts/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","contacts","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"83197954-6b6f-473b-8f33-a9498573a387","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/contacts/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","contacts","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:31:38 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"bf87a396-f14e-44a1-ba56-f7bdda3c5da7"}],"id":"80a5bdf0-b641-4162-b84e-ec7242e173bd","description":"<p>The Upsales Contact API allows you to manage your contacts data in Upsales. Contacts in Upsales can represent any type of person you want to store in your database. Contacts needs to be added to a company.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Numberg, read-only</strong>  <br />Contact ID</td>\n</tr>\n<tr>\n<td>firstName</td>\n<td><strong>String, mandatory</strong>  <br />Contact first name</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td><strong>String, mandatory</strong>  <br />Contact last name</td>\n</tr>\n<tr>\n<td>phone</td>\n<td><strong>String</strong>  <br />Contact direct phone number</td>\n</tr>\n<tr>\n<td>cellPhone</td>\n<td><strong>String</strong>  <br />Contact mobile number</td>\n</tr>\n<tr>\n<td>email</td>\n<td><strong>String</strong>  <br />Contact email</td>\n</tr>\n<tr>\n<td>title</td>\n<td><strong>String</strong>  <br />Contact title</td>\n</tr>\n<tr>\n<td>notes</td>\n<td><strong>String</strong>  <br />Notes on that contact</td>\n</tr>\n<tr>\n<td>client</td>\n<td><strong>Object</strong>  <br />Company this contact works on</td>\n</tr>\n<tr>\n<td>active</td>\n<td><strong>Number</strong> Contact is active on that company</td>\n</tr>\n<tr>\n<td>regDate</td>\n<td><strong>Date, read-only</strong>  <br />Contact regdate</td>\n</tr>\n<tr>\n<td>regBy</td>\n<td><strong>String, read-only</strong>  <br />User that registered company</td>\n</tr>\n<tr>\n<td>moddate</td>\n<td><strong>String, read-only</strong> last modification date</td>\n</tr>\n<tr>\n<td>categories</td>\n<td><strong>Array</strong> Categories contact added to</td>\n</tr>\n<tr>\n<td>custom</td>\n<td><strong>Array</strong> Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n<tr>\n<td>userRemovable</td>\n<td><strong>Bolean, read-only</strong> User has right to delete contact in UI</td>\n</tr>\n<tr>\n<td>userEditable</td>\n<td><strong>Bolean, read-only</strong> User has right to edit contact in UI</td>\n</tr>\n<tr>\n<td>projects</td>\n<td><strong>Array</strong> Campaigns contact added to</td>\n</tr>\n<tr>\n<td>segments</td>\n<td><strong>Array</strong> Segments contact added to</td>\n</tr>\n<tr>\n<td>unsubscribe</td>\n<td><strong>String</strong> Contact has unsubscribed from emails</td>\n</tr>\n<tr>\n<td>score</td>\n<td><strong>Number, read-only</strong>  <br />Total lead score</td>\n</tr>\n<tr>\n<td>scoreUpdateDate</td>\n<td><strong>String, read-only</strong> Last date this contact got lead score</td>\n</tr>\n<tr>\n<td>connectedClients</td>\n<td><strong>Object</strong> Companies this contact is conntected to</td>\n</tr>\n<tr>\n<td>hasOrder</td>\n<td><strong>String</strong> Date on nearest won order</td>\n</tr>\n<tr>\n<td>hadOrder</td>\n<td><strong>String</strong> Date on last won order older then 12 month</td>\n</tr>\n<tr>\n<td>hasActivity</td>\n<td><strong>String/Bool</strong> Date to nearest open activity if it has date otherwise true</td>\n</tr>\n<tr>\n<td>hadActivity</td>\n<td><strong>String</strong> Date on last closed activity</td>\n</tr>\n<tr>\n<td>hasAppointment</td>\n<td><strong>String</strong> Date on nearest open appointment</td>\n</tr>\n<tr>\n<td>hadAppointment</td>\n<td><strong>String</strong> Date on last closed appointment</td>\n</tr>\n<tr>\n<td>hasOpportunity</td>\n<td><strong>String</strong> Date on nearest active opportunity</td>\n</tr>\n<tr>\n<td>hadOpportunity</td>\n<td><strong>String</strong> Date on last lost opportunity</td>\n</tr>\n<tr>\n<td>hasMail</td>\n<td><strong>Boolean</strong> Recived email</td>\n</tr>\n<tr>\n<td>hasForm</td>\n<td><strong>Boolean</strong> Form conversion</td>\n</tr>\n<tr>\n<td>hasVisit</td>\n<td><strong>Boolean</strong> Visited website</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>optinForm</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>optins</td>\n<td><strong>Object</strong> Opt-ins contact has accepted</td>\n</tr>\n<tr>\n<td>importId</td>\n<td><strong>Number, read-only</strong> Import ID from UI</td>\n</tr>\n<tr>\n<td>unsubscribeMailCampaign</td>\n<td>Mail campaign you unsubscribed from</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"88c471ef-a661-4804-a37b-e9bdf03851a8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6cfe4e5b-a385-477e-bd68-9a66a9f08135","type":"text/javascript","exec":[""]}}],"_postman_id":"80a5bdf0-b641-4162-b84e-ec7242e173bd"},{"name":"Custom fields","item":[{"name":"Company","item":[{"name":"Get company custom fields","id":"1e7ff62b-8b0d-4e00-924f-a123d87ee7c6","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/account?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","account"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"d0b5455b-4b92-4b34-908c-7dbc0bd3f652","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/account?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","account"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:31:59 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"981-4cZrA7+S9icPK0hX4cO+cQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 5,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 5,\n      \"name\": \"Turnover\",\n      \"default\": \"\",\n      \"datatype\": \"String\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"parFieldId\": null,\n      \"sortId\": 0,\n      \"obligatoryField\": 1,\n      \"maxLength\": 0,\n      \"roles\": []\n    },\n    {\n      \"id\": 1,\n      \"name\": \"Org. no\",\n      \"default\": \"\",\n      \"datatype\": \"String\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": \"ORG_NO\",\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"parFieldId\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 0,\n      \"maxLength\": 0,\n      \"roles\": []\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Turnover\",\n      \"default\": \"\",\n      \"datatype\": \"Currency\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": \"TURNOVER\",\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"parFieldId\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 0,\n      \"maxLength\": 0,\n      \"roles\": []\n    },\n    {\n      \"id\": 3,\n      \"name\": \"Rating\",\n      \"default\": [\n        \"AAA - Högsta kreditvärdighet\",\n        \"AA - God kreditvärdighet\",\n        \"A - Kreditvärdig\",\n        \"Nystartat företag\",\n        \"B - Kredit mot säkerhet\",\n        \"C - Kredit avslås\",\n        \"Ej fastställd\",\n        \"\"\n      ],\n      \"datatype\": \"Select\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": \"RATING\",\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"parFieldId\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 0,\n      \"maxLength\": 0,\n      \"roles\": []\n    },\n    {\n      \"id\": 10,\n      \"name\": \"Birthday\",\n      \"default\": \"\",\n      \"datatype\": \"Date\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"parFieldId\": null,\n      \"sortId\": 0,\n      \"obligatoryField\": 1,\n      \"maxLength\": 0,\n      \"roles\": []\n    }\n  ]\n}"}],"_postman_id":"1e7ff62b-8b0d-4e00-924f-a123d87ee7c6"},{"name":"Create company custom field","id":"663c3050-7f6b-4b72-b471-6ee7e3d054b9","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Turnover\",\n            \"default\": \"\",\n            \"datatype\": \"Integer\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/account?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","account"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"a272fe28-e46c-4798-b517-54831a8cdecf","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Turnover\",\n            \"default\": \"\",\n            \"datatype\": \"Integer\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/account?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","account"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:32:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"194-NnHj5HLAPFD3jX9yTHASoA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 11,\n    \"name\": \"Turnover\",\n    \"default\": \"\",\n    \"datatype\": \"Integer\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"parFieldId\": null,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"663c3050-7f6b-4b72-b471-6ee7e3d054b9"},{"name":"Update company custom field","id":"befac879-468c-4fea-aad6-da869ad5204b","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Org no\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"locked\": 0,\n            \"viewonly\": 0,\n            \"query\": null,\n            \"searchable\": 0,\n            \"alias\": \"ORG_NO\",\n            \"dropdownDefault\": \"\",\n            \"lookupField\": 0,\n            \"parFieldId\": 0,\n            \"sortId\": 0,\n            \"obligatoryField\": 0,\n            \"maxLength\": 0,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/account/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","account","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"4ff2c8b7-9139-443f-8535-bb9e07f163a0","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Org. no\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"locked\": 0,\n            \"viewonly\": 0,\n            \"query\": null,\n            \"searchable\": 0,\n            \"alias\": \"ORG_NO\",\n            \"dropdownDefault\": \"\",\n            \"lookupField\": 0,\n            \"parFieldId\": 0,\n            \"sortId\": 0,\n            \"obligatoryField\": 0,\n            \"maxLength\": 0,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/account/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","account","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 21 Apr 2018 14:46:52 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"192-/6aLUzEM3mm1vS5felpweA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"Org. no\",\n    \"default\": \"\",\n    \"datatype\": \"String\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": \"ORG_NO\",\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"parFieldId\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 0,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"befac879-468c-4fea-aad6-da869ad5204b"},{"name":"Delete company custom field","id":"970448a2-df10-4b42-8833-3a1c153f3ace","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/account/{{id}}?token={{token}}","description":"<p><strong>REMEMBER</strong> all data saved in that fields will be deleted as well when you delete a specific custom field.</p>\n","urlObject":{"protocol":"https","path":["api","v2","customfields","account","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"06a6df45-1501-444e-97db-75e3a9e18970","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/account/11?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","account","11"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:32:37 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"970448a2-df10-4b42-8833-3a1c153f3ace"}],"id":"1499560d-a255-455d-8bd8-1c11b346311b","_postman_id":"1499560d-a255-455d-8bd8-1c11b346311b","description":""},{"name":"Contact","item":[{"name":"Get contact custom fields","id":"c2e841ca-117c-4dbf-aa25-2f749bc3b6d7","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/contact?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","contact"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"4f18be6b-57db-4c3a-a4a8-2ce3d56d92a5","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/contact?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","contact"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:33:00 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"20e-OA8Mop8JurThsffP2t8sZQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 1,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"Second email\",\n      \"default\": \"\",\n      \"datatype\": \"Email\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"parFieldId\": null,\n      \"sortId\": -1,\n      \"obligatoryField\": 0,\n      \"maxLength\": 0,\n      \"roles\": []\n    }\n  ]\n}"}],"_postman_id":"c2e841ca-117c-4dbf-aa25-2f749bc3b6d7"},{"name":"Create contact custom field","id":"6e5491e8-6363-4364-8b47-1b2c0847de68","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Birthday\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/contact?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","contact"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"2393a9c8-a6ff-400d-a5b8-06bb1998b0b9","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Birthday\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/contact?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","contact"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:33:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"190-wWCuaHvsp9Td3zW0+zruvA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 3,\n    \"name\": \"Birthday\",\n    \"default\": \"\",\n    \"datatype\": \"Date\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"parFieldId\": null,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"6e5491e8-6363-4364-8b47-1b2c0847de68"},{"name":"Update contact custom field","id":"e47d1604-b0fa-4047-b9af-7dfb590d313d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Birthday update\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/contact/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","contact","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"a423bebf-d00f-4f51-97c2-2c455669938e","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Birthday update\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/contact/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","contact","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 07:58:50 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"197-xwPjCz4aiuJgPzAkKpAnfg\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"Birthday Update\",\n        \"default\": \"\",\n        \"datatype\": \"Date\",\n        \"visible\": 1,\n        \"editable\": 1,\n        \"locked\": 0,\n        \"viewonly\": 0,\n        \"query\": null,\n        \"searchable\": 0,\n        \"alias\": null,\n        \"dropdownDefault\": \"\",\n        \"lookupField\": 0,\n        \"parFieldId\": null,\n        \"sortId\": 0,\n        \"obligatoryField\": 1,\n        \"maxLength\": 0,\n        \"roles\": []\n    }\n}"}],"_postman_id":"e47d1604-b0fa-4047-b9af-7dfb590d313d"},{"name":"Delete contact custom field","id":"8cd4d1c7-29e3-4f44-b157-dd1f1312c75c","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/contact/{{id}}?token={{token}}","description":"<p><strong>REMEMBER</strong> all data saved in that fields will be deleted as well when you delete a specific custom field.</p>\n","urlObject":{"protocol":"https","path":["api","v2","customfields","contact","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"876b7217-bfb4-4e21-b9b3-cae94dac4ebb","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/contact/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","contact","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 07:59:52 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"},{"id":"9a900812-f524-4a52-899e-6c853dd0ab72","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/contact/3?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","contact","3"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:33:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"8cd4d1c7-29e3-4f44-b157-dd1f1312c75c"}],"id":"ca0f5d33-fc09-497c-9cc8-a18141e211ec","_postman_id":"ca0f5d33-fc09-497c-9cc8-a18141e211ec","description":""},{"name":"Activity","item":[{"name":"Get activity custom fields","id":"8766d876-5402-4502-bdaf-d0243bbea505","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/activity?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","activity"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"de189c52-8dc8-4fbb-9b7d-5dfa7166afba","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/activity?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","activity"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:34:02 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1fd-vhoWSa36y0FNBzyM2E67vw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 1,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"Enddate with competitor\",\n      \"default\": \"\",\n      \"datatype\": \"Date\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 1,\n      \"maxLength\": 0,\n      \"roles\": []\n    }\n  ]\n}"}],"_postman_id":"8766d876-5402-4502-bdaf-d0243bbea505"},{"name":"Create activity custom field","id":"17f75898-a160-44a6-90e7-05ae06b82fd6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Enddate with competitor\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/activity?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","activity"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"6672d059-106a-4f79-8799-d31089301aa8","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Enddate with competitor\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/activity?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","activity"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:34:22 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"187-aroYq6amQcNZMdcoTIIBsQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 3,\n    \"name\": \"Enddate with competitor\",\n    \"default\": \"\",\n    \"datatype\": \"Date\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"17f75898-a160-44a6-90e7-05ae06b82fd6"},{"name":"Update activity custom field","id":"7f591875-79c7-4f76-a906-7bcc12aec836","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Enddate with competitor\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/activity/3?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","activity","3"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"7880d969-bace-43d3-8dc0-53e784277744","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Enddate with competitor\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/activity/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","activity","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:34:48 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"187-aroYq6amQcNZMdcoTIIBsQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 3,\n    \"name\": \"Enddate with competitor\",\n    \"default\": \"\",\n    \"datatype\": \"Date\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"7f591875-79c7-4f76-a906-7bcc12aec836"},{"name":"Delete activity custom field","id":"c32d30b0-6288-4e1a-8369-40471813d6fd","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/activity/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","activity","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"5d5e489c-b54f-49aa-9286-c7de56baf03a","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/activity/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","activity","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:27:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"c32d30b0-6288-4e1a-8369-40471813d6fd"}],"id":"1c1ea6b7-eff8-48e8-b7bc-84a7b9a82447","event":[{"listen":"prerequest","script":{"id":"87834094-2823-4eb1-be32-faea797a6f72","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6ba358eb-15fe-4842-a916-4a0bd7a6fdaa","type":"text/javascript","exec":[""]}}],"_postman_id":"1c1ea6b7-eff8-48e8-b7bc-84a7b9a82447","description":""},{"name":"Appointment","item":[{"name":"Get appointment custom fields","id":"1c1c1398-6f0c-4ed7-b8c6-fea57b333c91","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/appointment?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","appointment"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"1c1c1398-6f0c-4ed7-b8c6-fea57b333c91"},{"name":"Create appointment custom field","id":"326c761f-887d-4da2-95c1-64db54868aab","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Enddate with competitor\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/appointment?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","appointment"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"326c761f-887d-4da2-95c1-64db54868aab"},{"name":"Update appointment custom field","id":"a04a1abb-dbdd-4569-ae36-b27f319c28fd","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Enddate with competitor\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/appointment/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","appointment","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"7bdd8b11-e357-4081-a64c-0f84ab4c5a94","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Enddate with competitor\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/appointment/3?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","appointment","3"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:39:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"187-aroYq6amQcNZMdcoTIIBsQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 3,\n    \"name\": \"Enddate with competitor\",\n    \"default\": \"\",\n    \"datatype\": \"Date\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"a04a1abb-dbdd-4569-ae36-b27f319c28fd"},{"name":"Delete appointment custom field","id":"d0d951ac-e0e1-4d48-affd-05ee0e7b67a4","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/appointment/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","appointment","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"6fa95935-2c7d-4f2b-a6be-09222c96c44d","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/appointment/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","appointment","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:38:27 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"d0d951ac-e0e1-4d48-affd-05ee0e7b67a4"}],"id":"f1c865ff-634e-415e-971f-59283a2c2cf8","event":[{"listen":"prerequest","script":{"id":"33be32d9-5b89-4a8d-b046-5cd173e75732","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3b696a23-e12d-49f5-9ca7-99ef196eb7a6","type":"text/javascript","exec":[""]}}],"_postman_id":"f1c865ff-634e-415e-971f-59283a2c2cf8","description":""},{"name":"Order & opportunity","item":[{"name":"Get order/opportunity custom fields","id":"163c7a69-b359-4689-bd0e-65cb68c01d10","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/order?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","order"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"6e334014-2b6f-4cbe-bb27-120950b65618","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/order?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","order"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:45:37 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1f2-Z5Cavm/+Kcwq3Bol/LZeTA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 1,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"Invoice date\",\n      \"default\": \"\",\n      \"datatype\": \"Date\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 1,\n      \"maxLength\": 0,\n      \"roles\": []\n    }\n  ]\n}"}],"_postman_id":"163c7a69-b359-4689-bd0e-65cb68c01d10"},{"name":"Create order/opportunity custom field","id":"c48b8a08-d2af-4e46-9b3d-dedef7b36ac4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Invoice date\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/order?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","order"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"8e578aa5-2b4e-473b-abb3-f23ba4351022","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Invoice date\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/order?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","order"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:42:57 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"17c-tynwutUjGuK/U1XdsyY0xw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Invoice date\",\n        \"default\": \"\",\n        \"datatype\": \"Date\",\n        \"visible\": 1,\n        \"editable\": 1,\n        \"locked\": 0,\n        \"viewonly\": 0,\n        \"query\": null,\n        \"searchable\": 0,\n        \"alias\": null,\n        \"dropdownDefault\": \"\",\n        \"lookupField\": 0,\n        \"sortId\": 0,\n        \"obligatoryField\": 1,\n        \"maxLength\": 0,\n        \"roles\": []\n    }\n}"}],"_postman_id":"c48b8a08-d2af-4e46-9b3d-dedef7b36ac4"},{"name":"Update order/opportunity custom field","id":"2543faf6-39f5-4952-9282-562c2445b9cf","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Invoice date\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/order/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","order","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"90878024-a30a-4fc9-89f4-233811ffc641","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Invoice date\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/order/1?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","order","1"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:44:30 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"17c-FfKSHTqlY9PxKRyF4DGLlA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"Invoice date\",\n    \"default\": \"\",\n    \"datatype\": \"Date\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"2543faf6-39f5-4952-9282-562c2445b9cf"},{"name":"Delete order/opportunity custom field","id":"cb92f2ab-8ef8-4e44-9129-3b23e70ac9bb","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Invoice date\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/order/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","order","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"c9c84565-84ac-4fd5-b2ba-00d3a8428c8f","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Invoice date\",\n            \"default\": \"\",\n            \"datatype\": \"Date\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/order/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","order","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:43:31 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"cb92f2ab-8ef8-4e44-9129-3b23e70ac9bb"}],"id":"593590ae-a397-4d61-ae30-e50319a47596","event":[{"listen":"prerequest","script":{"id":"9c002e06-2f35-43cf-90c8-6794f9d0892c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c92ad4a6-e735-4b01-a289-d31c60f8e54b","type":"text/javascript","exec":[""]}}],"_postman_id":"593590ae-a397-4d61-ae30-e50319a47596","description":""},{"name":"Order row","item":[{"name":"Get order row custom fields","id":"f07a9dce-562f-491a-9265-73a821487fbe","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/orderrow?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","orderrow"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"a1f7043a-4514-4ff3-8e96-8940f4517852","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/orderrow?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","orderrow"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:55:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"404-GVneoqk/hBR3WfnNwaF1VA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"196","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"1","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 2,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 4,\n      \"name\": \"Unit\",\n      \"default\": [\n        \"Montly\",\n        \"Quartely\",\n        \"Every 6 months\",\n        \"Yearly\"\n      ],\n      \"datatype\": \"Select\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 0,\n      \"maxLength\": 0,\n      \"roles\": []\n    },\n    {\n      \"id\": 3,\n      \"name\": \"Unit\",\n      \"default\": [\n        \"Montly\",\n        \"Quartely\",\n        \"Yearly\"\n      ],\n      \"datatype\": \"Select\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"sortId\": -1,\n      \"obligatoryField\": 0,\n      \"maxLength\": 0,\n      \"roles\": []\n    }\n  ]\n}"}],"_postman_id":"f07a9dce-562f-491a-9265-73a821487fbe"},{"name":"Create order row custom fields","id":"01fbe682-cf8a-4d5c-86b3-060f0a729da2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Unit\",\n\t\"datatype\":\"Select\",\n\t\"default\":[\"Montly\",\"Quartely\",\"Yearly\"],\n\t\"obligatoryField\":false,\n\t\"visible\":1,\n\t\"editable\":1,\n\t\"dropdownDefault\":[],\n\t\"sortId\":0\n}"},"url":"https://integration.upsales.com/api/v2/customfields/orderrow?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","orderrow"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"2d16c2da-6bff-4d6f-a363-1311ce5cf71a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Unit\",\n\t\"datatype\":\"Select\",\n\t\"default\":[\"Montly\",\"Quartely\",\"Yearly\"],\n\t\"obligatoryField\":false,\n\t\"visible\":1,\n\t\"editable\":1,\n\t\"dropdownDefault\":[],\n\t\"sortId\":0\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/orderrow?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","orderrow"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:52:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1ac-mI8G+s8bqueB6LD5tzhDZA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 4,\n    \"name\": \"Unit\",\n    \"default\": [\n      \"Montly\",\n      \"Quartely\",\n      \"Yearly\"\n    ],\n    \"datatype\": \"Select\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 0,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"01fbe682-cf8a-4d5c-86b3-060f0a729da2"},{"name":"Update order row custom fields","id":"b92f2c09-7a23-4989-ad3d-4130eb807bc5","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Unit\",\n\t\"datatype\":\"Select\",\n\t\"default\":[\"Montly\",\"Quartely\",\"Every 6 months\",\"Yearly\"],\n\t\"obligatoryField\":false,\n\t\"visible\":1,\n\t\"editable\":1,\n\t\"dropdownDefault\":[],\n\t\"sortId\":0\n}"},"url":"https://integration.upsales.com/api/v2/customfields/orderrow/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","orderrow","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"74bc735d-1395-4eb5-94d1-1c0fbff13f73","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Unit\",\n\t\"datatype\":\"Select\",\n\t\"default\":[\"Montly\",\"Quartely\",\"Every 6 months\",\"Yearly\"],\n\t\"obligatoryField\":false,\n\t\"visible\":1,\n\t\"editable\":1,\n\t\"dropdownDefault\":[],\n\t\"sortId\":0\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/orderrow/4?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","orderrow","4"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:53:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1c4-8wvX8qmydLE5h2353NkgYg\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 4,\n    \"name\": \"Unit\",\n    \"default\": [\n      \"Montly\",\n      \"Quartely\",\n      \"Every 6 months\",\n      \"Yearly\"\n    ],\n    \"datatype\": \"Select\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 0,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"b92f2c09-7a23-4989-ad3d-4130eb807bc5"},{"name":"Delete order row custom fields","id":"cc43b9a5-a240-4f4c-acf1-3207d84fcd4c","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/orderrow/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","orderrow","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"f94f0bc7-32a9-4ff2-9a92-dad51d3bab7c","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/orderrow/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","orderrow","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:54:39 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"cc43b9a5-a240-4f4c-acf1-3207d84fcd4c"}],"id":"01f9d931-cf5c-4e08-9c44-658a7cd4ca51","event":[{"listen":"prerequest","script":{"id":"80ed7f03-8523-4fe8-80e0-d8bc49cca0ad","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"96c059d4-23e3-4194-bc95-49ab4b9100a0","type":"text/javascript","exec":[""]}}],"_postman_id":"01f9d931-cf5c-4e08-9c44-658a7cd4ca51","description":""},{"name":"Product","item":[{"name":"Get product custom fields","id":"c2b9676f-e0f7-4183-bbad-a9022b3fcbca","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/product?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","product"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"e58c7a01-731f-4248-8df8-504444bddb52","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/product?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","product"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:57:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1f3-TLDsEydhNuGQ3Jx/t6bgVQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 1,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"Article no.\",\n      \"default\": \"\",\n      \"datatype\": \"String\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 1,\n      \"maxLength\": 0,\n      \"roles\": []\n    }\n  ]\n}"}],"_postman_id":"c2b9676f-e0f7-4183-bbad-a9022b3fcbca"},{"name":"Create product custom fields","id":"2e78bc0a-da27-4bfb-94fe-69be3f3eef9a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Article no.\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/product?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","product"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"09b987e4-fce6-4b7a-a78d-6682c1d28149","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Article no.\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/product?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","product"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:57:05 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"17d-QZsIV8wmFUkRiOyP2/dsgQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"Article no.\",\n    \"default\": \"\",\n    \"datatype\": \"String\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"2e78bc0a-da27-4bfb-94fe-69be3f3eef9a"},{"name":"Update product custom fields","id":"3b5db1d9-31c7-49b8-8d87-ebe8641f2dea","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Article number\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/product/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","product","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"28c8c411-6743-4a8f-a725-bf84305d55a3","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Article number\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/product/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","product","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:57:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"180-htN065EzVgeMOJy8HkF6Ng\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Article number\",\n    \"default\": \"\",\n    \"datatype\": \"String\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"3b5db1d9-31c7-49b8-8d87-ebe8641f2dea"},{"name":"Delete product custom fields","id":"1c39d8ad-c7f3-479a-ab7e-852031145b55","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/product/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","product","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"c40bcd28-186f-4c78-bfb2-3aca4d55e9a1","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/product/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","product","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 15:58:26 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"1c39d8ad-c7f3-479a-ab7e-852031145b55"}],"id":"4feafb8f-42c7-4ba2-bcd4-d628d2101912","_postman_id":"4feafb8f-42c7-4ba2-bcd4-d628d2101912","description":""},{"name":"Campaign","item":[{"name":"Get campaign custom fields","id":"45813e80-d965-43a8-8419-4c81d33e168c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/project?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","project"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"2e723a37-4d83-4c37-bac8-f503ccdb143b","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/project?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","project"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:06:27 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"378-05hAetCmpkxI4xbrAmDmGQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 2,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"Location\",\n      \"default\": \"\",\n      \"datatype\": \"String\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 0,\n      \"maxLength\": 0,\n      \"roles\": []\n    },\n    {\n      \"id\": 3,\n      \"name\": \"External Id\",\n      \"default\": \"\",\n      \"datatype\": \"String\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 0,\n      \"maxLength\": 0,\n      \"roles\": []\n    }\n  ]\n}"}],"_postman_id":"45813e80-d965-43a8-8419-4c81d33e168c"},{"name":"Create campaign custom fields","id":"dc60238f-5086-4d58-a57a-7b397bb04f43","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Location\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/project?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","project"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"c2dbe760-3758-4863-88bd-e8160a962db6","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Location\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/project?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","project"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:00:45 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"17a-LOSS8w2WUrzt1BhRu4QCdw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"Location\",\n    \"default\": \"\",\n    \"datatype\": \"String\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"dc60238f-5086-4d58-a57a-7b397bb04f43"},{"name":"Update campaign custom fields","id":"b5bdedbc-bb84-4d41-a634-a7371c449adb","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Location\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 0,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/project/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","project","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"64c26f70-3c57-417f-a733-85c59afb24f6","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"Location\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 0,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/project/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","project","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:01:25 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"17a-QDLEMVyW38uhQ8tvm3cTnw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"Location\",\n    \"default\": \"\",\n    \"datatype\": \"String\",\n    \"visible\": 1,\n    \"editable\": 0,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"b5bdedbc-bb84-4d41-a634-a7371c449adb"},{"name":"Delete campaign custom fields","id":"8ebd9861-593e-49cc-8cae-8cf69fc48a45","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/project/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","project","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"e4fafb47-e25f-45d9-a4f2-7f92fa8355c8","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/project/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","project","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:01:53 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"8ebd9861-593e-49cc-8cae-8cf69fc48a45"}],"id":"0804680f-25e6-457f-a1ff-1d52e06992a4","_postman_id":"0804680f-25e6-457f-a1ff-1d52e06992a4","description":""},{"name":"User","item":[{"name":"Get user custom fields","id":"f73bb1df-4c5c-42ae-8388-23c827da66a4","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/user?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","user"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"19a49988-9221-40fc-8cd1-c2dba35f3576","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/user?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","user"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:06:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1f3-MA/0C6fKRx9/z8HCeBGhow\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"197","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"7","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 1,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"External Id\",\n      \"default\": \"\",\n      \"datatype\": \"String\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 0,\n      \"maxLength\": 0,\n      \"roles\": []\n    }\n  ]\n}"}],"_postman_id":"f73bb1df-4c5c-42ae-8388-23c827da66a4"},{"name":"Create user custom fields","id":"ea173f84-903d-46c3-b0f0-6da13fcb6c7f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"External Id\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 0,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/user?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","user"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"3f19e7a7-5b63-4f33-b5ab-d6cec833a5f3","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"External Id\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/user/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","user","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:05:11 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"17d-BpIQwxBj4PCQZ1fTtv2QVg\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"External Id\",\n    \"default\": \"\",\n    \"datatype\": \"String\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"ea173f84-903d-46c3-b0f0-6da13fcb6c7f"},{"name":"Update user custom fields","id":"fd301568-fee1-492a-9a78-e756374f4393","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"External Id\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/user/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","user","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"7771db40-9f93-476e-8354-46d9b7752075","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"External Id\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/user/1?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","user","1"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:07:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"17d-nl7n6btE7gpaOXGD6XmHYw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"External Id\",\n    \"default\": \"\",\n    \"datatype\": \"String\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0,\n    \"roles\": []\n  }\n}"}],"_postman_id":"fd301568-fee1-492a-9a78-e756374f4393"},{"name":"Delete user custom fields","id":"a5cd5593-b849-4a59-b319-37e2febc1880","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/user/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","user","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"3b763e46-f8d2-4cc8-8030-ec5f58963008","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/user/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","user","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:05:44 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"a5cd5593-b849-4a59-b319-37e2febc1880"}],"id":"f08f4c08-a559-49eb-bb8a-56e346a95a5b","_postman_id":"f08f4c08-a559-49eb-bb8a-56e346a95a5b","description":""},{"name":"Recurring revenue","item":[{"name":"Get recurring revenue custom fields","id":"9c029de2-647c-49f8-91e8-38c12ffef850","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/agreement?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","agreement"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"3f83299b-17e7-41ea-bb99-fe50ebcd35d2","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/agreement?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","agreement"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:11:47 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1e0-0VoKQz6YT0IYJe+A677xaQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 1,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"External Id\",\n      \"default\": \"\",\n      \"datatype\": \"String\",\n      \"visible\": 1,\n      \"editable\": 1,\n      \"locked\": 0,\n      \"viewonly\": 0,\n      \"query\": null,\n      \"searchable\": 0,\n      \"alias\": null,\n      \"dropdownDefault\": \"\",\n      \"lookupField\": 0,\n      \"sortId\": 0,\n      \"obligatoryField\": 0,\n      \"maxLength\": 0\n    }\n  ]\n}"}],"_postman_id":"9c029de2-647c-49f8-91e8-38c12ffef850"},{"name":"Create recurring revenue custom fields","id":"f26ae5ab-87e6-467e-ad32-7d1ee02e0ba6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"External Id\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 0,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/agreement?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","agreement"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"661a3c16-1ea6-4eea-9b85-485e625d5246","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"External Id\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 0,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/agreement?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","agreement"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:08:39 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"16c-8dmBJuA2RxMqoAjzAAdz9A\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"External Id\",\n    \"default\": \"\",\n    \"datatype\": \"String\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 0,\n    \"maxLength\": 0\n  }\n}"}],"_postman_id":"f26ae5ab-87e6-467e-ad32-7d1ee02e0ba6"},{"name":"Update recurring revenue custom fields","id":"02a229fa-8ac2-4024-b88d-da4bbd6db03d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n            \"name\": \"External Id\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":"https://integration.upsales.com/api/v2/customfields/agreement/1?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","agreement","1"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"fa1d581a-dd82-47b5-8d38-061f82c35c03","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n            \"name\": \"External Id\",\n            \"default\": \"\",\n            \"datatype\": \"String\",\n            \"visible\": 1,\n            \"editable\": 1,\n            \"searchable\": 0,\n            \"dropdownDefault\": \"\",\n            \"sortId\": 0,\n            \"obligatoryField\": 1,\n            \"roles\": []\n        }"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/agreement/1?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","agreement","1"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:12:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"16c-lfy4MnHHRUN/3KwPBidniQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"External Id\",\n    \"default\": \"\",\n    \"datatype\": \"String\",\n    \"visible\": 1,\n    \"editable\": 1,\n    \"locked\": 0,\n    \"viewonly\": 0,\n    \"query\": null,\n    \"searchable\": 0,\n    \"alias\": null,\n    \"dropdownDefault\": \"\",\n    \"lookupField\": 0,\n    \"sortId\": 0,\n    \"obligatoryField\": 1,\n    \"maxLength\": 0\n  }\n}"}],"_postman_id":"02a229fa-8ac2-4024-b88d-da4bbd6db03d"},{"name":"Delete recurring revenue custom fields","id":"4f8cd301-7174-46df-a472-0fec12a260db","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/customfields/agreement/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","agreement","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"d230df91-ac88-4add-8cfa-991b108a3d84","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/agreement/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","agreement","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 22 Apr 2018 16:11:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"4f8cd301-7174-46df-a472-0fec12a260db"}],"id":"4d4d8366-295a-444c-bc5e-3a3be19d538d","_postman_id":"4d4d8366-295a-444c-bc5e-3a3be19d538d","description":""},{"name":"Create company with custom field","id":"a3ed2283-b23b-42b6-924c-5af02cd7704b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Salesboard\",\n\t\"phone\": \"+46(0)8123456\",\n\t\"users\": [\n            {\n                \"id\": 1\n            }\n        ],\n    \"custom\": [   \n      {\n                    \"value\": \"55856000\",\n                    \"fieldId\": 2\n                }\n    \t]\n}"},"url":"https://integration.upsales.com/api/v2/accounts/?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","accounts",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"c64e7c25-20c5-4821-aaf9-24e7a42bac3e","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Salesboard\",\n\t\"phone\": \"+46(0)8123456\",\n\t\"users\": [\n            {\n                \"id\": 1\n            }\n        ],\n    \"custom\": [   \n      {\n                    \"value\": \"55856000\",\n                    \"fieldId\": 2\n                }\n    \t]\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/accounts/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","accounts",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 23 Apr 2018 11:21:08 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"4d3-9ocRk1orpTAVBn/BKvkqWQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 6,\n    \"name\": \"Salesboard\",\n    \"phone\": \"+46(0)8123456\",\n    \"fax\": null,\n    \"webpage\": null,\n    \"notes\": null,\n    \"parent\": null,\n    \"users\": [\n      {\n        \"name\": \"Gustav Petterson\",\n        \"id\": 1\n      }\n    ],\n    \"regDate\": \"2018-04-23T11:21:08.000Z\",\n    \"regBy\": {\n      \"name\": \"Api docs\",\n      \"id\": 2\n    },\n    \"modDate\": \"2018-04-23T11:21:08.000Z\",\n    \"dunsNo\": null,\n    \"projects\": [],\n    \"categories\": [],\n    \"addresses\": [],\n    \"custom\": [\n      {\n        \"value\": \"55856000\",\n        \"valueInteger\": 55856000,\n        \"valueDouble\": 55856000,\n        \"fieldId\": 2\n      }\n    ],\n    \"userRemovable\": true,\n    \"userEditable\": true,\n    \"connectedClients\": [],\n    \"soliditet\": {},\n    \"score\": 0,\n    \"scoreUpdateDate\": null,\n    \"isExternal\": 0,\n    \"externalClientData\": {},\n    \"hasOrder\": null,\n    \"hasOpportunity\": null,\n    \"hadOpportunity\": null,\n    \"hasActivity\": null,\n    \"hadActivity\": null,\n    \"hasMail\": false,\n    \"hasForm\": false,\n    \"hasVisit\": false,\n    \"hasAppointment\": null,\n    \"ads\": {\n      \"clicks\": 0,\n      \"impressions\": 0\n    },\n    \"adCampaign\": [],\n    \"importId\": null,\n    \"hadAppointment\": null,\n    \"hadOrder\": null\n  }\n}"}],"_postman_id":"a3ed2283-b23b-42b6-924c-5af02cd7704b"}],"id":"a5bd1529-8f91-4a14-9e9a-1a216d66b538","description":"<p>Custom fields give you the opportunity to add data to your Upsales account that isn't included by default. Each opportunity/order, company, contact, user, campaign, activity, appointment and product can contain custom fields which are part of the dataset. There's a number of different field types available, each with their own uses.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Custom field ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Field name</td>\n</tr>\n<tr>\n<td>default</td>\n<td><strong>Array</strong><br /> Default value in your select field. <br />Example:<br /> \"Value A\",<br />\"Value B\",<br /> \"Value C\"</td>\n</tr>\n<tr>\n<td>datatype</td>\n<td><strong>String</strong><br /> Field type your custom field is. Is case sensative</td>\n</tr>\n<tr>\n<td>visible</td>\n<td><strong>Number</strong><br /> Show custom field in Upsales</td>\n</tr>\n<tr>\n<td>editable</td>\n<td><strong>Number</strong><br /> User should be able to edit in Upsales</td>\n</tr>\n<tr>\n<td>searchable</td>\n<td><strong>Number</strong><br /> Make our custom field searchable in quick search in Upsales. Only usable on company custom fields.</td>\n</tr>\n<tr>\n<td>alias</td>\n<td><strong>String</strong><br /> Filter out custom fields by alias instead of ID. Usable if you make a generic integration.</td>\n</tr>\n<tr>\n<td>dropdownDefault</td>\n<td><strong>String</strong><br /> Default field value in a select field. Must be a value you have in default propery.</td>\n</tr>\n<tr>\n<td>sortId</td>\n<td><strong>Number</strong><br /> Sort your custom field in Upsales</td>\n</tr>\n<tr>\n<td>obligatoryField</td>\n<td><strong>Number</strong><br /> Make your custom field mandatory in Upsales</td>\n</tr>\n<tr>\n<td>sortId</td>\n<td><strong>Object</strong><br /> Restric which user roles that should have access to your custom fields.</td>\n</tr>\n<tr>\n<td>viewonly</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>query</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>lookupField</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>parfieldId</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>maxLength</td>\n<td>DEPRECATED</td>\n</tr>\n<tr>\n<td>locked</td>\n<td>DEPRECATED</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"data-types\">Data types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>field_type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Text</td>\n<td>String</td>\n<td>Text field is used to store texts up to 255 characters</td>\n</tr>\n<tr>\n<td>Number</td>\n<td>Integer</td>\n<td>Numeric field is used to store data such as amount of commission or other custom numerical data</td>\n</tr>\n<tr>\n<td>Currency</td>\n<td>Currency</td>\n<td>Monetary field is used to store data such as amount of commission. Currency of the field will match User's default currency setting.</td>\n</tr>\n<tr>\n<td>Notes</td>\n<td>Text</td>\n<td>Large text field is used to store texts longer than usual</td>\n</tr>\n<tr>\n<td>Boolean</td>\n<td>Boolean</td>\n<td>Boolean field lets you show a checkbox for yes/no information</td>\n</tr>\n<tr>\n<td>Select</td>\n<td>Select</td>\n<td>Select field lets you predefine a list of values out of which one can be selected</td>\n</tr>\n<tr>\n<td>Date</td>\n<td>Date</td>\n<td>Date field is used to store dates, picked from a handy inline calendar</td>\n</tr>\n<tr>\n<td>Percent</td>\n<td>Percent</td>\n<td>Procent field is used to store numbers between 0-100</td>\n</tr>\n<tr>\n<td>Email</td>\n<td>Email</td>\n<td>Email field validates in Upsales UI if you write a email</td>\n</tr>\n<tr>\n<td>Link</td>\n<td>Link</td>\n<td>Link field displays field value as a link</td>\n</tr>\n<tr>\n<td>Discount</td>\n<td>Discount</td>\n<td>Discount field is used to store negative/positve numbers</td>\n</tr>\n<tr>\n<td>Time</td>\n<td>Time</td>\n<td>Time field is used to store times, picked from a handy inline timepicker</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"70786d2d-e2ed-4796-86cf-d16cb28c1ccf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1f2dfb4c-f692-4bb0-b334-015521ecec66","type":"text/javascript","exec":[""]}}],"_postman_id":"a5bd1529-8f91-4a14-9e9a-1a216d66b538"},{"name":"Price Lists","item":[{"name":"Find price lists","id":"4be9085b-ac8b-405c-aeba-bbe25b324906","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://integration.upsales.com/api/v2/priceLists?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","priceLists"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"1875b11f-4f47-4a82-a471-5b86216e2a75","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/priceLists?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","priceLists"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"undefined"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Connection","value":"close"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=ed2fbbfd1182fbf83bb4a52b3cd2589bfb7013f7ca59f00c93c3bcd10103b02f791a7f620c19f9d7317f41af8d57ddc9; Max-Age=3600; Path=/; Expires=Tue, 14 Mar 2023 10:36:34 GMT; HttpOnly"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"211"},{"key":"ETag","value":"W/\"d3-2Fb03Be5NLXwE03ksG19v8AOQBE\""},{"key":"Date","value":"Tue, 14 Mar 2023 09:36:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 1,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Standard\",\n            \"code\": null,\n            \"active\": true,\n            \"isDefault\": true,\n            \"showDiscount\": false,\n            \"regDate\": null,\n            \"modDate\": null,\n            \"modBy\": 0,\n            \"regBy\": 0\n        }\n    ]\n}"}],"_postman_id":"4be9085b-ac8b-405c-aeba-bbe25b324906"},{"name":"Get price list","id":"8836856a-40d8-4deb-89d7-cf3605204722","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://integration.upsales.com/api/v2/priceLists/1?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","priceLists","1"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"759163bd-88c2-4cb0-9620-9dbc44ebcfe1","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/priceLists/1?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","priceLists","1"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"undefined"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Connection","value":"close"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"Set-Cookie","value":"token=ed2fbbfd1182fbf83bb4a52b3cd2589bfb7013f7ca59f00c93c3bcd10103b02f791a7f620c19f9d7317f41af8d57ddc9; Max-Age=3600; Path=/; Expires=Tue, 14 Mar 2023 10:38:27 GMT; HttpOnly"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"178"},{"key":"ETag","value":"W/\"b2-egYyXsn1kkPjmtsf0O49FbqKgOk\""},{"key":"Date","value":"Tue, 14 Mar 2023 09:38:27 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": null,\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Standard\",\n        \"code\": null,\n        \"active\": true,\n        \"isDefault\": true,\n        \"showDiscount\": false,\n        \"regDate\": null,\n        \"modDate\": null,\n        \"modBy\": 0,\n        \"regBy\": 0\n    }\n}"}],"_postman_id":"8836856a-40d8-4deb-89d7-cf3605204722"},{"name":"Create price list","id":"5356c6aa-15bd-48ce-a731-eb6992e9d337","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"New price list\",\n    \"code\": \"ABC123\",\n    \"active\": true,\n    \"isDefault\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/priceLists?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","priceLists"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"9b52f405-2c4b-4426-951a-e06051754a7c","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"New price list\",\n    \"code\": \"ABC123\",\n    \"active\": true,\n    \"isDefault\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/priceLists?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","priceLists"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"undefined"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Connection","value":"close"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=ed2fbbfd1182fbf83bb4a52b3cd2589bfb7013f7ca59f00c93c3bcd10103b02f791a7f620c19f9d7317f41af8d57ddc9; Max-Age=3600; Path=/; Expires=Tue, 14 Mar 2023 10:43:47 GMT; HttpOnly"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"219"},{"key":"ETag","value":"W/\"db-HxI+C+F90xWzlIpqEW2iEY4mWwE\""},{"key":"Date","value":"Tue, 14 Mar 2023 09:43:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"New price list\",\n        \"code\": \"ABC123\",\n        \"active\": true,\n        \"isDefault\": false,\n        \"showDiscount\": false,\n        \"regDate\": \"2023-03-14T09:43:47.000Z\",\n        \"modDate\": \"2023-03-14T09:43:47.000Z\",\n        \"modBy\": 87,\n        \"regBy\": 87\n    }\n}"}],"_postman_id":"5356c6aa-15bd-48ce-a731-eb6992e9d337"},{"name":"Update price list","id":"d1a2fef2-521a-4c17-9f9a-240c8772109e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Updated standard\",\n    \"code\": \"QWERTY\"\n}","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/priceLists/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","priceLists","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"ad02b22d-6eea-43d0-9c98-128423ccfe64","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Updated standard\",\n    \"code\": \"QWERTY\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/priceLists/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","priceLists","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"undefined"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Connection","value":"close"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=464c27980df9b71ee200d795c53ad8874456841d86a7756ad9d13a3652638f6ed74171968c02b503f5654930c66d74cb; Max-Age=3600; Path=/; Expires=Tue, 14 Mar 2023 13:25:40 GMT; HttpOnly"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"197"},{"key":"ETag","value":"W/\"c5-1ZZvg3FGc9Q1WTUJ82af57BHMv0\""},{"key":"Date","value":"Tue, 14 Mar 2023 12:25:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Updated standard\",\n        \"code\": \"QWERTY\",\n        \"active\": true,\n        \"isDefault\": true,\n        \"showDiscount\": false,\n        \"regDate\": null,\n        \"modDate\": \"2023-03-14T12:25:40.000Z\",\n        \"modBy\": 87,\n        \"regBy\": 0\n    }\n}"}],"_postman_id":"d1a2fef2-521a-4c17-9f9a-240c8772109e"},{"name":"Disable price list","id":"ff20a50d-1402-440a-afd8-7d9977fd5470","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"active\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/priceLists/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","priceLists","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"9d8f839b-628a-41bd-ad64-21e9868deab8","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"active\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/priceLists/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","priceLists","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"undefined"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Connection","value":"close"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"Set-Cookie","value":"token=464c27980df9b71ee200d795c53ad8874456841d86a7756ad9d13a3652638f6ed74171968c02b503f5654930c66d74cb; Max-Age=3600; Path=/; Expires=Tue, 14 Mar 2023 13:29:01 GMT; HttpOnly"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"220"},{"key":"ETag","value":"W/\"dc-YHK61TQ7+nWH5ztMLLySNWrp8fE\""},{"key":"Date","value":"Tue, 14 Mar 2023 12:29:01 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"New price list\",\n        \"code\": \"ABC123\",\n        \"active\": false,\n        \"isDefault\": false,\n        \"showDiscount\": false,\n        \"regDate\": \"2023-03-14T09:43:47.000Z\",\n        \"modDate\": \"2023-03-14T12:29:01.000Z\",\n        \"modBy\": 87,\n        \"regBy\": 87\n    }\n}"}],"_postman_id":"ff20a50d-1402-440a-afd8-7d9977fd5470"}],"id":"c8b36f71-3a7e-448f-bbc0-51d32ba1832c","description":"<p>With the \"Advanced Order Logic\" addon, price lists can be used to save different prices for the same product . The price list entity contains information about the price list, while the actual prices are stored on the product with a reference to the price list that each price belongs to.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong>  <br />Price list ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong>  <br />Price list name</td>\n</tr>\n<tr>\n<td>code</td>\n<td><strong>String</strong>  <br />Unique external price list code</td>\n</tr>\n<tr>\n<td>isDefault</td>\n<td><strong>Boolean</strong>  <br />Default price list. The default price list is automatically used in orders and subscriptions unless the customer has an assigned price list or the price list is manually overridden in the order. There must always be exactly one price list where this value is true. This value can not manually be changed from true to false. When you change isDefault from false to true, isDefault for the previous default price list is automatically set to false.</td>\n</tr>\n<tr>\n<td>active</td>\n<td><strong>Boolean</strong>  <br />Active price lists are available in the system, while inactive price lists are hidden.</td>\n</tr>\n<tr>\n<td>showDiscount</td>\n<td><strong>Boolean</strong>  <br />NYI</td>\n</tr>\n<tr>\n<td>regDate</td>\n<td><strong>String, read-only</strong>  <br />Date on which the price list was created</td>\n</tr>\n<tr>\n<td>modDate</td>\n<td><strong>String, read-only</strong>  <br />Date on which the price list was last modified</td>\n</tr>\n<tr>\n<td>regBy</td>\n<td><strong>Number, read-only</strong>  <br />The user that created the price list</td>\n</tr>\n<tr>\n<td>modBy</td>\n<td><strong>Number, read-only</strong>  <br />The user that last modified the price list</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"c8b36f71-3a7e-448f-bbc0-51d32ba1832c"},{"name":"Products","item":[{"name":"With price lists","item":[{"name":"Get product list","id":"5e7af5c2-b469-4763-8e76-eb0c30b745f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://integration.upsales.com/api/v2/products?token={{token}}&usePriceLists=true","urlObject":{"protocol":"https","path":["api","v2","products"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"usePriceLists","value":"true"}],"variable":[]}},"response":[{"id":"bd83aa38-f99b-4dc8-8cbc-dda39c7833c1","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/products?token={{token}}&usePriceLists=true","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products"],"query":[{"key":"token","value":"{{token}}"},{"key":"usePriceLists","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"undefined"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Connection","value":"close"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=32170e47819ec078dd7960d74666b10de2106a312d27f21dabe23a2981debb4d8497815568543e729af473dbca3f563b; Max-Age=3600; Path=/; Expires=Tue, 14 Mar 2023 15:15:55 GMT; HttpOnly"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"572"},{"key":"ETag","value":"W/\"23c-vX3xIImtit3AWVpANLINrmtWFkM\""},{"key":"Date","value":"Tue, 14 Mar 2023 14:15:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 1,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 10004513,\n            \"name\": \"Exempelprodukt\",\n            \"listPrice\": 10000,\n            \"active\": 1,\n            \"category\": null,\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 0,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [\n                {\n                    \"purchaseCost\": 0,\n                    \"price\": 10000,\n                    \"priceListId\": 1,\n                    \"currency\": \"SEK\"\n                },\n                {\n                    \"purchaseCost\": 0,\n                    \"price\": 5000,\n                    \"priceListId\": 3,\n                    \"currency\": \"SEK\"\n                }\n            ],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null\n        }\n    ]\n}"}],"_postman_id":"5e7af5c2-b469-4763-8e76-eb0c30b745f8"},{"name":"Get product","id":"29b20ce0-c20e-42bf-86f1-0a6f9d521dab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}&usePriceLists=true","urlObject":{"protocol":"https","path":["api","v2","products","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"usePriceLists","value":"true"}],"variable":[]}},"response":[{"id":"d94cf2d4-cb44-4260-bbf7-dffe4c2479ca","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}&usePriceLists=true","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products","{{id}}"],"query":[{"key":"token","value":"{{token}}"},{"key":"usePriceLists","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"undefined"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Connection","value":"close"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=32170e47819ec078dd7960d74666b10de2106a312d27f21dabe23a2981debb4d8497815568543e729af473dbca3f563b; Max-Age=3600; Path=/; Expires=Tue, 14 Mar 2023 15:18:09 GMT; HttpOnly"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"539"},{"key":"ETag","value":"W/\"21b-0zGBgZSCLlYzBKfZh1vs5en+ryo\""},{"key":"Date","value":"Tue, 14 Mar 2023 14:18:09 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": null,\n    \"data\": {\n        \"id\": 10004513,\n        \"name\": \"Exempelprodukt\",\n        \"listPrice\": 10000,\n        \"active\": 1,\n        \"category\": null,\n        \"sortId\": 0,\n        \"recurringInterval\": null,\n        \"isMultiCurrency\": 0,\n        \"isRecurring\": 0,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"roles\": [],\n        \"currencies\": [\n            {\n                \"currency\": \"SEK\",\n                \"price\": 10000,\n                \"purchaseCost\": 0,\n                \"priceListId\": 1\n            },\n            {\n                \"currency\": \"SEK\",\n                \"price\": 5000,\n                \"purchaseCost\": 0,\n                \"priceListId\": 3\n            }\n        ],\n        \"tiers\": [],\n        \"purchaseCost\": 0,\n        \"articleNo\": null,\n        \"importId\": null,\n        \"bundle\": [],\n        \"bundlePriceAdjustment\": null,\n        \"bundlePriceAdjustmentType\": null\n    }\n}"}],"_postman_id":"29b20ce0-c20e-42bf-86f1-0a6f9d521dab"},{"name":"Update prices","id":"7ca37af2-37e9-454f-ba5f-93d433a155ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"listPrice\": 8000,\n    \"currencies\": [\n        {\n                \"currency\": \"SEK\",\n                \"price\": 8000,\n                \"purchaseCost\": 0,\n                \"priceListId\": 1\n            },\n            {\n                \"currency\": \"SEK\",\n                \"price\": 6000,\n                \"purchaseCost\": 0,\n                \"priceListId\": 3\n            }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}&usePriceLists=true","urlObject":{"protocol":"https","path":["api","v2","products","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"usePriceLists","value":"true"}],"variable":[]}},"response":[{"id":"dc917318-d13b-4579-8b57-c5ea3a6ddabd","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"listPrice\": 8000,\n    \"currencies\": [\n        {\n                \"currency\": \"SEK\",\n                \"price\": 8000,\n                \"purchaseCost\": 0,\n                \"priceListId\": 1\n            },\n            {\n                \"currency\": \"SEK\",\n                \"price\": 6000,\n                \"purchaseCost\": 0,\n                \"priceListId\": 3\n            }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}&usePriceLists=true","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products","{{id}}"],"query":[{"key":"token","value":"{{token}}"},{"key":"usePriceLists","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"undefined"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Connection","value":"close"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=32170e47819ec078dd7960d74666b10de2106a312d27f21dabe23a2981debb4d8497815568543e729af473dbca3f563b; Max-Age=3600; Path=/; Expires=Tue, 14 Mar 2023 15:23:04 GMT; HttpOnly"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"521"},{"key":"ETag","value":"W/\"209-IlDVIMx+ylNJssrZqJCdGZ0eZfE\""},{"key":"Date","value":"Tue, 14 Mar 2023 14:23:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 10004513,\n        \"name\": \"Exempelprodukt\",\n        \"listPrice\": 8000,\n        \"active\": 1,\n        \"category\": null,\n        \"sortId\": 0,\n        \"recurringInterval\": null,\n        \"isMultiCurrency\": 0,\n        \"isRecurring\": 0,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"roles\": [],\n        \"currencies\": [\n            {\n                \"currency\": \"SEK\",\n                \"price\": 8000,\n                \"purchaseCost\": 0,\n                \"priceListId\": 1\n            },\n            {\n                \"currency\": \"SEK\",\n                \"price\": 6000,\n                \"purchaseCost\": 0,\n                \"priceListId\": 3\n            }\n        ],\n        \"tiers\": [],\n        \"purchaseCost\": 0,\n        \"articleNo\": null,\n        \"importId\": null,\n        \"bundle\": [],\n        \"bundlePriceAdjustment\": null,\n        \"bundlePriceAdjustmentType\": null\n    }\n}"}],"_postman_id":"7ca37af2-37e9-454f-ba5f-93d433a155ee"},{"name":"Update tiered prices","id":"0eb55436-886a-40a1-9b00-2b2b2af261c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"tiers\": [\n        {\n            \"start\": 1,\n            \"end\": 10,\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"value\": 500\n                }\n            ],\n            \"isTotalPrice\": false,\n            \"priceListId\": 1\n        },\n        {\n            \"start\": 11,\n            \"end\": 0,\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"value\": 400\n                }\n            ],\n            \"isTotalPrice\": false,\n            \"priceListId\": 1\n        },\n        {\n            \"start\": 1,\n            \"end\": 10,\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"value\": 450\n                }\n            ],\n            \"isTotalPrice\": false,\n            \"priceListId\": 3\n        },\n        {\n            \"start\": 11,\n            \"end\": 0,\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"value\": 350\n                }\n            ],\n            \"isTotalPrice\": false,\n            \"priceListId\": 3\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}&usePriceLists=true","urlObject":{"protocol":"https","path":["api","v2","products","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"usePriceLists","value":"true"}],"variable":[]}},"response":[{"id":"3d785c6a-2fef-4e82-a860-08eae76e57b6","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"tiers\": [\n        {\n            \"start\": 1,\n            \"end\": 10,\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"value\": 500\n                }\n            ],\n            \"isTotalPrice\": false,\n            \"priceListId\": 1\n        },\n        {\n            \"start\": 11,\n            \"end\": 0,\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"value\": 400\n                }\n            ],\n            \"isTotalPrice\": false,\n            \"priceListId\": 1\n        },\n        {\n            \"start\": 1,\n            \"end\": 10,\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"value\": 450\n                }\n            ],\n            \"isTotalPrice\": false,\n            \"priceListId\": 3\n        },\n        {\n            \"start\": 11,\n            \"end\": 0,\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"value\": 350\n                }\n            ],\n            \"isTotalPrice\": false,\n            \"priceListId\": 3\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}&usePriceLists=true","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products","{{id}}"],"query":[{"key":"token","value":"{{token}}"},{"key":"usePriceLists","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"undefined"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Connection","value":"close"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"Set-Cookie","value":"token=32170e47819ec078dd7960d74666b10de2106a312d27f21dabe23a2981debb4d8497815568543e729af473dbca3f563b; Max-Age=3600; Path=/; Expires=Tue, 14 Mar 2023 15:26:33 GMT; HttpOnly"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"925"},{"key":"ETag","value":"W/\"39d-sUYOuUbCLe4Nsfz8OL/+wi7ZeWQ\""},{"key":"Date","value":"Tue, 14 Mar 2023 14:26:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 10004514,\n        \"name\": \"Tiered product\",\n        \"listPrice\": 0,\n        \"active\": 1,\n        \"category\": null,\n        \"sortId\": 1,\n        \"recurringInterval\": 12,\n        \"isMultiCurrency\": 0,\n        \"isRecurring\": 0,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"roles\": [],\n        \"currencies\": [\n            {\n                \"currency\": \"SEK\",\n                \"price\": 0,\n                \"purchaseCost\": 0,\n                \"priceListId\": 1\n            },\n            {\n                \"currency\": \"SEK\",\n                \"price\": 0,\n                \"purchaseCost\": 0,\n                \"priceListId\": 3\n            }\n        ],\n        \"tiers\": [\n            {\n                \"start\": 1,\n                \"end\": 10,\n                \"currencies\": [\n                    {\n                        \"currency\": \"SEK\",\n                        \"value\": 500\n                    }\n                ],\n                \"isTotalPrice\": false,\n                \"priceListId\": 1\n            },\n            {\n                \"start\": 11,\n                \"end\": 0,\n                \"currencies\": [\n                    {\n                        \"currency\": \"SEK\",\n                        \"value\": 400\n                    }\n                ],\n                \"isTotalPrice\": false,\n                \"priceListId\": 1\n            },\n            {\n                \"start\": 1,\n                \"end\": 10,\n                \"currencies\": [\n                    {\n                        \"currency\": \"SEK\",\n                        \"value\": 450\n                    }\n                ],\n                \"isTotalPrice\": false,\n                \"priceListId\": 3\n            },\n            {\n                \"start\": 11,\n                \"end\": 0,\n                \"currencies\": [\n                    {\n                        \"currency\": \"SEK\",\n                        \"value\": 350\n                    }\n                ],\n                \"isTotalPrice\": false,\n                \"priceListId\": 3\n            }\n        ],\n        \"purchaseCost\": 0,\n        \"articleNo\": null,\n        \"importId\": null,\n        \"bundle\": [],\n        \"bundlePriceAdjustment\": null,\n        \"bundlePriceAdjustmentType\": null\n    }\n}"}],"_postman_id":"0eb55436-886a-40a1-9b00-2b2b2af261c2"},{"name":"Create product","id":"6f446030-7b74-4f4c-8bcc-c49c538595ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product with multiple prices and currencies\",\n    \"listPrice\": 1000,\n    \"active\": 1,\n    \"currencies\": [\n        {\n            \"currency\": \"SEK\",\n            \"price\": 1000,\n            \"priceListId\": 1\n        },\n        {\n            \"currency\": \"EUR\",\n            \"price\": 100,\n            \"priceListId\": 1\n        },\n        {\n            \"currency\": \"SEK\",\n            \"price\": 800,\n            \"priceListId\": 3\n        },\n        {\n            \"currency\": \"EUR\",\n            \"price\": 80,\n            \"priceListId\": 3\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/products?token={{token}}&usePriceLists=true","urlObject":{"protocol":"https","path":["api","v2","products"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"usePriceLists","value":"true"}],"variable":[]}},"response":[{"id":"898c7c33-6712-4407-a40a-1d8cb11904e7","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product with multiple prices and currencies\",\n    \"listPrice\": 1000,\n    \"active\": 1,\n    \"currencies\": [\n        {\n            \"currency\": \"SEK\",\n            \"price\": 1000,\n            \"priceListId\": 1\n        },\n        {\n            \"currency\": \"EUR\",\n            \"price\": 100,\n            \"priceListId\": 1\n        },\n        {\n            \"currency\": \"SEK\",\n            \"price\": 800,\n            \"priceListId\": 3\n        },\n        {\n            \"currency\": \"EUR\",\n            \"price\": 80,\n            \"priceListId\": 3\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/products?token={{token}}&usePriceLists=true","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products"],"query":[{"key":"token","value":"{{token}}"},{"key":"usePriceLists","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"undefined"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Connection","value":"close"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=32170e47819ec078dd7960d74666b10de2106a312d27f21dabe23a2981debb4d8497815568543e729af473dbca3f563b; Max-Age=3600; Path=/; Expires=Tue, 14 Mar 2023 15:34:46 GMT; HttpOnly"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"674"},{"key":"ETag","value":"W/\"2a2-PVVnpfyVv/wgz17fKzfT16KZkzY\""},{"key":"Date","value":"Tue, 14 Mar 2023 14:34:46 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 10004516,\n        \"name\": \"Product with multiple prices and currencies\",\n        \"listPrice\": 1000,\n        \"active\": 1,\n        \"category\": null,\n        \"sortId\": 0,\n        \"recurringInterval\": 12,\n        \"isMultiCurrency\": 0,\n        \"isRecurring\": 0,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"roles\": [],\n        \"currencies\": [\n            {\n                \"currency\": \"EUR\",\n                \"price\": 100,\n                \"purchaseCost\": 0,\n                \"priceListId\": 1\n            },\n            {\n                \"currency\": \"SEK\",\n                \"price\": 1000,\n                \"purchaseCost\": 0,\n                \"priceListId\": 1\n            },\n            {\n                \"currency\": \"EUR\",\n                \"price\": 80,\n                \"purchaseCost\": 0,\n                \"priceListId\": 3\n            },\n            {\n                \"currency\": \"SEK\",\n                \"price\": 800,\n                \"purchaseCost\": 0,\n                \"priceListId\": 3\n            }\n        ],\n        \"tiers\": [],\n        \"purchaseCost\": 0,\n        \"articleNo\": null,\n        \"importId\": null,\n        \"bundle\": [],\n        \"bundlePriceAdjustment\": null,\n        \"bundlePriceAdjustmentType\": null\n    }\n}"}],"_postman_id":"6f446030-7b74-4f4c-8bcc-c49c538595ab"}],"id":"6b8238c1-2963-445d-9034-c6c944a359b1","description":"<p><strong>Addon required: \"Advanced Order Logic\"</strong></p>\n<p>To use price lists, all requests to the products endpoint must include the query param \"usePriceLists=true\".</p>\n<p><strong>Important when updating prices</strong></p>\n<p>If you have three price lists and want to update the prices in one of them, you still need to include the prices for the other price lists in the request.</p>\n","_postman_id":"6b8238c1-2963-445d-9034-c6c944a359b1"},{"name":"Get product list","id":"378f1b2f-11ce-409a-bf89-ee9f3dda854c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://integration.upsales.com/api/v2/products?token={{token}}","description":"<h3 id=\"get-apiv2products\">GET /api/v2/products</h3>\n<p>This endpoint retrieves a list of products from Upsales.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li>Query Parameters<ul>\n<li>token (string, required): The authentication token.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 0,\n        \"limit\": 0,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 0,\n            \"name\": \"\",\n            \"listPrice\": 0,\n            \"active\": 0,\n            \"category\": null,\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 0,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        }\n    ]\n}\n\n</code></pre>\n<p>The response includes an \"error\" field, a \"metadata\" object with \"total\", \"limit\", and \"offset\" fields, and a \"data\" array containing product details.</p>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 0,\n        \"limit\": 0,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 0,\n            \"name\": \"\",\n            \"listPrice\": 0,\n            \"active\": 0,\n            \"category\": null,\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 0,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v2","products"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"fd960f72-1b43-47e3-847b-f39635b6d90d","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://integration.upsales.com/api/v2/products?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 04 Jun 2024 08:19:06 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Set-Cookie","value":"token=169a8c66ef1de107fe23b980f79f9d45b0511257a27ee82aa4c4db2a5323f3ec4de01ec0e2489bd2aeb4a78d878f7dee; Max-Age=3600; Path=/; Expires=Tue, 04 Jun 2024 09:19:06 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"1aac-ZBj/4OzaFAzq7HODrNPj0+l5BkI\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 12,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Exempelprodukt\",\n            \"listPrice\": 10000,\n            \"active\": 0,\n            \"category\": null,\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 0,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Ads\",\n            \"listPrice\": 10000,\n            \"active\": 1,\n            \"category\": {\n                \"name\": \"Digital Ads\",\n                \"id\": 2\n            },\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 1,\n            \"isRecurring\": 1,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [\n                {\n                    \"currency\": \"EUR\",\n                    \"price\": 1000,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"GBP\",\n                    \"price\": 1000,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"SEK\",\n                    \"price\": 10000,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"USD\",\n                    \"price\": 1000,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                }\n            ],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Consulting\",\n            \"listPrice\": 1200,\n            \"active\": 1,\n            \"category\": {\n                \"name\": \"Services\",\n                \"id\": 1\n            },\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 0,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"price\": 0,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                }\n            ],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Workshop\",\n            \"listPrice\": 12000,\n            \"active\": 1,\n            \"category\": {\n                \"name\": \"Services\",\n                \"id\": 1\n            },\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 0,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"price\": 0,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                }\n            ],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Print Ads\",\n            \"listPrice\": 900,\n            \"active\": 1,\n            \"category\": {\n                \"name\": \"Digital Ads\",\n                \"id\": 2\n            },\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 0,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"price\": 0,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                }\n            ],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Banner\",\n            \"listPrice\": 5000,\n            \"active\": 1,\n            \"category\": {\n                \"name\": \"Digital Ads\",\n                \"id\": 2\n            },\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 0,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Lecture\",\n            \"listPrice\": 10000,\n            \"active\": 1,\n            \"category\": {\n                \"name\": \"Services\",\n                \"id\": 1\n            },\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 0,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [\n                {\n                    \"currency\": \"SEK\",\n                    \"price\": 0,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                }\n            ],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 11,\n            \"name\": \"Subscription 12 months\",\n            \"listPrice\": 1999,\n            \"active\": 1,\n            \"category\": {\n                \"name\": \"Subscription products\",\n                \"id\": 3\n            },\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 1,\n            \"isRecurring\": 1,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [\n                {\n                    \"currency\": \"EUR\",\n                    \"price\": 199,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"GBP\",\n                    \"price\": 199,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"SEK\",\n                    \"price\": 1999,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"USD\",\n                    \"price\": 199,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                }\n            ],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 12,\n            \"name\": \"Subscription 24 months\",\n            \"listPrice\": 1895,\n            \"active\": 1,\n            \"category\": {\n                \"name\": \"Subscription products\",\n                \"id\": 3\n            },\n            \"sortId\": 0,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 1,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [\n                {\n                    \"currency\": \"EUR\",\n                    \"price\": 185,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"GBP\",\n                    \"price\": 190,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"SEK\",\n                    \"price\": 1895,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"USD\",\n                    \"price\": 200,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                }\n            ],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Sales Conference\",\n            \"listPrice\": 30000,\n            \"active\": 1,\n            \"category\": {\n                \"name\": \"Services\",\n                \"id\": 1\n            },\n            \"sortId\": 1,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 1,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [\n                {\n                    \"currency\": \"EUR\",\n                    \"price\": 3000,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"GBP\",\n                    \"price\": 2990,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"SEK\",\n                    \"price\": 30000,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"USD\",\n                    \"price\": 3500,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                }\n            ],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 9999999,\n            \"name\": \"Ospecificerad\",\n            \"listPrice\": 0,\n            \"active\": 0,\n            \"category\": null,\n            \"sortId\": 1,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 1,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        },\n        {\n            \"id\": 9,\n            \"name\": \"System\",\n            \"listPrice\": 1995,\n            \"active\": 1,\n            \"category\": {\n                \"name\": \"Services\",\n                \"id\": 1\n            },\n            \"sortId\": 2,\n            \"recurringInterval\": null,\n            \"isMultiCurrency\": 1,\n            \"isRecurring\": 0,\n            \"custom\": [],\n            \"userRemovable\": true,\n            \"userEditable\": true,\n            \"roles\": [],\n            \"currencies\": [\n                {\n                    \"currency\": \"EUR\",\n                    \"price\": 199,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"GBP\",\n                    \"price\": 199,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"SEK\",\n                    \"price\": 1995,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                },\n                {\n                    \"currency\": \"USD\",\n                    \"price\": 199,\n                    \"purchaseCost\": 0,\n                    \"maxDiscount\": null\n                }\n            ],\n            \"tiers\": [],\n            \"purchaseCost\": 0,\n            \"articleNo\": null,\n            \"importId\": null,\n            \"bundle\": [],\n            \"bundlePriceAdjustment\": null,\n            \"bundlePriceAdjustmentType\": null,\n            \"description\": null,\n            \"projectPlanTemplate\": null\n        }\n    ]\n}"}],"_postman_id":"378f1b2f-11ce-409a-bf89-ee9f3dda854c"},{"name":"Get product","id":"ed8a1ae9-37dc-4292-818c-40d66c11bf99","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","products","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"6c582c9f-86dd-46a9-a193-641f2e5715a0","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 22 May 2018 09:22:20 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"126-iDDBaT370fCuHD0PSkKT5A\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Example product\",\n        \"listPrice\": 10000,\n        \"active\": 1,\n        \"category\": null,\n        \"sortId\": 0,\n        \"isMultiCurrency\": 0,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"roles\": [],\n        \"currencies\": [],\n        \"bundlePriceAdjustment\": 1.1,\n        \"bundle\": [\n            {\n                \"quantity\": 5,\n                \"productId\": 1,\n                \"tierQuantity\": 1\n            },\n            {\n                \"quantity\": 1,\n                \"productId\": 2,\n                \"tierQuantity\": 1\n            }\n        ]\n    }\n}"}],"_postman_id":"ed8a1ae9-37dc-4292-818c-40d66c11bf99"},{"name":"Create product","id":"98e93703-1d64-4947-8df3-4a06c4c6a909","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SaaS product\",\n    \"listPrice\": 20000,\n    \"active\": 1\n}"},"url":"https://integration.upsales.com/api/v2/products?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","products"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"e69ca0e3-4bb9-4b34-9f6d-7b6bb932f90a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SaaS product\",\n    \"listPrice\": 20000,\n    \"active\": 1\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/products?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 22 May 2018 09:34:59 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"124-BDDvCQ25FMwwd7VK3pfpZA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"SaaS product\",\n    \"listPrice\": 20000,\n    \"active\": 1,\n    \"category\": null,\n    \"sortId\": 0,\n    \"isMultiCurrency\": 0,\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true,\n    \"roles\": [],\n    \"currencies\": [],\n    \"bundle\": [],\n    \"bundlePriceAdjustment\": null\n  }\n}"}],"_postman_id":"98e93703-1d64-4947-8df3-4a06c4c6a909"},{"name":"Create Bundle","id":"f3039e9c-b554-4b5a-936d-c1a7a22c0d50","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SaaS bundle\",\n    \"listPrice\": 20000,\n    \"active\": 1,\n    ,\n    \"bundle\": [\n        {\n            \"quantity\": 5,\n            \"productId\": 1,\n            \"tierQuantity\": 1\n        },\n        {\n            \"quantity\": 1,\n            \"productId\": 2,\n            \"tierQuantity\": 1\n        }\n    ],\n    \"bundlePriceAdjustment\": 1.1\n}"},"url":"https://integration.upsales.com/api/v2/products?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","products"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"d89f5e92-d3a6-460d-862a-6a92a2cc32be","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SaaS Bundle\",\n    \"listPrice\": 20000,\n    \"active\": 1,\n    \"bundle\": [\n        {\n            \"quantity\": 5,\n            \"productId\": 1,\n            \"tierQuantity\": 1\n        },\n        {\n            \"quantity\": 1,\n            \"productId\": 2,\n            \"tierQuantity\": 1\n        }\n    ],\n    \"bundlePriceAdjustment\": 1.1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/products?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products"],"query":[{"key":"token","value":"{{token}}"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"SaaS product\",\n        \"listPrice\": 20000,\n        \"active\": 1,\n        \"category\": null,\n        \"sortId\": 0,\n        \"isMultiCurrency\": 0,\n        \"custom\": [],\n        \"userRemovable\": true,\n        \"userEditable\": true,\n        \"roles\": [],\n        \"currencies\": [],\n        \"bundle\": [\n            {\n                \"quantity\": 5,\n                \"productId\": 1,\n                \"tierQuantity\": 1\n            },    \n            {\n                \"quantity\": 1,\n                \"productId\": 2,\n                \"tierQuantity\": 1\n            }\n        ],\n        \"bundlePriceAdjustment\": 1.1\n    }\n}"}],"_postman_id":"f3039e9c-b554-4b5a-936d-c1a7a22c0d50"},{"name":"Update product","id":"73f78e9f-e64e-4e41-aa31-b254d32d69d8","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SaaS product\",\n    \"listPrice\": 30000,\n    \"active\": 1\n}"},"url":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","products","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"cce4eb5d-3549-4afa-a359-5ed19fa613c8","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SaaS product\",\n    \"listPrice\": 30000,\n    \"active\": 1\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 22 May 2018 09:36:13 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"124-yACe5nrjtw025H1zeQYr2g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"SaaS product\",\n    \"listPrice\": 30000,\n    \"active\": 1,\n    \"category\": null,\n    \"sortId\": 0,\n    \"isMultiCurrency\": 0,\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true,\n    \"roles\": [],\n    \"currencies\": []\n  }\n}"}],"_postman_id":"73f78e9f-e64e-4e41-aa31-b254d32d69d8"},{"name":"Disable product","id":"3218f917-4e4b-4d05-845a-994c458afd9b","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SaaS product\",\n    \"listPrice\": 30000,\n    \"active\": 0\n}"},"url":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}","description":"<p>You can not delete a product in Upsales because it has a relation to created opportunities or sales. Instead, you can disable a product so that it can not be used in Upsales in the future.</p>\n","urlObject":{"protocol":"https","path":["api","v2","products","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"b62a65e8-3d21-43ce-b4fd-4f8810c57f66","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SaaS product\",\n    \"listPrice\": 30000,\n    \"active\": 0\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/products/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","products","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 22 May 2018 09:39:11 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"124-MGMacBOgsfVgGKmgRssliw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"name\": \"SaaS product\",\n    \"listPrice\": 30000,\n    \"active\": 0,\n    \"category\": null,\n    \"sortId\": 0,\n    \"isMultiCurrency\": 0,\n    \"custom\": [],\n    \"userRemovable\": true,\n    \"userEditable\": true,\n    \"roles\": [],\n    \"currencies\": []\n  }\n}"}],"_postman_id":"3218f917-4e4b-4d05-845a-994c458afd9b"}],"id":"ed266e33-6b73-45c8-ba19-ad13ccd700c3","description":"<p>Products are the goods or services you are selling to your prospects or customers. Each product has a list price but you can always change price when you create your opportunity. You can´t delete products in Upsales, instead if you want to hide it for the users choose to set the product to inactive.</p>\n<h2 id=\"bundles\">Bundles</h2>\n<p>If the customer is using our addon \"Advanced Order Logic\" they are able to work with bundles inside of Upsales. Bundles are a special kind of product that contains other products together with a multiplier that is applied to the price of the products</p>\n<h2 id=\"price-lists\">Price lists</h2>\n<p>The addon \"Advanced Order Logic\" also makes it possible to work with price lists. A product can have prices for each price list, and each price list can include prices for multiple currencies. When working with price lists, the prices are stored in the currencies and tiers arrays of the product just like normal with the addition that there is a priceListId on each object which links the price to a price list. Requests to the product endpoint must include the query param \"usePriceLists=true\" to be able to see and update prices for different price lists.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong>  <br />Product ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong>  <br />Product name</td>\n</tr>\n<tr>\n<td>listPrice</td>\n<td><strong>Number, mandatory</strong>  <br />Product list price, set to zero if you don't have a list price.</td>\n</tr>\n<tr>\n<td>articleNo</td>\n<td><strong>String</strong>  <br />External Article number, you can choose if this field should be mandatory in the Upsales interface. External Article number needs to be unique. If it's not mandatory you do not need to send in data to the field.</td>\n</tr>\n<tr>\n<td>purchaseCost</td>\n<td><strong>Number</strong>,  <br />Product purchase cost.</td>\n</tr>\n<tr>\n<td>active</td>\n<td><strong>Number, mandatory</strong>  <br />Active/inactive Product</td>\n</tr>\n<tr>\n<td>category</td>\n<td><strong>Number</strong>  <br />ID of your product category</td>\n</tr>\n<tr>\n<td>sortId</td>\n<td><strong>Number</strong>  <br />Sort order in Upsales</td>\n</tr>\n<tr>\n<td>isMultiCurrency</td>\n<td><strong>Number</strong>  <br />Set to \"1\" if you have multi currency</td>\n</tr>\n<tr>\n<td>roles</td>\n<td><strong>Array</strong>  <br />Role(s) that will be able to see the product</td>\n</tr>\n<tr>\n<td>custom</td>\n<td><strong>Array</strong>  <br />Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n<tr>\n<td>currencies</td>\n<td><strong>Array</strong>  <br />Currencies and their list price for that product</td>\n</tr>\n<tr>\n<td>bundle</td>\n<td><strong>Array</strong>  <br />Products that are included in this bundle and their quantities</td>\n</tr>\n<tr>\n<td>bundlePriceAdjustment</td>\n<td><strong>Number</strong>  <br />The multiplier that the bundle has for the pricing. E.g. 0.9 means that the bundle is 90% of the full price for all products in the bundle</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"c4da7a78-b4a0-4ea9-a1c0-39558bbdcebd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5c08f3a7-00fe-4ba6-969d-e89b54451972","type":"text/javascript","exec":[""]}}],"_postman_id":"ed266e33-6b73-45c8-ba19-ad13ccd700c3"},{"name":"Product categories","item":[{"name":"Get product categories list","id":"6508fd3d-fef6-4fc3-91b0-d44fec487839","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/productCategories?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","productCategories"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"853a9722-56ef-48f6-b78f-a4c09a0a0f78","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/productCategories?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","productCategories"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 04 Jun 2024 08:05:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1120"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Set-Cookie","value":"token=169a8c66ef1de107fe23b980f79f9d45b0511257a27ee82aa4c4db2a5323f3ec4de01ec0e2489bd2aeb4a78d878f7dee; Max-Age=3600; Path=/; Expires=Tue, 04 Jun 2024 09:05:11 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"460-oqvqAilYgxMPsCn9Rh9biRVqGU4\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"limit\": 1000,\n        \"offset\": 0,\n        \"total\": 5\n    },\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Digital Ads\",\n            \"parentId\": 0,\n            \"sortId\": 0,\n            \"roles\": [],\n            \"orderRowFields\": [],\n            \"inheritRoles\": false\n        },\n        {\n            \"id\": 11,\n            \"name\": \"One-off products\",\n            \"parentId\": 0,\n            \"sortId\": 0,\n            \"roles\": [],\n            \"orderRowFields\": [],\n            \"inheritRoles\": false\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Services\",\n            \"parentId\": 0,\n            \"sortId\": 0,\n            \"roles\": [],\n            \"orderRowFields\": [],\n            \"inheritRoles\": false\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Subscription products\",\n            \"parentId\": 0,\n            \"sortId\": 99999999,\n            \"roles\": [],\n            \"orderRowFields\": [],\n            \"inheritRoles\": false\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Updated Product Category\",\n            \"parentId\": 1,\n            \"sortId\": 99999999,\n            \"roles\": [\n                {\n                    \"id\": 2,\n                    \"name\": \"DACH Sales\",\n                    \"description\": \"DACH\",\n                    \"defaultCurrency\": \"EUR\"\n                },\n                {\n                    \"id\": 3,\n                    \"name\": \"UK Sales\",\n                    \"description\": \"UK\",\n                    \"defaultCurrency\": \"SEK\"\n                }\n            ],\n            \"orderRowFields\": [\n                {\n                    \"id\": 16\n                },\n                {\n                    \"id\": 17\n                }\n            ],\n            \"inheritRoles\": false,\n            \"calculatingField\": {\n                \"id\": 8,\n                \"name\": \"Kalkylerande fält på order\",\n                \"dropdownDefault\": null,\n                \"datatype\": \"Calculation\",\n                \"default\": \"\",\n                \"lookupField\": 0,\n                \"sortId\": 0,\n                \"visible\": 1,\n                \"editable\": 1,\n                \"locked\": 0,\n                \"query\": null,\n                \"formula\": \"\",\n                \"obligatoryField\": 0,\n                \"searchable\": 0,\n                \"maxLength\": 1024,\n                \"alias\": null,\n                \"viewonly\": 0,\n                \"roles\": [],\n                \"stages\": []\n            }\n        }\n    ]\n}"}],"_postman_id":"6508fd3d-fef6-4fc3-91b0-d44fec487839"},{"name":"Get product category","id":"cd85c77b-4b99-4284-99f5-8c6337ba9f47","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/productCategories/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","productCategories","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"d4325022-cd8f-45ef-9ee8-221c1bd0c123","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/productCategories/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","productCategories","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 04 Jun 2024 08:05:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"643"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Set-Cookie","value":"token=169a8c66ef1de107fe23b980f79f9d45b0511257a27ee82aa4c4db2a5323f3ec4de01ec0e2489bd2aeb4a78d878f7dee; Max-Age=3600; Path=/; Expires=Tue, 04 Jun 2024 09:05:00 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"283-g2hbntRRAvGofp7izozqbRbuWlM\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": null,\n    \"data\": {\n        \"id\": 10,\n        \"name\": \"Updated Product Category\",\n        \"parentId\": 1,\n        \"sortId\": 99999999,\n        \"roles\": [\n            {\n                \"id\": 2,\n                \"name\": \"DACH Sales\",\n                \"description\": \"DACH\",\n                \"defaultCurrency\": \"EUR\"\n            },\n            {\n                \"id\": 3,\n                \"name\": \"UK Sales\",\n                \"description\": \"UK\",\n                \"defaultCurrency\": \"SEK\"\n            }\n        ],\n        \"orderRowFields\": [\n            {\n                \"id\": 16\n            },\n            {\n                \"id\": 17\n            }\n        ],\n        \"inheritRoles\": false,\n        \"calculatingField\": {\n            \"id\": 8,\n            \"name\": \"Kalkylerande fält på order\",\n            \"dropdownDefault\": null,\n            \"datatype\": \"Calculation\",\n            \"default\": \"\",\n            \"lookupField\": 0,\n            \"sortId\": 0,\n            \"visible\": 1,\n            \"editable\": 1,\n            \"locked\": 0,\n            \"query\": null,\n            \"formula\": \"\",\n            \"obligatoryField\": 0,\n            \"searchable\": 0,\n            \"maxLength\": 1024,\n            \"alias\": null,\n            \"viewonly\": 0,\n            \"roles\": [],\n            \"stages\": []\n        }\n    }\n}"}],"_postman_id":"cd85c77b-4b99-4284-99f5-8c6337ba9f47"},{"name":"Create product category","id":"b384291d-70ed-46f3-a993-2424e8ca524b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"One-off products\"\n}"},"url":"https://integration.upsales.com/api/v2/productCategories?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","productCategories"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"5865479f-3f49-4a15-b03e-e653b144c9be","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"One-off products\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/productCategories?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","productCategories"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 04 Jun 2024 08:04:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Set-Cookie","value":"token=169a8c66ef1de107fe23b980f79f9d45b0511257a27ee82aa4c4db2a5323f3ec4de01ec0e2489bd2aeb4a78d878f7dee; Max-Age=3600; Path=/; Expires=Tue, 04 Jun 2024 09:04:27 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"85-NLOY3dSkBC3ljCG6OcJLqbXnA4k\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 11,\n        \"name\": \"One-off products\",\n        \"parentId\": 0,\n        \"sortId\": 0,\n        \"roles\": [],\n        \"orderRowFields\": [],\n        \"inheritRoles\": false\n    }\n}"}],"_postman_id":"b384291d-70ed-46f3-a993-2424e8ca524b"},{"name":"Update Product Category","id":"f3730ded-8df7-4ee3-abcc-d22becd52dab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Updated Product Category\",\n    \"parentId\": 1,\n    \"roles\":[\n        {\n            \"id\": 2\n        },\n        {\n            \"id\": 3\n        }],\n    \"orderRowFields\":[\n        {\n            \"id\": 4\n        },\n        {\n            \"id\": 5\n        }],\n    \"calculatingField\": {\n        \"id\": 8\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/productCategories/{{id}}?token={{token}}","description":"<h3 id=\"update-product-category\">Update Product Category</h3>\n<p>This endpoint is used to update a specific product category in Upsales.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: PUT</p>\n</li>\n<li><p>URL: <code>https://integration.upsales.com/api/v2/productCategories/{{id}}?token={{token}}</code></p>\n</li>\n<li><p>Headers:</p>\n<ul>\n<li>Content-Type: application/json</li>\n</ul>\n</li>\n<li><p>Body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">  {\n      \"name\": \"\",\n      \"parentId\": 0,\n      \"roles\": [{\"id\": 0}],\n      \"orderRowFields\": [{\"id\": 0}],\n      \"calculatingField\": {\"id\": 0}\n  }\n\n</code></pre>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request will be a JSON object conforming to the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"message\": {\n      \"type\": \"string\"\n    },\n    \"data\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"id\": {\n          \"type\": \"integer\"\n        },\n        \"name\": {\n          \"type\": \"string\"\n        },\n        \"parentId\": {\n          \"type\": \"integer\"\n        },\n        \"roles\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"id\": {\n                \"type\": \"integer\"\n              }\n            }\n          }\n        },\n        \"orderRowFields\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"id\": {\n                \"type\": \"integer\"\n              }\n            }\n          }\n        },\n        \"calculatingField\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"id\": {\n              \"type\": \"integer\"\n            }\n          }\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v2","productCategories","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"7fa046ff-1d44-46bc-b675-07aec651628c","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Updated Product Category\",\n    \"parentId\": 1,\n    \"roles\":[\n        {\n            \"id\": 2\n        },\n        {\n            \"id\": 3\n        }],\n    \"orderRowFields\":[\n        {\n            \"id\": 4\n        },\n        {\n            \"id\": 5\n        }],\n    \"calculatingField\": {\n        \"id\": 8\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/productCategories/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","productCategories","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 04 Jun 2024 07:52:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"627"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Set-Cookie","value":"token=169a8c66ef1de107fe23b980f79f9d45b0511257a27ee82aa4c4db2a5323f3ec4de01ec0e2489bd2aeb4a78d878f7dee; Max-Age=3600; Path=/; Expires=Tue, 04 Jun 2024 08:52:33 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"273-n16640b7QbVWEvG/yzJI4uFiPXs\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 10,\n        \"name\": \"Updated Product Category\",\n        \"parentId\": 1,\n        \"sortId\": 99999999,\n        \"roles\": [\n            {\n                \"id\": 2,\n                \"name\": \"DACH Sales\",\n                \"description\": \"DACH\",\n                \"defaultCurrency\": \"EUR\"\n            },\n            {\n                \"id\": 3,\n                \"name\": \"UK Sales\",\n                \"description\": \"UK\",\n                \"defaultCurrency\": \"SEK\"\n            }\n        ],\n        \"orderRowFields\": [\n            {\n                \"id\": 16\n            },\n            {\n                \"id\": 17\n            }\n        ],\n        \"inheritRoles\": false,\n        \"calculatingField\": {\n            \"id\": 8,\n            \"name\": \"Kalkylerande fält på order\",\n            \"dropdownDefault\": null,\n            \"datatype\": \"Calculation\",\n            \"default\": \"\",\n            \"lookupField\": 0,\n            \"sortId\": 0,\n            \"visible\": 1,\n            \"editable\": 1,\n            \"locked\": 0,\n            \"query\": null,\n            \"formula\": \"\",\n            \"obligatoryField\": 0,\n            \"searchable\": 0,\n            \"maxLength\": 1024,\n            \"alias\": null,\n            \"viewonly\": 0,\n            \"roles\": [],\n            \"stages\": []\n        }\n    }\n}"}],"_postman_id":"f3730ded-8df7-4ee3-abcc-d22becd52dab"},{"name":"Delete product category","id":"34ed8c7e-bc34-44ae-913f-475ece366598","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/productCategories/{{id}}?token={{token}}","description":"<p>You can't delete a product category if you have products or child catagories connected to your product category. You will get a 403 Forbidden, see example request.</p>\n","urlObject":{"protocol":"https","path":["api","v2","productCategories","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"3d0c80fc-9672-42c9-8855-fdc8d33d0ac8","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/productCategories/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","productCategories","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 22 May 2018 09:55:04 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"be-4Wa8MEVeoCTDfneneD45KQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"key\": \"ProductOrChildCategoryExist\",\n    \"code\": 403,\n    \"errorCode\": 100,\n    \"msg\": \"Product or child category exist within the product category\"\n  },\n  \"data\": null\n}"},{"id":"fd113a6d-02d3-4c98-bdb3-7182fb0050e4","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/productCategories/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","productCategories","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 22 May 2018 09:55:58 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"34ed8c7e-bc34-44ae-913f-475ece366598"}],"id":"3197bb89-abbf-4f41-b28a-1526917416bf","description":"<p>Product categories helps you organize your products. You can have parent categories to create advanced tree structures. </p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Product category ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Product category name</td>\n</tr>\n<tr>\n<td>parentId</td>\n<td><strong>Number</strong><br /> ID of parent product category.</td>\n</tr>\n<tr>\n<td>sortId</td>\n<td><strong>Number</strong><br /> Sort order in Upsales</td>\n</tr>\n<tr>\n<td>roles</td>\n<td><strong>Object</strong><br /> Role(s) that will be able to see the product category</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"fddf00de-ba72-48b7-ad8d-30bbe047232f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"832e946f-4231-48de-90aa-c1aa9c1a7713","type":"text/javascript","exec":[""]}}],"_postman_id":"3197bb89-abbf-4f41-b28a-1526917416bf"},{"name":"Opportunity & Order stages","item":[{"name":"Get stage list","id":"39ef568b-3eec-4d21-a046-22fb03f0044a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/orderstages?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orderstages"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"64ed4700-866e-46e5-9719-f86e035edbe6","name":"Get stage list","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/orderstages?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orderstages"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 23 May 2018 06:20:25 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"2dd-wwuUSB2Ec9uFf3FZetEmOQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 6,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 9,\n            \"name\": \"Prospect 1\",\n            \"probability\": 25,\n            \"roles\": []\n        },\n        {\n            \"id\": 11,\n            \"name\": \"Verbal agreement\",\n            \"probability\": 90,\n            \"roles\": []\n        },\n        {\n            \"id\": 12,\n            \"name\": \"Won - Order\",\n            \"probability\": 100,\n            \"roles\": []\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Closed - No order\",\n            \"probability\": 0,\n            \"roles\": []\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Fallback\",\n            \"probability\": 5,\n            \"roles\": []\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Prospect 2\",\n            \"probability\": 50,\n            \"roles\": []\n        }\n    ]\n}"}],"_postman_id":"39ef568b-3eec-4d21-a046-22fb03f0044a"},{"name":"Get stage","id":"df0404f3-df25-4d83-98d8-1a023153086d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/orderstages/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orderstages","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"b1704630-4c3c-4639-b959-40a27dad1377","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/orderstages/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orderstages","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 23 May 2018 06:21:55 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"72-Mx5EnknxioYIEYFEGLIsUg\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 9,\n    \"name\": \"Prospect 1\",\n    \"probability\": 25,\n    \"roles\": []\n  }\n}"}],"_postman_id":"df0404f3-df25-4d83-98d8-1a023153086d"},{"name":"Create stage","id":"c0b67473-1a15-4a53-a257-5ce6a61f90b9","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Prospect 3\",\n    \"probability\": 75\n}"},"url":"https://integration.upsales.com/api/v2/orderstages?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orderstages"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"8aecb99d-5c5d-4697-94ab-5d218a73b22a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Prospect 3\",\n    \"probability\": 75\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/orderstages?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orderstages"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 23 May 2018 06:23:01 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"73-BQgk5hOXZxss7wj2ienZsw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 13,\n    \"name\": \"Prospect 3\",\n    \"probability\": 75,\n    \"roles\": []\n  }\n}"}],"_postman_id":"c0b67473-1a15-4a53-a257-5ce6a61f90b9"},{"name":"Update stage","id":"ba1879fb-2903-4153-80b7-cf97bc6daad3","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Prospect 3\",\n    \"probability\": 80\n}"},"url":"https://integration.upsales.com/api/v2/orderstages/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orderstages","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"1c048767-57b8-4e87-9c2a-3e94d1db1bcd","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Prospect 3\",\n    \"probability\": 80\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/orderstages/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orderstages","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 23 May 2018 06:25:07 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"73-rlqjtEiUXLtkSoCW/5PIUg\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 13,\n    \"name\": \"Prospect 3\",\n    \"probability\": 80,\n    \"roles\": []\n  }\n}"}],"_postman_id":"ba1879fb-2903-4153-80b7-cf97bc6daad3"},{"name":"Delete stage","id":"28c2299f-1b5b-464e-bd08-f53ecd65e044","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/orderstages/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orderstages","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"027c4870-74d4-4b9d-918c-9f063c99e5aa","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/orderstages/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orderstages","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 23 May 2018 06:26:13 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"28c2299f-1b5b-464e-bd08-f53ecd65e044"}],"id":"ca05baf9-868a-4ad5-a8ae-531165527942","description":"<p>Stage is a logical component of a opportunity and order, and essentially a bucket that can hold a number of opportunities and orders. Stages helps the user to organize their sales process.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Stage ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Stage description</td>\n</tr>\n<tr>\n<td>probability</td>\n<td><strong>Number, mandatory</strong><br /> Default stage probability</td>\n</tr>\n<tr>\n<td>roles</td>\n<td><strong>Array</strong><br /> Restrict access to the stage to one or more roles</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"08ee7cf4-8676-4a07-8a64-0803d0354ff6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"555a0b04-f75e-496c-80c8-08833160ed67","type":"text/javascript","exec":[""]}}],"_postman_id":"ca05baf9-868a-4ad5-a8ae-531165527942"},{"name":"Opportunity","item":[{"name":"Get Opportunity list","id":"d448e686-69ab-4832-987b-f718abcb8c7e","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/orders?token={{token}}&probability=gte:1&probability=lte:99","description":"<p>Get Opportunity with probability between 1 and 99</p>\n","urlObject":{"protocol":"https","path":["api","v2","orders"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"probability","value":"gte:1"},{"key":"probability","value":"lte:99"}],"variable":[]}},"response":[{"id":"b5b9f970-9cd5-47d7-943d-5e901f6c1626","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/orders?token={{token}}&probability=gte:1&probability=lte:99","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orders"],"query":[{"key":"token","value":"{{token}}"},{"key":"probability","value":"gte:1"},{"key":"probability","value":"lte:99"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 23 May 2018 06:12:42 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6c1-6tLWUVm5iVllTD/tYOHtvQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"metadata\": {\n    \"total\": 1,\n    \"limit\": 1000,\n    \"offset\": 0\n  },\n  \"data\": [\n    {\n      \"id\": 2,\n      \"description\": \"Example\",\n      \"closeDate\": null,\n      \"date\": \"2018-05-22\",\n      \"notes\": \"\",\n      \"user\": {\n        \"id\": 1,\n        \"name\": \"Gustav Petterson\",\n        \"role\": null,\n        \"email\": \"apidocs@upsales.com\"\n      },\n      \"client\": {\n        \"name\": \"Example inc\",\n        \"id\": 3,\n        \"users\": [\n          {\n            \"id\": 1,\n            \"name\": \"Gustav Petterson\",\n            \"role\": null,\n            \"email\": \"apidocs@upsales.com\"\n          }\n        ]\n      },\n      \"contact\": null,\n      \"project\": null,\n      \"regDate\": \"2018-05-22T11:15:30.000Z\",\n      \"stage\": {\n        \"name\": \"Prospect 1\",\n        \"id\": 9\n      },\n      \"probability\": 25,\n      \"modDate\": \"2018-05-22T11:15:30.000Z\",\n      \"clientConnection\": null,\n      \"currencyRate\": 1,\n      \"currency\": \"SEK\",\n      \"locked\": 0,\n      \"custom\": [\n        {\n          \"value\": \"2018-05-22\",\n          \"valueDate\": \"2018-05-22\",\n          \"orgNumber\": 20180522,\n          \"fieldId\": 1\n        }\n      ],\n      \"orderRow\": [\n        {\n          \"id\": 2,\n          \"quantity\": 1,\n          \"price\": 10000,\n          \"discount\": 0,\n          \"custom\": [],\n          \"productId\": 1,\n          \"sortId\": 1,\n          \"listPrice\": 10000,\n          \"product\": {\n            \"name\": \"Example product\",\n            \"id\": 1,\n            \"category\": null\n          }\n        },\n        {\n          \"id\": 2,\n          \"quantity\": 1,\n          \"price\": 10000,\n          \"discount\": 0,\n          \"custom\": [],\n          \"productId\": 1,\n          \"sortId\": 1,\n          \"listPrice\": 10000,\n          \"product\": {\n            \"name\": \"Example bundle\",\n            \"id\": 1,\n            \"category\": null\n          },\n          \"bundleRows\": [{\n            \"productId\": 10,\n            \"quantity\": 1,  \n            \"tierQuantity\": 1,  \n            \"sortId\": 1,  \n            \"price\": 100,  \n            \"listPrice\": 120,  \n            \"purchaseCost\": 50\n          },\n          {\n            \"productId\": 11,\n            \"quantity\": 1,  \n            \"tierQuantity\": 10,  \n            \"sortId\": 1,  \n            \"price\": 200,  \n            \"listPrice\": 220,  \n            \"purchaseCost\": 100\n          }]\n        }\n      ],\n      \"value\": 10000,\n      \"weightedValue\": 2500,\n      \"valueInMasterCurrency\": 10000,\n      \"weightedValueInMasterCurrency\": 2500,\n      \"agreement\": null,\n      \"userRemovable\": true,\n      \"userEditable\": true\n    }\n  ]\n}"}],"_postman_id":"d448e686-69ab-4832-987b-f718abcb8c7e"},{"name":"Get Opportunity","id":"b8dfce4a-4627-427d-8aa4-50ce2487f0d1","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/orders/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orders","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"19709f79-8fce-4609-8edc-bf6414ef5bd1","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/orders/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orders","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 23 May 2018 06:14:11 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"55a-NLQQWvmf482YGlMwkuVdiw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"description\": \"Example\",\n    \"closeDate\": null,\n    \"date\": \"2018-05-22\",\n    \"notes\": \"\",\n    \"user\": {\n      \"id\": 1,\n      \"name\": \"Gustav Petterson\",\n      \"role\": null,\n      \"email\": \"apidocs@upsales.com\"\n    },\n    \"client\": {\n      \"name\": \"Example inc\",\n      \"id\": 3,\n      \"users\": [\n        {\n          \"id\": 1,\n          \"name\": \"Gustav Petterson\",\n          \"role\": null,\n          \"email\": \"apidocs@upsales.com\"\n        }\n      ]\n    },\n    \"contact\": null,\n    \"project\": null,\n    \"regDate\": \"2018-05-22T11:15:30.000Z\",\n    \"stage\": {\n      \"name\": \"Prospect 1\",\n      \"id\": 9\n    },\n    \"probability\": 25,\n    \"modDate\": \"2018-05-22T11:15:30.000Z\",\n    \"clientConnection\": null,\n    \"currencyRate\": 1,\n    \"currency\": \"SEK\",\n    \"locked\": 0,\n    \"custom\": [],\n    \"orderRow\": [\n      {\n        \"id\": 2,\n        \"quantity\": 1,\n        \"price\": 10000,\n        \"discount\": 0,\n        \"custom\": [],\n        \"productId\": 1,\n        \"sortId\": 1,\n        \"listPrice\": 10000,\n        \"product\": {\n          \"name\": \"Example product\",\n          \"id\": 1,\n          \"category\": null\n        }\n      }\n    ],\n    \"value\": 10000,\n    \"weightedValue\": 2500,\n    \"valueInMasterCurrency\": 10000,\n    \"weightedValueInMasterCurrency\": 2500,\n    \"agreement\": null,\n    \"userRemovable\": true,\n    \"userEditable\": true\n  }\n}"}],"_postman_id":"b8dfce4a-4627-427d-8aa4-50ce2487f0d1"},{"name":"Create Opportunity","id":"4dc98812-812d-4c4c-8594-3348e05e9742","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":" {\n    \"description\": \"10 licenses\",\n    \"date\": \"2018-07-23\",\n    \"user\": {\n            \"id\": 1\n            },\n    \"client\": {\n            \"id\": 2\n            },\n    \"stage\": {\n            \"id\": 9\n            },\n    \"probability\": 25,\n\t\"orderRow\": [\n                {\n            \"quantity\": 1,\n            \"price\": 9000,\n            \"listPrice\": 10000,\n            \"purchaseCost\": 4500,\n            \"product\": {\n                \"id\": 1\n                }\n            }\n            ]\n }"},"url":"https://integration.upsales.com/api/v2/orders?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orders"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"09063b20-3111-43d6-b345-a4984e11cd48","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":" {\n    \"description\": \"10 licenses\",\n    \"date\": \"2018-07-23\",\n    \"user\": {\n            \"id\": 1\n            },\n    \"client\": {\n            \"id\": 2\n            },\n    \"stage\": {\n            \"id\": 9\n            },\n    \"probability\": 25,\n\t\"orderRow\": [\n                {\n            \"quantity\": 1,\n            \"price\": 9000,\n            \"listPrice\": 10000,\n            \"product\": {\n                \"id\": 1\n                }\n            }\n            ]\n }"},"url":{"raw":"https://integration.upsales.com/api/v2/orders?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orders"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 23 May 2018 06:14:57 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"51a-3oSvkfXPC291UWU7FJxvcQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 4,\n    \"description\": \"10 licenses\",\n    \"closeDate\": null,\n    \"date\": \"2018-07-23\",\n    \"notes\": null,\n    \"user\": {\n      \"role\": null,\n      \"name\": \"Gustav Petterson\",\n      \"id\": 1,\n      \"email\": \"apidocs@upsales.com\"\n    },\n    \"client\": {\n      \"name\": \"Pied piper\",\n      \"id\": 2,\n      \"users\": [\n        {\n          \"name\": \"Gustav Petterson\",\n          \"id\": 1\n        }\n      ]\n    },\n    \"contact\": null,\n    \"project\": null,\n    \"regDate\": \"2018-05-23T06:14:57.000Z\",\n    \"stage\": {\n      \"name\": \"Prospect 1\",\n      \"id\": 9\n    },\n    \"probability\": 25,\n    \"modDate\": \"2018-05-23T06:14:57.000Z\",\n    \"clientConnection\": null,\n    \"currencyRate\": 1,\n    \"currency\": \"SEK\",\n    \"locked\": 0,\n    \"custom\": [],\n    \"orderRow\": [\n      {\n        \"id\": 6,\n        \"quantity\": 1,\n        \"price\": 9000,\n        \"discount\": 0,\n        \"custom\": [],\n        \"productId\": 1,\n        \"sortId\": 0,\n        \"listPrice\": 10000,\n        \"product\": {\n          \"name\": \"Example product\",\n          \"id\": 1,\n          \"category\": null\n        }\n      }\n    ],\n    \"value\": 9000,\n    \"weightedValue\": 2250,\n    \"valueInMasterCurrency\": 9000,\n    \"weightedValueInMasterCurrency\": 2250,\n    \"agreement\": null,\n    \"userRemovable\": true,\n    \"userEditable\": true\n  }\n}"}],"_postman_id":"4dc98812-812d-4c4c-8594-3348e05e9742"},{"name":"Update Opportunity","id":"c0ea716a-24ce-4e57-82ac-4bb75b303277","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":" {\n    \"description\": \"10 licenses\",\n    \"date\": \"2018-07-23\",\n    \"user\": {\n            \"id\": 1\n            },\n    \"client\": {\n            \"id\": 2\n            },\n    \"stage\": {\n            \"id\": 10\n            },\n    \"probability\": 50,\n\t\"orderRow\": [\n                {\n            \"quantity\": 1,\n            \"price\": 9000,\n            \"listPrice\": 10000,\n            \"product\": {\n                \"id\": 1\n                }\n             },\n             {\n            \"quantity\": 2,\n            \"price\": 2000,\n            \"listPrice\": 2000,\n            \"product\": {\n                \"id\": 2\n            \t}\n            }\n            ]\n }"},"url":"https://integration.upsales.com/api/v2/orders/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orders","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"c82faf35-fc0a-46be-ab60-24254aac0c08","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":" {\n    \"description\": \"10 licenses\",\n    \"date\": \"2018-07-23\",\n    \"user\": {\n            \"id\": 1\n            },\n    \"client\": {\n            \"id\": 2\n            },\n    \"stage\": {\n            \"id\": 10\n            },\n    \"probability\": 50,\n\t\"orderRow\": [\n                {\n            \"quantity\": 1,\n            \"price\": 9000,\n            \"listPrice\": 10000,\n            \"product\": {\n                \"id\": 1\n                }\n             },\n             {\n            \"quantity\": 2,\n            \"price\": 2000,\n            \"listPrice\": 2000,\n            \"product\": {\n                \"id\": 2\n            \t}\n            }\n            ]\n }"},"url":{"raw":"https://integration.upsales.com/api/v2/orders/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orders","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 23 May 2018 06:16:24 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"64f-GAIEh9NRp4Moc3cPIB3Y6Q\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 2,\n    \"description\": \"10 licenses\",\n    \"closeDate\": null,\n    \"date\": \"2018-07-23\",\n    \"notes\": \"\",\n    \"user\": {\n      \"role\": null,\n      \"name\": \"Gustav Petterson\",\n      \"id\": 1,\n      \"email\": \"apidocs@upsales.com\"\n    },\n    \"client\": {\n      \"name\": \"Pied piper\",\n      \"id\": 2,\n      \"users\": [\n        {\n          \"name\": \"Gustav Petterson\",\n          \"id\": 1\n        }\n      ]\n    },\n    \"contact\": null,\n    \"project\": null,\n    \"regDate\": \"2018-05-22T11:15:30.000Z\",\n    \"stage\": {\n      \"name\": \"Prospect 2\",\n      \"id\": 10\n    },\n    \"probability\": 50,\n    \"modDate\": \"2018-05-23T06:16:24.000Z\",\n    \"clientConnection\": null,\n    \"currencyRate\": 1,\n    \"currency\": \"SEK\",\n    \"locked\": 0,\n    \"custom\": [],\n    \"orderRow\": [\n      {\n        \"id\": 7,\n        \"quantity\": 1,\n        \"price\": 9000,\n        \"discount\": 0,\n        \"custom\": [],\n        \"productId\": 1,\n        \"sortId\": 0,\n        \"listPrice\": 10000,\n        \"product\": {\n          \"name\": \"Example product\",\n          \"id\": 1,\n          \"category\": null\n        }\n      },\n      {\n        \"id\": 8,\n        \"quantity\": 2,\n        \"price\": 2000,\n        \"discount\": 0,\n        \"custom\": [],\n        \"productId\": 2,\n        \"sortId\": 0,\n        \"listPrice\": 2000,\n        \"product\": {\n          \"name\": \"SaaS product\",\n          \"id\": 2,\n          \"category\": null\n        }\n      }\n    ],\n    \"value\": 13000,\n    \"weightedValue\": 6500,\n    \"valueInMasterCurrency\": 13000,\n    \"weightedValueInMasterCurrency\": 6500,\n    \"agreement\": null,\n    \"userRemovable\": true,\n    \"userEditable\": true\n  }\n}"}],"_postman_id":"c0ea716a-24ce-4e57-82ac-4bb75b303277"},{"name":"Delete Opportunity","id":"f0a7c5dd-b5c0-462e-8d42-7bd506b29bcc","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/orders/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orders","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"85ed14bb-e2c7-4cf2-a992-27b4099d2f82","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/orders/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orders","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 23 May 2018 06:17:04 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"f0a7c5dd-b5c0-462e-8d42-7bd506b29bcc"}],"id":"2c093b7b-a140-49ba-bec0-1d15483327b2","description":"<p>Opportunities represent ongoing sales you have with a Company. Opportunities must be owned by a User. Each Opportunity consists of standard data fields and order rows (with product, price and discount) but can also contain a number of custom fields. Opportunities and orders are the same entity, what distinguishes them is their probability.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong>  <br />Order ID</td>\n</tr>\n<tr>\n<td>description</td>\n<td><strong>String, mandatory</strong>  <br />Order description</td>\n</tr>\n<tr>\n<td>closeDate</td>\n<td><strong>Date</strong>  <br />Date when Order became 100% or 0%</td>\n</tr>\n<tr>\n<td>date</td>\n<td><strong>Date, mandatory</strong>  <br />Order date</td>\n</tr>\n<tr>\n<td>notes</td>\n<td><strong>String</strong>  <br />Order notes</td>\n</tr>\n<tr>\n<td>user</td>\n<td><strong>Object, mandatory</strong>  <br />User who did the order</td>\n</tr>\n<tr>\n<td>client</td>\n<td><strong>Object, mandatory</strong>  <br />Company this order belongs to</td>\n</tr>\n<tr>\n<td>contact</td>\n<td><strong>Object</strong> Contact reference of the company that bought</td>\n</tr>\n<tr>\n<td>projects</td>\n<td><strong>Object</strong> Campaign this order is added to</td>\n</tr>\n<tr>\n<td>regDate</td>\n<td><strong>Date, read-only</strong>  <br />Order regdate</td>\n</tr>\n<tr>\n<td>stage</td>\n<td><strong>Object, mandatory</strong> Stage to which the order belongs to</td>\n</tr>\n<tr>\n<td>probability</td>\n<td><strong>Number, mandatory</strong> Probability, between 0-100</td>\n</tr>\n<tr>\n<td>modDate</td>\n<td><strong>Date, read-only</strong> last modification date</td>\n</tr>\n<tr>\n<td>clientConnection</td>\n<td><strong>Object</strong> Second company connected to this order</td>\n</tr>\n<tr>\n<td>currencyRate</td>\n<td><strong>Number</strong> currency rate in relation to the base currency of the account</td>\n</tr>\n<tr>\n<td>currency</td>\n<td><strong>String</strong> Currency order is sold in</td>\n</tr>\n<tr>\n<td>custom</td>\n<td><strong>Array</strong> Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n<tr>\n<td>orderRow[].quantity</td>\n<td><strong>Number, mandatory</strong>  <br />Number of sold goods or services</td>\n</tr>\n<tr>\n<td>orderRow[].price</td>\n<td><strong>Number, mandatory</strong>  <br />Net price</td>\n</tr>\n<tr>\n<td>orderRow[].listPrice</td>\n<td><strong>Number, mandatory</strong>  <br />Gross price</td>\n</tr>\n<tr>\n<td>orderRow[].purchaseCost</td>\n<td><strong>Number</strong>  <br />Purchase cost for the product</td>\n</tr>\n<tr>\n<td>orderRow[].product</td>\n<td><strong>Object, mandatory</strong>  <br />Product you sold</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].productId</td>\n<td><strong>Number</strong>  <br />Product ID for the product in the bundle</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].quantity</td>\n<td><strong>Number</strong>  <br />Quantity for the product in the bundle</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].tierQuantity</td>\n<td><strong>Number</strong>  <br />Tier quantity for the product in the bundle (this only applies for tiered products)</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].sortId</td>\n<td><strong>Number</strong>  <br />Order this product appears in the UI in the bundle</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].price</td>\n<td><strong>Number</strong>  <br />Net price for the product inside of the bundle</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].listPrice</td>\n<td><strong>Number</strong>  <br />Gross price for the product inside of the bundle</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].purchaseCost</td>\n<td><strong>Number</strong>  <br />Purchase cost for the product inside of the bundle</td>\n</tr>\n<tr>\n<td>value</td>\n<td><strong>Number, read-only</strong>  <br />Total order sum</td>\n</tr>\n<tr>\n<td>weightedValue</td>\n<td><strong>Number, read-only</strong>  <br />Total order sum * with probability</td>\n</tr>\n<tr>\n<td>valueInMasterCurrency</td>\n<td><strong>Number, read-only</strong>  <br />Total order sum in base currency</td>\n</tr>\n<tr>\n<td>weightedValueInMasterCurrency</td>\n<td><strong>Number, read-only</strong>  <br />Total order sum in base currency * with probability</td>\n</tr>\n<tr>\n<td>agreement</td>\n<td><strong>Object, read-only</strong>  <br />Which agreement created this order</td>\n</tr>\n<tr>\n<td>userRemovable</td>\n<td><strong>Bolean, read-only</strong> User has right to delete Order in UI</td>\n</tr>\n<tr>\n<td>userEditable</td>\n<td><strong>Bolean, read-only</strong> User has right to edit Order in UI</td>\n</tr>\n<tr>\n<td>competitorId</td>\n<td><strong>Number</strong>  <br />Find competitors you can choose between here: <a href=\"https://integration.upsales.com/api/v2/competitors/\">https://integration.upsales.com/api/v2/competitors/</a></td>\n</tr>\n<tr>\n<td>lostReason</td>\n<td><strong>Number</strong>  <br />Find lost Reason IDs here <a href=\"https://integration.upsales.com/api/v2/fieldTranslations/?type=orderlostreason\">https://integration.upsales.com/api/v2/fieldTranslations/?type=orderlostreason</a></td>\n</tr>\n<tr>\n<td>confirmedBudget</td>\n<td><strong>read-only</strong>  <br />If sales rep confirmed budget with customer</td>\n</tr>\n<tr>\n<td>confirmedDate</td>\n<td><strong>read-only</strong>  <br />If sales rep confirmed time frame with customer</td>\n</tr>\n<tr>\n<td>confirmedSolution</td>\n<td><strong>read-only</strong>  <br />If sales rep confirmed with customer if our solution will solve their challenges</td>\n</tr>\n<tr>\n<td>salesCoach</td>\n<td><strong>object, read-only</strong>  <br />Sales Coach feature inside Upsales</td>\n</tr>\n<tr>\n<td>locked</td>\n<td><strong>depricated</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"05aebc58-7f46-4acb-9f61-b7738feaeeda","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a157c3b0-3384-464e-af1a-4c82e9bdbaa8","type":"text/javascript","exec":[""]}}],"_postman_id":"2c093b7b-a140-49ba-bec0-1d15483327b2"},{"name":"Order","item":[{"name":"Get Order list","id":"b876b5e4-aca4-4caa-b00f-5c00249f8638","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/orders?token={{token}}&probability=100","description":"<p>Get won orders</p>\n","urlObject":{"protocol":"https","path":["api","v2","orders"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"probability","value":"100"}],"variable":[]}},"response":[{"id":"c22a44fe-5672-4906-9f1c-33872cafd9cf","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/orders?token={{token}}&probability=100","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orders"],"query":[{"key":"token","value":"{{token}}"},{"key":"probability","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 22 May 2018 11:16:24 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6d6-udJnO/ED2y7Wf9dG4JI35Q\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 1,\n        \"limit\": 1000,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"description\": \"10 licenses\",\n            \"closeDate\": \"2018-05-22\",\n            \"date\": \"2018-05-22\",\n            \"notes\": \"\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Gustav Petterson\",\n                \"role\": null,\n                \"email\": \"apidocs@upsales.com\"\n            },\n            \"client\": {\n                \"name\": \"Pied piper\",\n                \"id\": 2,\n                \"users\": [\n                    {\n                        \"id\": 1,\n                        \"name\": \"Gustav Petterson\",\n                        \"role\": null,\n                        \"email\": \"apidocs@upsales.com\"\n                    }\n                ]\n            },\n            \"contact\": null,\n            \"project\": null,\n            \"regDate\": \"2018-05-22T11:08:26.000Z\",\n            \"stage\": {\n                \"name\": \"Won - Order\",\n                \"id\": 12\n            },\n            \"probability\": 100,\n            \"modDate\": \"2018-05-22T11:13:59.000Z\",\n            \"clientConnection\": null,\n            \"currencyRate\": 1,\n            \"currency\": \"SEK\",\n            \"locked\": 0,\n            \"custom\": [\n                {\n                    \"value\": \"2018-05-23\",\n                    \"valueDate\": \"2018-05-23\",\n                    \"orgNumber\": 20180523,\n                    \"fieldId\": 1\n                }\n            ],\n            \"orderRow\": [\n                {\n                    \"id\": 1,\n                    \"quantity\": 1,\n                    \"price\": 10000,\n                    \"discount\": 0,\n                    \"custom\": [],\n                    \"productId\": 1,\n                    \"sortId\": 1,\n                    \"listPrice\": 10000,\n                    \"product\": {\n                        \"name\": \"Example product\",\n                        \"id\": 1,\n                        \"category\": null\n                    }\n                },\n                {\n                    \"id\": 2,\n                    \"quantity\": 1,\n                    \"price\": 10000,\n                    \"discount\": 0,\n                    \"custom\": [],\n                    \"productId\": 1,\n                    \"sortId\": 1,\n                    \"listPrice\": 10000,\n                    \"product\": {\n                        \"name\": \"Example bundle\",\n                        \"id\": 1,\n                        \"category\": null\n                    },\n                    \"bundleRows\": [{\n                        \"productId\": 10,\n                        \"quantity\": 1,  \n                        \"tierQuantity\": 1,  \n                        \"sortId\": 1,  \n                        \"price\": 100,  \n                        \"listPrice\": 120,  \n                        \"purchaseCost\": 50\n                    },\n                    {\n                        \"productId\": 11,\n                        \"quantity\": 1,  \n                        \"tierQuantity\": 10,  \n                        \"sortId\": 1,  \n                        \"price\": 200,  \n                        \"listPrice\": 220,  \n                        \"purchaseCost\": 100\n                    }]\n                }\n            ],\n            \"value\": 10000,\n            \"weightedValue\": 10000,\n            \"valueInMasterCurrency\": 10000,\n            \"weightedValueInMasterCurrency\": 10000,\n            \"agreement\": null,\n            \"userRemovable\": true,\n            \"userEditable\": true\n        }\n    ]\n}"}],"_postman_id":"b876b5e4-aca4-4caa-b00f-5c00249f8638"},{"name":"Get Order","id":"e6bda847-25c1-4e64-a7fa-a829ba281439","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/orders/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orders","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"6e0f1410-b3ba-4312-a684-56048e1f628d","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/orders/1?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orders","1"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"The mime type of this content","type":"text"},{"key":"Date","value":"Tue, 22 May 2018 11:17:07 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"56f-p1m9A1OxP9em3EYkJA6neg\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 1,\n        \"description\": \"10 licenses\",\n        \"closeDate\": \"2018-05-22\",\n        \"date\": \"2018-05-22\",\n        \"notes\": \"\",\n        \"user\": {\n            \"id\": 1,\n            \"name\": \"Gustav Petterson\",\n            \"role\": null,\n            \"email\": \"apidocs@upsales.com\"\n        },\n        \"client\": {\n            \"name\": \"Pied piper\",\n            \"id\": 2,\n            \"users\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Gustav Petterson\",\n                    \"role\": null,\n                    \"email\": \"apidocs@upsales.com\"\n                }\n            ]\n        },\n        \"contact\": null,\n        \"project\": null,\n        \"regDate\": \"2018-05-22T11:08:26.000Z\",\n        \"stage\": {\n            \"name\": \"Won - Order\",\n            \"id\": 12\n        },\n        \"probability\": 100,\n        \"modDate\": \"2018-05-22T11:13:59.000Z\",\n        \"clientConnection\": null,\n        \"currencyRate\": 1,\n        \"currency\": \"SEK\",\n        \"locked\": 0,\n        \"custom\": [],\n        \"orderRow\": [\n            {\n                \"id\": 1,\n                \"quantity\": 1,\n                \"price\": 10000,\n                \"discount\": 0,\n                \"custom\": [],\n                \"productId\": 1,\n                \"sortId\": 1,\n                \"listPrice\": 10000,\n                \"product\": {\n                    \"name\": \"Example product\",\n                    \"id\": 1,\n                    \"category\": null\n                }\n            },\n            {\n                \"id\": 2,\n                \"quantity\": 1,\n                \"price\": 10000,\n                \"discount\": 0,\n                \"custom\": [],\n                \"productId\": 1,\n                \"sortId\": 1,\n                \"listPrice\": 10000,\n                \"product\": {\n                    \"name\": \"Example bundle\",\n                    \"id\": 1,\n                    \"category\": null\n                },\n                \"bundleRows\": [\n                    {\n                        \"productId\": 10,\n                        \"quantity\": 1,\n                        \"tierQuantity\": 1,\n                        \"sortId\": 1,\n                        \"price\": 100,\n                        \"listPrice\": 120,\n                        \"purchaseCost\": 50\n                    },\n                    {\n                        \"productId\": 11,\n                        \"quantity\": 1,\n                        \"tierQuantity\": 10,\n                        \"sortId\": 1,\n                        \"price\": 200,\n                        \"listPrice\": 220,\n                        \"purchaseCost\": 100\n                    }\n                ]\n            }\n        ],\n        \"value\": 10000,\n        \"weightedValue\": 10000,\n        \"valueInMasterCurrency\": 10000,\n        \"weightedValueInMasterCurrency\": 10000,\n        \"agreement\": null,\n        \"userRemovable\": true,\n        \"userEditable\": true\n    }\n}"}],"_postman_id":"e6bda847-25c1-4e64-a7fa-a829ba281439"},{"name":"Create Order","id":"9c402e62-1951-4b50-9372-6f2664736431","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":" {\n    \"description\": \"10 licenses\",\n    \"date\": \"2018-07-23\",\n    \"user\": {\n            \"id\": 1\n            },\n    \"client\": {\n            \"id\": 2\n            },\n    \"stage\": {\n            \"id\": 12\n            },\n    \"probability\": 100,\n\t\"orderRow\": [\n                {\n            \"quantity\": 1,\n            \"price\": 9000,\n            \"listPrice\": 10000,\n            \"purchaseCost\": 4500,\n            \"product\": {\n                \"id\": 1\n                }\n            }\n            ]\n }"},"url":"https://integration.upsales.com/api/v2/orders?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orders"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"8faccb4e-9e83-4a4f-8a31-48dacb4cc8e6","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"10 licenses\",\n    \"date\": \"2018-07-23\",\n    \"user\": {\n        \"id\": 1\n    },\n    \"client\": {\n        \"id\": 2\n    },\n    \"stage\": {\n        \"id\": 12\n    },\n    \"probability\": 100,\n    \"orderRow\": [\n        {\n            \"quantity\": 1,\n            \"price\": 9000,\n            \"listPrice\": 10000,\n            \"product\": {\n                \"id\": 1\n            }\n        },\n        {\n            \"quantity\": 1,\n            \"price\": 9000,\n            \"listPrice\": 10000,\n            \"product\": {\n                \"id\": 1\n            },\n            \"bundleRows\": [\n                {\n                    \"productId\": 10,\n                    \"quantity\": 1,\n                    \"tierQuantity\": 1,\n                    \"sortId\": 1,\n                    \"price\": 100,\n                    \"listPrice\": 120,\n                    \"purchaseCost\": 50\n                },\n                {\n                    \"productId\": 11,\n                    \"quantity\": 1,\n                    \"tierQuantity\": 10,\n                    \"sortId\": 1,\n                    \"price\": 200,\n                    \"listPrice\": 220,\n                    \"purchaseCost\": 100\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/orders?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orders"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"The mime type of this content","type":"text"},{"key":"Date","value":"Tue, 22 May 2018 11:23:27 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"52a-JehgWiMewkSqcId9yN3dhA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 3,\n        \"description\": \"10 licenses\",\n        \"closeDate\": \"2018-05-22\",\n        \"date\": \"2018-07-23\",\n        \"notes\": null,\n        \"user\": {\n            \"role\": null,\n            \"name\": \"Gustav Petterson\",\n            \"id\": 1,\n            \"email\": \"apidocs@upsales.com\"\n        },\n        \"client\": {\n            \"name\": \"Pied piper\",\n            \"id\": 2,\n            \"users\": [\n                {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                }\n            ]\n        },\n        \"contact\": null,\n        \"project\": null,\n        \"regDate\": \"2018-05-22T11:23:26.000Z\",\n        \"stage\": {\n            \"name\": \"Won - Order\",\n            \"id\": 12\n        },\n        \"probability\": 100,\n        \"modDate\": \"2018-05-22T11:23:26.000Z\",\n        \"clientConnection\": null,\n        \"currencyRate\": 1,\n        \"currency\": \"SEK\",\n        \"locked\": 0,\n        \"custom\": [],\n        \"orderRow\": [\n            {\n                \"id\": 3,\n                \"quantity\": 1,\n                \"price\": 9000,\n                \"discount\": 0,\n                \"custom\": [],\n                \"productId\": 1,\n                \"sortId\": 0,\n                \"listPrice\": 10000,\n                \"product\": {\n                    \"name\": \"Example product\",\n                    \"id\": 1,\n                    \"category\": null\n                }\n            },\n            {\n                \"id\": 2,\n                \"quantity\": 1,\n                \"price\": 10000,\n                \"discount\": 0,\n                \"custom\": [],\n                \"productId\": 1,\n                \"sortId\": 1,\n                \"listPrice\": 10000,\n                \"product\": {\n                    \"name\": \"Example bundle\",\n                    \"id\": 1,\n                    \"category\": null\n                },\n                \"bundleRows\": [\n                    {\n                        \"productId\": 10,\n                        \"quantity\": 1,\n                        \"tierQuantity\": 1,\n                        \"sortId\": 1,\n                        \"price\": 100,\n                        \"listPrice\": 120,\n                        \"purchaseCost\": 50\n                    },\n                    {\n                        \"productId\": 11,\n                        \"quantity\": 1,\n                        \"tierQuantity\": 10,\n                        \"sortId\": 1,\n                        \"price\": 200,\n                        \"listPrice\": 220,\n                        \"purchaseCost\": 100\n                    }\n                ]\n            }\n        ],\n        \"value\": 9000,\n        \"weightedValue\": 9000,\n        \"valueInMasterCurrency\": 9000,\n        \"weightedValueInMasterCurrency\": 9000,\n        \"agreement\": null,\n        \"userRemovable\": true,\n        \"userEditable\": true\n    }\n}"}],"_postman_id":"9c402e62-1951-4b50-9372-6f2664736431"},{"name":"Update Order","id":"eec6ead8-d121-40e6-9910-185ca06ac323","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":" {\n    \"description\": \"10 licenses\",\n    \"date\": \"2018-07-23\",\n    \"user\": {\n            \"id\": 1\n            },\n    \"client\": {\n            \"id\": 2\n            },\n    \"stage\": {\n            \"id\": 12\n            },\n    \"probability\": 100,\n\t\"orderRow\": [\n                {\n            \"quantity\": 1,\n            \"price\": 9000,\n            \"listPrice\": 10000,\n            \"product\": {\n                \"id\": 1\n                }\n             },\n             {\n            \"quantity\": 2,\n            \"price\": 2000,\n            \"listPrice\": 2000,\n            \"product\": {\n                \"id\": 2\n            \t}\n            }\n            ]\n }"},"url":"https://integration.upsales.com/api/v2/orders/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orders","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"1594c2fc-216b-4b28-ab9e-6ad8fe11bd1b","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"10 licenses\",\n    \"date\": \"2018-07-23\",\n    \"user\": {\n        \"id\": 1\n    },\n    \"client\": {\n        \"id\": 2\n    },\n    \"stage\": {\n        \"id\": 12\n    },\n    \"probability\": 100,\n    \"orderRow\": [\n        {\n            \"quantity\": 1,\n            \"price\": 9000,\n            \"listPrice\": 10000,\n            \"product\": {\n                \"id\": 1\n            }\n        },\n        {\n            \"quantity\": 2,\n            \"price\": 2000,\n            \"listPrice\": 2000,\n            \"product\": {\n                \"id\": 2\n            }\n        },\n        {\n            \"id\": 2,\n            \"quantity\": 1,\n            \"price\": 10000,\n            \"listPrice\": 10000,\n            \"product\": {\n                \"id\": 3\n            },\n            \"bundleRows\": [\n                {\n                    \"productId\": 10,\n                    \"quantity\": 1,\n                    \"tierQuantity\": 1,\n                    \"sortId\": 1,\n                    \"price\": 100,\n                    \"listPrice\": 120,\n                    \"purchaseCost\": 50\n                },\n                {\n                    \"productId\": 11,\n                    \"quantity\": 1,\n                    \"tierQuantity\": 10,\n                    \"sortId\": 1,\n                    \"price\": 200,\n                    \"listPrice\": 220,\n                    \"purchaseCost\": 100\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/orders/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orders","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 22 May 2018 15:45:03 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"662-76EFIZiUSgf2znyqejJxZA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 3,\n        \"description\": \"10 licenses\",\n        \"closeDate\": \"2018-05-22\",\n        \"date\": \"2018-07-23\",\n        \"notes\": null,\n        \"user\": {\n            \"role\": null,\n            \"name\": \"Gustav Petterson\",\n            \"id\": 1,\n            \"email\": \"apidocs@upsales.com\"\n        },\n        \"client\": {\n            \"name\": \"Pied piper\",\n            \"id\": 2,\n            \"users\": [\n                {\n                    \"name\": \"Gustav Petterson\",\n                    \"id\": 1\n                }\n            ]\n        },\n        \"contact\": null,\n        \"project\": null,\n        \"regDate\": \"2018-05-22T11:23:26.000Z\",\n        \"stage\": {\n            \"name\": \"Won - Order\",\n            \"id\": 12\n        },\n        \"probability\": 100,\n        \"modDate\": \"2018-05-22T15:45:03.000Z\",\n        \"clientConnection\": null,\n        \"currencyRate\": 1,\n        \"currency\": \"SEK\",\n        \"locked\": 0,\n        \"custom\": [],\n        \"orderRow\": [\n            {\n                \"id\": 4,\n                \"quantity\": 1,\n                \"price\": 9000,\n                \"discount\": 0,\n                \"custom\": [],\n                \"productId\": 1,\n                \"sortId\": 0,\n                \"listPrice\": 10000,\n                \"product\": {\n                    \"name\": \"Example product\",\n                    \"id\": 1,\n                    \"category\": null\n                }\n            },\n            {\n                \"id\": 5,\n                \"quantity\": 2,\n                \"price\": 2000,\n                \"discount\": 0,\n                \"custom\": [],\n                \"productId\": 2,\n                \"sortId\": 0,\n                \"listPrice\": 2000,\n                \"product\": {\n                    \"name\": \"SaaS product\",\n                    \"id\": 2,\n                    \"category\": null\n                }\n            }\n        ],\n        \"value\": 13000,\n        \"weightedValue\": 13000,\n        \"valueInMasterCurrency\": 13000,\n        \"weightedValueInMasterCurrency\": 13000,\n        \"agreement\": null,\n        \"userRemovable\": true,\n        \"userEditable\": true\n    }\n}"}],"_postman_id":"eec6ead8-d121-40e6-9910-185ca06ac323"},{"name":"Delete Order","id":"61fd37ee-4b16-4bcf-b918-b3fd052a39b4","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/orders/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","orders","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"a3539270-5274-412d-a220-5d97b47da71d","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/orders/3?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","orders","3"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 22 May 2018 15:51:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"13-wS9ETbSb7KbeL5lHr6Ss1g\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null\n}"}],"_postman_id":"61fd37ee-4b16-4bcf-b918-b3fd052a39b4"}],"id":"b62d7eee-7483-47e2-821e-70834a5b5c17","description":"<p>Orders represent lost or won sales to an Campany. Orders must be owned by a User. Each Order consists of standard data fields and order rows (with product, price and discount) but can also contain a number of custom fields.Opportunities and orders are the same entity, what distinguishes them is their probability.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong>  <br />Order ID</td>\n</tr>\n<tr>\n<td>description</td>\n<td><strong>String, mandatory</strong>  <br />Order description</td>\n</tr>\n<tr>\n<td>closeDate</td>\n<td><strong>Date</strong>  <br />Date when Order became 100% or 0%</td>\n</tr>\n<tr>\n<td>date</td>\n<td><strong>Date, mandatory</strong>  <br />Order date</td>\n</tr>\n<tr>\n<td>notes</td>\n<td><strong>String</strong>  <br />Order notes</td>\n</tr>\n<tr>\n<td>user</td>\n<td><strong>Object, mandatory</strong>  <br />User who did the order</td>\n</tr>\n<tr>\n<td>client</td>\n<td><strong>Object, mandatory</strong>  <br />Company this order belongs to</td>\n</tr>\n<tr>\n<td>contact</td>\n<td><strong>Object</strong> Contact reference of the company that bought</td>\n</tr>\n<tr>\n<td>projects</td>\n<td><strong>Object</strong> Campaign this order is added to</td>\n</tr>\n<tr>\n<td>regDate</td>\n<td><strong>Date, read-only</strong>  <br />Order regdate</td>\n</tr>\n<tr>\n<td>stage</td>\n<td><strong>Object, mandatory</strong> Stage to which the order belongs to</td>\n</tr>\n<tr>\n<td>probability</td>\n<td><strong>Number, mandatory</strong> Probability, between 0-100</td>\n</tr>\n<tr>\n<td>modDate</td>\n<td><strong>Date, read-only</strong> last modification date</td>\n</tr>\n<tr>\n<td>clientConnection</td>\n<td><strong>Object</strong> Second company connected to this order</td>\n</tr>\n<tr>\n<td>currencyRate</td>\n<td><strong>Number</strong> currency rate in relation to the base currency of the account</td>\n</tr>\n<tr>\n<td>currency</td>\n<td><strong>String</strong> Currency order is sold in</td>\n</tr>\n<tr>\n<td>custom</td>\n<td><strong>Array</strong> Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n<tr>\n<td>orderRow[].quantity</td>\n<td><strong>Number, mandatory</strong>  <br />Number of sold goods or services</td>\n</tr>\n<tr>\n<td>orderRow[].price</td>\n<td><strong>Number, mandatory</strong>  <br />Net price</td>\n</tr>\n<tr>\n<td>orderRow[].listPrice</td>\n<td><strong>Number, mandatory</strong>  <br />Gross price</td>\n</tr>\n<tr>\n<td>orderRow[].purchaseCost</td>\n<td><strong>Number</strong>  <br />Purchase cost for the product</td>\n</tr>\n<tr>\n<td>orderRow[].product</td>\n<td><strong>Object, mandatory</strong>  <br />Product you sold</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].productId</td>\n<td><strong>Number</strong>  <br />Product ID for the product in the bundle</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].quantity</td>\n<td><strong>Number</strong>  <br />Quantity for the product in the bundle</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].tierQuantity</td>\n<td><strong>Number</strong>  <br />Tier quantity for the product in the bundle (this only applies for tiered products)</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].sortId</td>\n<td><strong>Number</strong>  <br />Order this product appears in the UI in the bundle</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].price</td>\n<td><strong>Number</strong>  <br />Net price for the product inside of the bundle</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].listPrice</td>\n<td><strong>Number</strong>  <br />Gross price for the product inside of the bundle</td>\n</tr>\n<tr>\n<td>orderRow[].bundleRows[].purchaseCost</td>\n<td><strong>Number</strong>  <br />Purchase cost for the product inside of the bundle</td>\n</tr>\n<tr>\n<td>value</td>\n<td><strong>Number, read-only</strong>  <br />Total order sum</td>\n</tr>\n<tr>\n<td>weightedValue</td>\n<td><strong>Number, read-only</strong>  <br />Total order sum * with probability</td>\n</tr>\n<tr>\n<td>valueInMasterCurrency</td>\n<td><strong>Number, read-only</strong>  <br />Total order sum in base currency</td>\n</tr>\n<tr>\n<td>weightedValueInMasterCurrency</td>\n<td><strong>Number, read-only</strong>  <br />Total order sum in base currency * with probability</td>\n</tr>\n<tr>\n<td>agreement</td>\n<td><strong>Object, read-only</strong>  <br />Which agreement created this order</td>\n</tr>\n<tr>\n<td>userRemovable</td>\n<td><strong>Bolean, read-only</strong> User has right to delete Order in UI</td>\n</tr>\n<tr>\n<td>userEditable</td>\n<td><strong>Bolean, read-only</strong> User has right to edit Order in UI</td>\n</tr>\n<tr>\n<td>competitorId</td>\n<td><strong>Number</strong>  <br />Find competitors you can choose between here: <a href=\"https://integration.upsales.com/api/v2/competitors/\">https://integration.upsales.com/api/v2/competitors/</a></td>\n</tr>\n<tr>\n<td>lostReason</td>\n<td><strong>Number</strong>  <br />Find lost Reason IDs here <a href=\"https://integration.upsales.com/api/v2/fieldTranslations/?type=orderlostreason\">https://integration.upsales.com/api/v2/fieldTranslations/?type=orderlostreason</a></td>\n</tr>\n<tr>\n<td>confirmedBudget</td>\n<td><strong>read-only</strong>  <br />If sales rep confirmed budget with customer</td>\n</tr>\n<tr>\n<td>confirmedDate</td>\n<td><strong>read-only</strong>  <br />If sales rep confirmed time frame with customer</td>\n</tr>\n<tr>\n<td>confirmedSolution</td>\n<td><strong>read-only</strong>  <br />If sales rep confirmed with customer if our solution will solve their challenges</td>\n</tr>\n<tr>\n<td>salesCoach</td>\n<td><strong>object, read-only</strong>  <br />Sales Coach feature inside Upsales</td>\n</tr>\n<tr>\n<td>locked</td>\n<td><strong>depricated</strong></td>\n</tr>\n<tr>\n<td>notify</td>\n<td><strong>boolean, write-only</strong>, <strong>default</strong> <strong><code>true</code></strong>  <br />If we should notify other users in the account about this order</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"89508097-d3d4-4f1e-b4a9-d81042f43d6a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1d3169af-9216-42f0-a506-1cf736535577","type":"text/javascript","exec":[""]}}],"_postman_id":"b62d7eee-7483-47e2-821e-70834a5b5c17"},{"name":"Users","item":[{"name":"Self","id":"9e0c1286-c4e2-4145-aabd-4f0ed6095d0f","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/self?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","self"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"6e9e4078-016a-4ff8-9ebd-b2f31b9f8903","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/self?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","self"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:56:42 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"12bc-P9+tXJrQIyqcOVQzAs0BQg\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": null,\n  \"data\": {\n    \"id\": 70896,\n    \"email\": \"B1_lCFunM@api.upsales.com\",\n    \"clients\": [\n      {\n        \"name\": \"Api Docs\",\n        \"clientId\": 9580,\n        \"userId\": 2\n      }\n    ],\n    \"client\": {\n      \"id\": 9580,\n      \"name\": \"Api Docs\",\n      \"numberOfLicenses\": 5,\n      \"killDate\": \"2018-08-22T00:00:00.000Z\",\n      \"isTrial\": true,\n      \"userId\": 2,\n      \"address\": null,\n      \"zipCode\": null,\n      \"state\": null,\n      \"country\": \"SE\",\n      \"www\": null,\n      \"contactEmail\": \"apidocs@upsales.com\",\n      \"delayedPayment\": null,\n      \"orgNumber\": \"\",\n      \"migrated\": 0\n    },\n    \"name\": \"Api docs\",\n    \"lastOnline\": null,\n    \"lastOnlinePower\": null,\n    \"language\": \"sv-SE\",\n    \"version\": \"Plus\",\n    \"whitelabel\": false,\n    \"products\": {\n      \"ma\": true,\n      \"crm\": true\n    },\n    \"features\": {\n      \"automations\": true,\n      \"companyProfile\": true,\n      \"drips\": true,\n      \"dynamicLinks\": true,\n      \"forms\": true,\n      \"groupMail\": true,\n      \"ipRestrictions\": true,\n      \"leads\": true,\n      \"recurringOrder\": true,\n      \"soliditetMultiMarkets\": true,\n      \"triggers\": true,\n      \"userDefinedObjects\": true,\n      \"userPermissionsAdvanced\": true,\n      \"visits\": true,\n      \"visits2\": true,\n      \"visitAccount\": true,\n      \"multiCurrency\": true,\n      \"requireBusinessEmail\": true,\n      \"groupTree\": true,\n      \"optIn\": true,\n      \"recurringOrderCustom\": true,\n      \"createCustomFieldsReccuringOrder\": true,\n      \"bisnodeAutocomplete\": true,\n      \"maDashboard\": true,\n      \"activitiesAndAppointments\": true,\n      \"projects\": true,\n      \"ads\": true,\n      \"advancedSearch\": true,\n      \"analytics\": true,\n      \"looker\": true,\n      \"companiesAndContacts\": true,\n      \"documents\": true,\n      \"email\": true,\n      \"esign\": true,\n      \"integrations\": true,\n      \"orders\": true,\n      \"salesboard\": true,\n      \"salesboardCustomCards\": true,\n      \"pipeline\": true,\n      \"reports\": true,\n      \"soliditet\": true,\n      \"soliditetMatcher\": true,\n      \"esignAccount\": true,\n      \"mailAccount\": true,\n      \"apiKeys\": true,\n      \"companyRelations\": true,\n      \"orderRowCustom\": true,\n      \"productCustomFields\": true,\n      \"flash\": true,\n      \"stagesAdmin\": true,\n      \"advancedRoleSettings\": true,\n      \"clientCustom\": true,\n      \"contactCustom\": true,\n      \"activityCustom\": true,\n      \"appointmentCustom\": true,\n      \"orderCustom\": true,\n      \"projectCustom\": true,\n      \"userCustom\": true,\n      \"createCustomFieldsClient\": true,\n      \"createCustomFieldsContact\": true,\n      \"createCustomFieldsActivity\": true,\n      \"createCustomFieldsAppointment\": true,\n      \"createCustomFieldsProject\": true,\n      \"createCustomFieldsUser\": true,\n      \"createCustomFieldsOrder\": true,\n      \"createCustomFieldsOrderRow\": true,\n      \"createCustomFieldsProduct\": true,\n      \"adminProducts\": true,\n      \"adminCurrencies\": true,\n      \"adminStandardFieldTooltip\": true,\n      \"exportData\": true\n    },\n    \"unreleasedFeatures\": {\n      \"SEGMENTS\": true,\n      \"OPT_IN\": true,\n      \"VOICE_HOOKS\": true,\n      \"ADMIN\": true,\n      \"LANDINGPAGE_SOCIAL_MEDIA\": true,\n      \"ADMIN.MY_PROFILE\": true,\n      \"ADMIN.AUTOMATIONS\": true,\n      \"ADMIN.DYNAMIC_LINKS\": true,\n      \"ADMIN.SCRIPT\": true,\n      \"APPS\": true,\n      \"RC_CURRENCY\": true,\n      \"ADMIN.IP_BLOCK\": true,\n      \"SALESBOARD_CURRENCY\": true,\n      \"ADMIN.CURRENCIES\": true,\n      \"ADMIN.ACTIVITY_TYPES\": true,\n      \"ADMIN.STAGES\": true,\n      \"ADMIN.AGREEMENT\": true,\n      \"ADMIN.PRODUCTS\": true,\n      \"ADMIN.TEMPLATES\": true,\n      \"ADMIN.QUOTAS\": true,\n      \"ADMIN.SITE_VISITS\": true,\n      \"ADMIN.ACCOUNT_PROFILE\": true,\n      \"ADMIN.MAIL_SETTINGS\": true,\n      \"ADMIN.APPS\": true,\n      \"ADMIN.CATEGORIES\": true,\n      \"ADMIN.FIELDS\": true,\n      \"ADMIN.API_KEYS\": true,\n      \"ADMIN.INSIGHTS\": true,\n      \"ADMIN.DELETE_LOG\": true,\n      \"ADMIN.ESIGN\": true,\n      \"ADMIN_STANDARD_FIELD_TOOLTIP\": true\n    },\n    \"accountManager\": {\n      \"id\": 167,\n      \"name\": \"Upsales Support\",\n      \"administrator\": false,\n      \"roleId\": 24,\n      \"teamLeader\": false,\n      \"active\": true,\n      \"ghost\": false,\n      \"free\": false,\n      \"userTitle\": null,\n      \"userAddress\": null,\n      \"userZipCode\": null,\n      \"userState\": null,\n      \"userPhone\": null,\n      \"userCellPhone\": null,\n      \"export\": 0,\n      \"custom\": [\n        {\n          \"userId\": 167,\n          \"fieldId\": 3,\n          \"value\": \"\"\n        },\n        {\n          \"userId\": 167,\n          \"fieldId\": 4,\n          \"value\": \"\"\n        },\n        {\n          \"userId\": 167,\n          \"fieldId\": 5,\n          \"value\": \"\"\n        },\n        {\n          \"userId\": 167,\n          \"fieldId\": 6,\n          \"value\": \"\"\n        }\n      ],\n      \"email\": \"info@upsales.com\"\n    }\n  }\n}"}],"_postman_id":"9e0c1286-c4e2-4145-aabd-4f0ed6095d0f"},{"name":"Get user list","id":"a2a0dc79-a473-4ae4-891d-c31333a221d0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"apidocs2@upsales.com\",\n\t\"clientId\": 9580,\n\t\"name\": \"Anders Andersson\",\n\t\"language\": \"en-EN\",\n\t\"teamLeader\": 0,\n\t\"active\": 1,\n\t\"ghost\": 0,\n\t\"export\": 1,\n\t\"password\": \"123456\",\n\t\"administrator\": 1\n}"},"url":"https://integration.upsales.com/api/v2/users?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","users"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"a2a0dc79-a473-4ae4-891d-c31333a221d0"},{"name":"Get user","id":"07e5839b-2043-4d89-97c3-61be8b8ffe93","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/master/users/{{2}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","master","users","{{2}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"866c0d0b-2c54-4643-a3e4-45286d16cad8","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/master/users/1?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","master","users","1"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 08:54:04 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"2e6-uWut5ym3UXGFvz+UDE8HuA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"email\": \"apidocs@upsales.com\",\n    \"clientId\": 9580,\n    \"name\": \"Gustav Petterson\",\n    \"language\": \"sv-SE\",\n    \"turbineUserId\": 0,\n    \"lastOnline\": null,\n    \"lastOnlinePower\": \"2018-05-24T07:57:07.000Z\",\n    \"clientdbUserId\": 1,\n    \"browserVersion\": null,\n    \"activityListLimit\": 50,\n    \"defTopmenu\": 1,\n    \"localeId\": 1,\n    \"unlimited\": 1,\n    \"startpage\": null,\n    \"teamLeader\": 0,\n    \"active\": 1,\n    \"ghost\": 0,\n    \"free\": 0,\n    \"userTitle\": null,\n    \"userAddress\": null,\n    \"userZipCode\": null,\n    \"userState\": null,\n    \"userPhone\": \"123\",\n    \"userCellPhone\": null,\n    \"export\": 1,\n    \"custom\": [],\n    \"role\": null,\n    \"administrator\": 1,\n    \"userParams\": []\n  }\n}"},{"id":"95c2e908-c0a0-4e77-b191-ae2b2d3d0a1e","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/master/users/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","master","users","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 25 Jun 2018 12:19:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"2e6-uWut5ym3UXGFvz+UDE8HuA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 1,\n    \"email\": \"apidocs@upsales.com\",\n    \"clientId\": 9580,\n    \"name\": \"Gustav Petterson\",\n    \"language\": \"sv-SE\",\n    \"turbineUserId\": 0,\n    \"lastOnline\": null,\n    \"lastOnlinePower\": \"2018-05-24T07:57:07.000Z\",\n    \"clientdbUserId\": 1,\n    \"browserVersion\": null,\n    \"activityListLimit\": 50,\n    \"defTopmenu\": 1,\n    \"localeId\": 1,\n    \"unlimited\": 1,\n    \"startpage\": null,\n    \"teamLeader\": 0,\n    \"active\": 1,\n    \"ghost\": 0,\n    \"free\": 0,\n    \"userTitle\": null,\n    \"userAddress\": null,\n    \"userZipCode\": null,\n    \"userState\": null,\n    \"userPhone\": \"123\",\n    \"userCellPhone\": null,\n    \"export\": 1,\n    \"custom\": [],\n    \"role\": null,\n    \"administrator\": 1,\n    \"userParams\": []\n  }\n}"}],"_postman_id":"07e5839b-2043-4d89-97c3-61be8b8ffe93"},{"name":"Create user","id":"5d393f90-23a3-47fd-a52c-d40a8ae71a83","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"apidocs2@upsales.com\",\n\t\"clientId\": 9580,\n\t\"name\": \"Anders Andersson\",\n\t\"language\": \"en-EN\",\n\t\"teamLeader\": 0,\n\t\"active\": 1,\n\t\"ghost\": 0,\n\t\"export\": 1,\n\t\"password\": \"123456\",\n\t\"administrator\": 1\n}"},"url":"https://integration.upsales.com/api/v2/master/users?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","master","users"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"e5d1afa2-ec57-4638-b512-0d4e8f2659cd","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"apidocs2@upsales.com\",\n\t\"clientId\": 9580,\n\t\"name\": \"Anders Andersson\",\n\t\"language\": \"en-EN\",\n\t\"teamLeader\": 0,\n\t\"active\": 1,\n\t\"ghost\": 0,\n\t\"export\": 1,\n\t\"password\": \"123456\",\n\t\"administrator\": 1\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/master/users?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","master","users"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 09:03:54 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"300-YfARW/L2JrgQ8FzIAk7FYA\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 3,\n    \"email\": \"apidocs2@upsales.com\",\n    \"clientId\": 9580,\n    \"name\": \"Anders Andersson\",\n    \"language\": \"en-EN\",\n    \"turbineUserId\": 0,\n    \"lastOnline\": \"2018-05-24T09:03:53.942Z\",\n    \"lastOnlinePower\": \"2018-05-24T09:03:53.942Z\",\n    \"clientdbUserId\": 3,\n    \"browserVersion\": \"PostmanRuntime/7.1.1\",\n    \"activityListLimit\": \"50\",\n    \"defTopmenu\": \"1\",\n    \"localeId\": \"1\",\n    \"unlimited\": \"1\",\n    \"startpage\": null,\n    \"teamLeader\": 0,\n    \"active\": 1,\n    \"ghost\": 0,\n    \"free\": 0,\n    \"userTitle\": null,\n    \"userAddress\": null,\n    \"userZipCode\": null,\n    \"userState\": null,\n    \"userPhone\": null,\n    \"userCellPhone\": null,\n    \"export\": 1,\n    \"custom\": [],\n    \"role\": null,\n    \"administrator\": 1\n  }\n}"}],"_postman_id":"5d393f90-23a3-47fd-a52c-d40a8ae71a83"},{"name":"Update user","id":"afb56519-0710-4e2d-82c3-d1e224db3c16","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"apidocs2@upsales.com\",\n\t\"clientId\": 9580,\n\t\"name\": \"Anders Johansson\",\n\t\"language\": \"en-EN\",\n\t\"teamLeader\": 0,\n\t\"active\": 1,\n\t\"ghost\": 0,\n\t\"export\": 1,\n\t\"administrator\": 1\n}"},"url":"https://integration.upsales.com/api/v2/master/users/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","master","users","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"d76f17a5-8b5d-445d-903e-46d93310b375","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"apidocs2@upsales.com\",\n\t\"clientId\": 9580,\n\t\"name\": \"Anders Johansson\",\n\t\"language\": \"en-EN\",\n\t\"teamLeader\": 0,\n\t\"active\": 1,\n\t\"ghost\": 0,\n\t\"export\": 1,\n\t\"administrator\": 1\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/master/users/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","master","users","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 09:08:25 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"2f8-oB1XFUyrh+ktCLutz9o9fw\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 3,\n    \"email\": \"apidocs2@upsales.com\",\n    \"clientId\": 9580,\n    \"name\": \"Anders Johansson\",\n    \"language\": \"en-EN\",\n    \"turbineUserId\": 0,\n    \"lastOnline\": \"2018-05-24T09:08:24.467Z\",\n    \"lastOnlinePower\": \"2018-05-24T09:08:24.467Z\",\n    \"clientdbUserId\": 3,\n    \"browserVersion\": \"PostmanRuntime/7.1.1\",\n    \"activityListLimit\": 50,\n    \"defTopmenu\": 1,\n    \"localeId\": 1,\n    \"unlimited\": 1,\n    \"startpage\": null,\n    \"teamLeader\": 0,\n    \"active\": 1,\n    \"ghost\": 0,\n    \"free\": 0,\n    \"userTitle\": null,\n    \"userAddress\": null,\n    \"userZipCode\": null,\n    \"userState\": null,\n    \"userPhone\": null,\n    \"userCellPhone\": null,\n    \"export\": 1,\n    \"custom\": [],\n    \"role\": null,\n    \"administrator\": 1\n  }\n}"}],"_postman_id":"afb56519-0710-4e2d-82c3-d1e224db3c16"},{"name":"Deactivate user","id":"31878497-b688-4034-9d88-ee99bf152730","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"apidocs2@upsales.com\",\n\t\"clientId\": 9580,\n\t\"name\": \"Anders Andersson\",\n\t\"language\": \"en-EN\",\n\t\"teamLeader\": 0,\n\t\"active\": 1,\n\t\"ghost\": 1,\n\t\"export\": 1,\n\t\"administrator\": 1\n}"},"url":"https://integration.upsales.com/api/v2/master/users/{{id}}?token={{token}}","description":"<p>You can't delete a user in Upsales, instead make the user inactive to prevent user from logging in.</p>\n","urlObject":{"protocol":"https","path":["api","v2","master","users","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"6a81e5c5-8b25-41ce-92e7-c0f1e5abfd7d","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"apidocs2@upsales.com\",\n\t\"clientId\": 9580,\n\t\"name\": \"Anders Andersson\",\n\t\"language\": \"en-EN\",\n\t\"teamLeader\": 0,\n\t\"active\": 1,\n\t\"ghost\": 1,\n\t\"export\": 1,\n\t\"administrator\": 1\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/master/users/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","master","users","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 24 May 2018 09:06:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"2f8-Q8pUJNz/E0b1AVWDeE2l6A\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"197","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"3","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": null,\n  \"data\": {\n    \"id\": 3,\n    \"email\": \"apidocs2@upsales.com\",\n    \"clientId\": 9580,\n    \"name\": \"Anders Andersson\",\n    \"language\": \"en-EN\",\n    \"turbineUserId\": 0,\n    \"lastOnline\": \"2018-05-24T09:06:40.208Z\",\n    \"lastOnlinePower\": \"2018-05-24T09:06:40.208Z\",\n    \"clientdbUserId\": 3,\n    \"browserVersion\": \"PostmanRuntime/7.1.1\",\n    \"activityListLimit\": 50,\n    \"defTopmenu\": 1,\n    \"localeId\": 1,\n    \"unlimited\": 1,\n    \"startpage\": null,\n    \"teamLeader\": 0,\n    \"active\": 1,\n    \"ghost\": 1,\n    \"free\": 0,\n    \"userTitle\": null,\n    \"userAddress\": null,\n    \"userZipCode\": null,\n    \"userState\": null,\n    \"userPhone\": null,\n    \"userCellPhone\": null,\n    \"export\": 1,\n    \"custom\": [],\n    \"role\": null,\n    \"administrator\": 1\n  }\n}"}],"_postman_id":"31878497-b688-4034-9d88-ee99bf152730"}],"id":"772fb4c1-b20e-4c96-a355-8f4aecc089e0","description":"<p>Users are people with access to your Upsales account. Users should not be confused with contacts.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />User ID</td>\n</tr>\n<tr>\n<td>email</td>\n<td><strong>String, mandatory</strong><br /> User email</td>\n</tr>\n<tr>\n<td>administrator</td>\n<td><strong>Number</strong><br /> Has access to settings</td>\n</tr>\n<tr>\n<td>role</td>\n<td><strong>Object</strong><br /> Role user belongs to</td>\n</tr>\n<tr>\n<td>teamLeader</td>\n<td><strong>Boolean</strong><br /> Team leader for your role</td>\n</tr>\n<tr>\n<td>active</td>\n<td><strong>Number, mandatory</strong><br /> Has access to Upsales</td>\n</tr>\n<tr>\n<td>ghost</td>\n<td><strong>Number, mandatory</strong><br /> Visible in user list when inactive</td>\n</tr>\n<tr>\n<td>userTitle</td>\n<td><strong>String</strong><br /> User title</td>\n</tr>\n<tr>\n<td>userAddress</td>\n<td><strong>String</strong><br /> Office address</td>\n</tr>\n<tr>\n<td>userZipCode</td>\n<td><strong>String</strong><br /> Office zipcode</td>\n</tr>\n<tr>\n<td>userState</td>\n<td><strong>String</strong><br /> Office city</td>\n</tr>\n<tr>\n<td>userPhone</td>\n<td><strong>String</strong><br /> User phone</td>\n</tr>\n<tr>\n<td>userCellPhone</td>\n<td><strong>String</strong><br /> User mobile phone</td>\n</tr>\n<tr>\n<td>export</td>\n<td><strong>Number</strong><br /> Access to export function</td>\n</tr>\n<tr>\n<td>custom</td>\n<td><strong>Array</strong><br /> Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"02cb6671-fbb0-44ba-ba32-5a927cecf825","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1616da2e-8b29-48b3-afbc-89847197644a","type":"text/javascript","exec":[""]}}],"_postman_id":"772fb4c1-b20e-4c96-a355-8f4aecc089e0"},{"name":"Event","item":[{"name":"Get Events","id":"db3e0bca-05f2-45ee-97b9-7ca05eb335a7","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://integration.upsales.com/api/v2/socialEvents/?token={{token}}","description":"<p>Get all events regardless witch status (draft, launched or passed) they are in</p>\n","urlObject":{"protocol":"https","path":["api","v2","socialEvents",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"a1f9ec62-7227-4154-9834-a4a16b347419","name":"200 OK","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/socialEvents/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","socialEvents",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 30 Nov 2018 06:11:13 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6fb-OQGq4HwxVJQQIZpLpqdY4gKkSLQ\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 3\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Upsales for B2B Marketing Professionals\",\n            \"description\": \"Technical developments and drastic changes in buying behavior in recent years has made B2B marketing more advanced and prioritized. Still, marketing managers often struggle to demonstrate the value of their efforts, prioritize investments as well as work more closely with sales.\",\n            \"date\": \"2018-12-18T08:00:00+00:00\",\n            \"endDate\": \"2018-12-18T11:00:00+00:00\",\n            \"attendingScore\": 2,\n            \"checkInScore\": 4,\n            \"location\": \"Sveavägen 21, 111 34 Stockholm, Sverige\",\n            \"venue\": \"Upsales\",\n            \"draft\": 1,\n            \"timezone\": \"Europe/Stockholm\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Powerful Business Intelligence\",\n            \"description\": \"Become more data driven - Get the full grasp of your entire business, from website visits to delivery and billing. Upsales offers Powerful Business Intelligence directly in your CRM and Marketing Automation platform.\",\n            \"date\": \"2018-11-14T09:30:00+00:00\",\n            \"endDate\": \"2018-11-14T13:00:00+00:00\",\n            \"attendingScore\": 2,\n            \"checkInScore\": 10,\n            \"location\": \"Sveavägen 21, 111 34 Stockholm, Sverige\",\n            \"venue\": \"Upsales\",\n            \"draft\": 0,\n            \"timezone\": \"Europe/Stockholm\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Upsales for Sales Managers\",\n            \"description\": \"Customers manage a large part of their buying process on his own. This has in many ways made it more challenging to work with sales. It takes more effort to reach the right prospects and be relevant in conversations with buyers.\",\n            \"date\": \"2018-12-20T09:00:00+00:00\",\n            \"endDate\": \"2018-12-20T12:30:00+00:00\",\n            \"attendingScore\": 5,\n            \"checkInScore\": 10,\n            \"location\": \"Sveavägen 21, 111 34 Stockholm, Sverige\",\n            \"venue\": \"Upsales\",\n            \"draft\": 0,\n            \"timezone\": \"Europe/Stockholm\"\n        }\n    ]\n}"}],"_postman_id":"db3e0bca-05f2-45ee-97b9-7ca05eb335a7"},{"name":"Get draft Events","id":"7b4f005c-647f-4e6b-8318-13383c311296","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://integration.upsales.com/api/v2/socialEvents/?token={{token}}&draft=1","urlObject":{"protocol":"https","path":["api","v2","socialEvents",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"draft","value":"1"}],"variable":[]}},"response":[{"id":"577e8e2e-ce5e-439f-b231-fe0eeaf9e111","name":"200 OK","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/socialEvents/?token={{token}}&draft=1","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","socialEvents",""],"query":[{"key":"token","value":"{{token}}"},{"key":"draft","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 30 Nov 2018 06:32:20 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"14e-BIZu/qhJJiSOn85LsoREbHRQsSU\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"198","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"10","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 1\n    },\n    \"data\": [\n        {\n            \"id\": 4,\n            \"name\": \"New features december 2018\",\n            \"description\": null,\n            \"date\": \"2018-12-12T08:00:00+00:00\",\n            \"endDate\": \"2018-12-12T10:00:00+00:00\",\n            \"attendingScore\": 0,\n            \"checkInScore\": 0,\n            \"location\": \"\",\n            \"venue\": \"\",\n            \"draft\": 1,\n            \"timezone\": \"Europe/Stockholm\"\n        }\n    ]\n}"}],"_postman_id":"7b4f005c-647f-4e6b-8318-13383c311296"},{"name":"Exclude draft Events","id":"0027b0a9-3caf-46cb-829d-55f9b64db44d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://integration.upsales.com/api/v2/socialEvents/?token={{token}}&draft=0","urlObject":{"protocol":"https","path":["api","v2","socialEvents",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"draft","value":"0"}],"variable":[]}},"response":[{"id":"5da977a8-f6c0-4a6c-9b60-de3dbb1ecfb2","name":"200 OK","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://integration.upsales.com/api/v2/socialEvents/?token={{token}}&draft=0","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","socialEvents",""],"query":[{"key":"token","value":"{{token}}"},{"key":"draft","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 30 Nov 2018 06:33:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6fb-goqCd2bqLUf22yoUaz1blj4KQ6A\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"200","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"199","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"-2","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 3\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Upsales for B2B Marketing Professionals\",\n            \"description\": \"Technical developments and drastic changes in buying behavior in recent years has made B2B marketing more advanced and prioritized. Still, marketing managers often struggle to demonstrate the value of their efforts, prioritize investments as well as work more closely with sales.\",\n            \"date\": \"2018-12-18T08:00:00+00:00\",\n            \"endDate\": \"2018-12-18T11:00:00+00:00\",\n            \"importing\": 0,\n            \"attendingScore\": 2,\n            \"checkInScore\": 4,\n            \"location\": \"Sveavägen 21, 111 34 Stockholm, Sverige\",\n            \"venue\": \"Upsales\",\n            \"draft\": 0,\n            \"timezone\": \"Europe/Stockholm\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Powerful Business Intelligence\",\n            \"description\": \"Become more data driven - Get the full grasp of your entire business, from website visits to delivery and billing. Upsales offers Powerful Business Intelligence directly in your CRM and Marketing Automation platform.\",\n            \"date\": \"2018-11-14T09:30:00+00:00\",\n            \"endDate\": \"2018-11-14T13:00:00+00:00\",\n            \"attendingScore\": 2,\n            \"checkInScore\": 10,\n            \"location\": \"Sveavägen 21, 111 34 Stockholm, Sverige\",\n            \"venue\": \"Upsales\",\n            \"draft\": 0,\n            \"timezone\": \"Europe/Stockholm\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Upsales for Sales Managers\",\n            \"description\": \"Customers manage a large part of their buying process on his own. This has in many ways made it more challenging to work with sales. It takes more effort to reach the right prospects and be relevant in conversations with buyers.\",\n            \"date\": \"2018-12-20T09:00:00+00:00\",\n            \"endDate\": \"2018-12-20T12:30:00+00:00\",\n            \"attendingScore\": 5,\n            \"checkInScore\": 10,\n            \"location\": \"Sveavägen 21, 111 34 Stockholm, Sverige\",\n            \"venue\": \"Upsales\",\n            \"draft\": 0,\n            \"timezone\": \"Europe/Stockholm\"\n        }\n    ]\n}"}],"_postman_id":"0027b0a9-3caf-46cb-829d-55f9b64db44d"},{"name":"Get attending contacts in a specific event","id":"b8b8029c-2af9-459b-9bae-4fd3296ee492","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://integration.upsales.com/api/v2/socialEvents/{{EventId}}/contacts?token={{token}}&status=attending","description":"<h1 id=\"status\">Status</h1>\n<p>If you want to filter on status use any of these valid values: <strong>added</strong>, <strong>invited</strong>, <strong>attending</strong>,  <strong>attended</strong>, <strong>declined</strong> or <strong>waitingList</strong></p>\n","urlObject":{"protocol":"https","path":["api","v2","socialEvents","{{EventId}}","contacts"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"status","value":"attending"}],"variable":[]}},"response":[{"id":"545fc246-0eff-45af-8fb7-884e93994768","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/socialEvents/{{EventId}}/contacts?token={{token}}&status=attending","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","socialEvents","{{EventId}}","contacts"],"query":[{"key":"token","value":"{{token}}"},{"key":"status","value":"attending"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Jul 2019 09:22:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"ETag","value":"W/\"192-vu5yMiGl9p7vqnUsZwr3O6h53tk\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 1,\n        \"offset\": 0,\n        \"limit\": 1000\n    },\n    \"data\": [\n        {\n            \"inviteMailError\": null,\n            \"eventId\": 1,\n            \"name\": \"Carl Andersson\",\n            \"email\": \"carl@exempel.com\",\n            \"regDate\": \"2019-07-24T07:07:27.000Z\",\n            \"inviteDate\": null,\n            \"attendingDate\": \"2019-07-24T07:07:27.000Z\",\n            \"waitingListDate\": null,\n            \"declinedDate\": null,\n            \"checkinDate\": null,\n            \"status\": \"attending\",\n            \"dupeEmail\": null,\n            \"client\": {\n                \"id\": 2,\n                \"name\": \"Exempel Inc\"\n            },\n            \"id\": 2\n        }\n    ]\n}"}],"_postman_id":"b8b8029c-2af9-459b-9bae-4fd3296ee492"},{"name":"Get attended contacts for a specific event","id":"c828159e-d44a-4f28-a9f3-e69d2e254551","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://integration.upsales.com/api/v2/socialEvents/{{EventId}}/contacts?token={{token}}&status=attended","description":"<h1 id=\"status\">Status</h1>\n<p>If you want to filter on status use any of these valid values: <strong>added</strong>, <strong>invited</strong>, <strong>attending</strong>,  <strong>attended</strong>, <strong>declined</strong> or <strong>waitingList</strong></p>\n","urlObject":{"protocol":"https","path":["api","v2","socialEvents","{{EventId}}","contacts"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"},{"key":"status","value":"attended"}],"variable":[]}},"response":[],"_postman_id":"c828159e-d44a-4f28-a9f3-e69d2e254551"}],"id":"b9a692b1-410b-4568-b698-66309a9f3880","description":"<p>Running your B2B events just got a whole lot easier. Upsales Events is now aligned with your Upsales CRM and marketing automation platform, adding new dimensions to your data. </p>\n<p>No more guesswork or communication breakdowns – instead you get the insight you need, before during and after events. Your messaging can be even more bespoke, segmented and at scale, with automated emails, landing pages, sharing tools, check-ins, guest list creation, and SMS functions. Having the platform connected with Events puts all the data in one place, helping to make things super-simple when it comes to nurturing attendees.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Event ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td><strong>String, mandatory</strong><br /> Event name</td>\n</tr>\n<tr>\n<td>description</td>\n<td><strong>String</strong><br /> Event description</td>\n</tr>\n<tr>\n<td>date</td>\n<td><strong>Date, mandatory</strong><br /> Event start date and time</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td><strong>Date</strong><br /> Date and time when event is ended</td>\n</tr>\n<tr>\n<td>attendingScore</td>\n<td><strong>Number</strong><br /> Lead score for registering to the event</td>\n</tr>\n<tr>\n<td>checkInScore</td>\n<td><strong>Number</strong><br /> Lead score when you actually attained the event</td>\n</tr>\n<tr>\n<td>location</td>\n<td><strong>String</strong><br /> Event location</td>\n</tr>\n<tr>\n<td>venue</td>\n<td><strong>String</strong><br /> Event venue</td>\n</tr>\n<tr>\n<td>draft</td>\n<td><strong>Number</strong><br /> If event is a draft or not</td>\n</tr>\n<tr>\n<td>timezone</td>\n<td><strong>string</strong><br /> Which timezone the event will be in</td>\n</tr>\n<tr>\n<td>pageUrl</td>\n<td><strong>string</strong><br /> URL to landing page</td>\n</tr>\n<tr>\n<td>internalName</td>\n<td><strong>string</strong><br /> Internal name for this event</td>\n</tr>\n<tr>\n<td>isWebinar</td>\n<td><strong>string</strong><br /> If the event is a Webinar</td>\n</tr>\n<tr>\n<td>tickets</td>\n<td><strong>number</strong><br /> Maximum number of seats in this event</td>\n</tr>\n<tr>\n<td>waitingList</td>\n<td><strong>string</strong><br /> If the event allow waiting list</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"contacts\">Contacts</h1>\n<p>Every contact will have a unique status in that event.</p>\n<h2 id=\"status\">Status</h2>\n<ul>\n<li>Added: Contact gets this status when they are added but not yet invited by email</li>\n<li>Invited: Contact gets this status when they are invited by email to the event.</li>\n<li>Attending: Contacts gets this status when they sign up for the event.</li>\n<li>Attended: Contact gets this status when you check-in the contact.</li>\n<li>Declined: Contact gets this status when a contact decline to attend the event.</li>\n<li>Waiting List: Contact gets this status if the event is full and the contact waits to get a seat. </li>\n<li>Error: Contact gets this status if the email has bounced or we found duplicated emails in the event</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"f669e0fc-8515-46ae-877a-826a41d9e873","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4b99db9f-37af-4f49-abff-de4c5f1b6ec0","type":"text/javascript","exec":[""]}}],"_postman_id":"b9a692b1-410b-4568-b698-66309a9f3880"},{"name":"Subscriptions","item":[{"name":"Get subscriptions list","id":"2ce0d596-88b5-495e-a453-817ac01f7205","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://integration.upsales.com/api/v2/agreements/?token={{token}}","description":"<p>List all subscriptions available in the account</p>\n","urlObject":{"protocol":"https","path":["api","v2","agreements",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"dbbfc45f-4e0a-4ce7-926d-c10763636e78","name":"Get agreement list","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/agreements/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","agreements",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 1,\n        \"limit\": 50,\n        \"offset\": 0\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"description\": \"10 Licenses\",\n            \"notes\": \"\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Gustav Pettersson\",\n                \"role\": null,\n                \"email\": \"apidocs@upsales.com\"\n            },\n            \"client\": {\n                \"journeyStep\": \"customer\",\n                \"name\": \"Pied Piper\",\n                \"id\": 2\n            },\n            \"contact\": null,\n            \"project\": null,\n            \"regDate\": \"2019-12-12T10:17:06.000Z\",\n            \"stage\": {\n                \"name\": \"Won - Order\",\n                \"id\": 12\n            },\n            \"modDate\": \"2019-12-12T10:17:06.000Z\",\n            \"clientConnection\": null,\n            \"currencyRate\": 1,\n            \"currency\": \"SEK\",\n            \"custom\": [\n                {\n                    \"value\": \"2018-05-23\",\n                    \"valueDate\": \"2018-05-23\",\n                    \"fieldId\": 1\n                }\n            ],\n            \"orderRow\": [\n                {\n                    \"id\": 1,\n                    \"quantity\": 1,\n                    \"price\": 10000,\n                    \"discount\": 0,\n                    \"custom\": [],\n                    \"productId\": 1,\n                    \"sortId\": 1,\n                    \"listPrice\": 10000,\n                    \"product\": {\n                        \"purchaseCost\": 9000,\n                        \"name\": \"Example product\",\n                        \"id\": 1,\n                        \"category\": null\n                    }\n                }\n            ],\n            \"value\": 10000,\n            \"contributionMargin\": 1000,\n            \"purchaseCost\": 9000,\n            \"yearlyContributionMargin\": 1000,\n            \"valueInMasterCurrency\": 10000,\n            \"yearlyValueInMasterCurrency\": 10000,\n            \"yearlyValue\": 10000,\n            \"metadata\": {\n                \"activeVersionId\": null,\n                \"versionNo\": 1,\n                \"agreementDescription\": \"10 Licenses\",\n                \"agreementStartdate\": \"2019-01-01T00:00:00.000Z\",\n                \"agreementEnddate\": null,\n                \"agreementInvoiceStartdate\": \"2019-01-01T00:00:00.000Z\",\n                \"agreementRenewalDate\": \"2020-01-01T00:00:00.000Z\",\n                \"agreementRenewalActivityCreated\": null,\n                \"agreementNextOrderDate\": \"2020-01-01T00:00:00.000Z\",\n                \"agreementIntervalType\": 1,\n                \"agreementIntervalPeriod\": 12,\n                \"agreementOrderCreationTime\": 0,\n                \"custom\": [],\n                \"orderSequenceNr\": 1,\n                \"latestOrderId\": 1,\n                \"agreementNotes\": \"\",\n                \"periodLength\": 12,\n                \"willCreateMoreOrders\": true\n            },\n            \"userRemovable\": true,\n            \"userEditable\": true\n        }\n    ]\n}"}],"_postman_id":"2ce0d596-88b5-495e-a453-817ac01f7205"},{"name":"Get subscription","id":"50bca049-921e-4871-bd42-318893adcb04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://integration.upsales.com/api/v2/agreements/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","agreements","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"b69eece0-0902-4887-8150-c009f1937fd4","name":"Get agreement","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/agreements/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","agreements","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 1,\n        \"description\": \"10 Licenses\",\n        \"notes\": \"\",\n        \"user\": {\n            \"id\": 1,\n            \"name\": \"Gustav Pettersson\",\n            \"role\": null,\n            \"email\": \"apidocs@upsales.com\"\n        },\n        \"client\": {\n            \"journeyStep\": \"customer\",\n            \"name\": \"Pied Piper\",\n            \"id\": 2\n        },\n        \"contact\": null,\n        \"project\": null,\n        \"regDate\": \"2019-12-12T10:17:06.000Z\",\n        \"stage\": {\n            \"name\": \"Won - Order\",\n            \"id\": 12\n        },\n        \"modDate\": \"2019-12-12T10:17:06.000Z\",\n        \"clientConnection\": null,\n        \"currencyRate\": 1,\n        \"currency\": \"SEK\",\n        \"custom\": [\n            {\n                \"value\": \"2018-05-23\",\n                \"valueDate\": \"2018-05-23\",\n                \"fieldId\": 1\n            }\n        ],\n        \"orderRow\": [\n            {\n                \"id\": 1,\n                \"quantity\": 1,\n                \"price\": 10000,\n                \"discount\": 0,\n                \"custom\": [],\n                \"productId\": 1,\n                \"sortId\": 1,\n                \"listPrice\": 10000,\n                \"product\": {\n                    \"purchaseCost\": 9000,\n                    \"name\": \"Example product\",\n                    \"id\": 1,\n                    \"category\": null\n                }\n            }\n        ],\n        \"value\": 10000,\n        \"contributionMargin\": 1000,\n        \"purchaseCost\": 9000,\n        \"yearlyContributionMargin\": 1000,\n        \"valueInMasterCurrency\": 10000,\n        \"yearlyValueInMasterCurrency\": 10000,\n        \"yearlyValue\": 10000,\n        \"metadata\": {\n            \"activeVersionId\": null,\n            \"versionNo\": 1,\n            \"agreementDescription\": \"10 Licenses\",\n            \"agreementStartdate\": \"2019-01-01T00:00:00.000Z\",\n            \"agreementEnddate\": null,\n            \"agreementInvoiceStartdate\": \"2019-01-01T00:00:00.000Z\",\n            \"agreementRenewalDate\": \"2020-01-01T00:00:00.000Z\",\n            \"agreementRenewalActivityCreated\": null,\n            \"agreementNextOrderDate\": \"2020-01-01T00:00:00.000Z\",\n            \"agreementIntervalType\": 1,\n            \"agreementIntervalPeriod\": 12,\n            \"agreementOrderCreationTime\": 0,\n            \"custom\": [],\n            \"orderSequenceNr\": 1,\n            \"latestOrderId\": 1,\n            \"agreementNotes\": \"\",\n            \"periodLength\": 12,\n            \"willCreateMoreOrders\": true\n        },\n        \"userRemovable\": true,\n        \"userEditable\": true\n    }\n}"}],"_postman_id":"50bca049-921e-4871-bd42-318893adcb04"},{"name":"Create subscription","id":"24530b4a-db23-4661-bdce-1a4366c1a3c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"agreement\": {\n        \"metadata\": {\n            \"agreementIntervalPeriod\": 12,\n            \"periodLength\": 12,\n            \"agreementStartdate\": \"2019-12-12T09:39:02.565Z\",\n            \"agreementInvoiceStartdate\": \"2019-12-12T09:39:02.565Z\",\n            \"agreementRenewalDate\": \"2020-12-12T09:39:02.565Z\",\n            \"temporaryNextOrderDate\": \"2019-12-12T10:39:02+01:00\",\n            \"agreementOrderCreationTime\": 0,\n            \"agreementEnddate\": null,\n            \"agreementNotes\": \"\",\n            \"agreementDescription\": \"10 Licenses\",\n            \"custom\": [\n                {\n                    \"fieldId\": 1,\n                    \"value\": \"Subscription custom field data\"\n                }\n            ]\n        },\n        \"user\": {\n            \"id\": 1\n        },\n        \"stage\": {\n            \"id\": 12\n        },\n        \"orderRow\": [\n            {\n                \"listPrice\": 1995,\n                \"price\": 1995,\n                \"quantity\": 1,\n                \"custom\": [\n                    {\n                        \"fieldId\": 1,\n                        \"value\": \"Order row custom field\"\n                    }\n                ],\n                \"sortId\": 1,\n                \"purchaseCost\": 10,\n                \"product\": {\n                    \"id\": 1\n                }\n            }\n        ],\n        \"currency\": \"SEK\",\n        \"currencyRate\": 1,\n        \"project\": null,\n        \"clientConnection\": null,\n        \"probability\": 100,\n        \"client\": {\n            \"id\": 101\n        },\n        \"custom\": [\n            {\n                \"fieldId\": 3,\n                \"value\": \"Order custom data\"\n            }\n        ]\n    }\n}"},"url":"https://integration.upsales.com/api/v2/agreements?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","agreements"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"833c9142-0600-4225-8562-56834d2f75a3","name":"Create subscription","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"agreementIntervalPeriod\": 12,\n        \"periodLength\": 12,\n        \"agreementStartdate\": \"2019-12-12T09:39:02.565Z\",\n        \"agreementInvoiceStartdate\": \"2019-12-12T09:39:02.565Z\",\n        \"agreementRenewalDate\": \"2020-12-12T09:39:02.565Z\",\n        \"temporaryNextOrderDate\": \"2019-12-12T10:39:02+01:00\",\n        \"agreementOrderCreationTime\": 0,\n        \"agreementEnddate\": null,\n        \"agreementNotes\": \"\",\n        \"agreementDescription\": \"10 Licenses\",\n        \"custom\": [\n            {\n                \"fieldId\": 1,\n                \"value\": \"Subscription custom field data\"\n            }\n        ]\n    },\n    \"user\": {\n        \"id\": 1\n    },\n    \"stage\": {\n        \"id\": 12\n    },\n    \"orderRow\": [\n        {\n            \"listPrice\": 1995,\n            \"price\": 1995,\n            \"quantity\": 1,\n            \"custom\": [\n                {\n                    \"fieldId\": 1,\n                    \"value\": \"Order row custom field\"\n                }\n            ],\n            \"sortId\": 1,\n            \"purchaseCost\": 10,\n            \"product\": {\n                \"id\": 1\n            }\n        }\n    ],\n    \"currency\": \"SEK\",\n    \"currencyRate\": 1,\n    \"project\": null,\n    \"clientConnection\": null,\n    \"probability\": 100,\n    \"client\": {\n        \"id\": 101\n    },\n    \"custom\": [\n        {\n            \"fieldId\": 3,\n            \"value\": \"Order custom data\"\n        }\n    ]\n\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/agreements?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","agreements"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"createdOrderId\": \"1394\",\n        \"diffCreated\": false\n    },\n    \"data\": {\n        \"id\": 1,\n        \"description\": \"10 Licenses\",\n        \"notes\": null,\n        \"user\": {\n            \"role\": null,\n            \"name\": \"Gustav Pettersson\",\n            \"id\": 1\n        },\n        \"client\": {\n            \"journeyStep\": \"customer\",\n            \"name\": \"Example Company\",\n            \"id\": 101\n        },\n        \"contact\": null,\n        \"project\": null,\n        \"regDate\": \"2019-12-12T09:48:03.000Z\",\n        \"stage\": {\n            \"name\": \"Avslutad - Order\",\n            \"id\": 12\n        },\n        \"modDate\": \"2019-12-12T09:48:03.000Z\",\n        \"clientConnection\": null,\n        \"currencyRate\": 1,\n        \"currency\": \"SEK\",\n        \"custom\": [\n            {\n                \"value\": \"Order custom data\",\n                \"valueArray\": [\n                    \"Order custom data\"\n                ],\n                \"fieldId\": 3\n            }\n        ],\n        \"orderRow\": [\n            {\n                \"id\": 24,\n                \"quantity\": 1,\n                \"price\": 1995,\n                \"discount\": 0,\n                \"custom\": [\n                    {\n                        \"value\": \"1\",\n                        \"valueBoolean\": true,\n                        \"valueInteger\": 1,\n                        \"valueDouble\": 1,\n                        \"valueArray\": [\n                            \"1\"\n                        ],\n                        \"fieldId\": 1\n                    }\n                ],\n                \"productId\": 9,\n                \"sortId\": 1,\n                \"listPrice\": 1995,\n                \"purchaseCost\": 10,\n                \"product\": {\n                    \"purchaseCost\": 10,\n                    \"name\": \"Example product\",\n                    \"id\": 9,\n                    \"category\": null\n                }\n            }\n        ],\n        \"value\": 1995,\n        \"contributionMargin\": 1985,\n        \"purchaseCost\": 10,\n        \"yearlyContributionMargin\": 1985,\n        \"valueInMasterCurrency\": 1995,\n        \"yearlyValueInMasterCurrency\": 1995,\n        \"yearlyValue\": 1995,\n        \"metadata\": {\n            \"activeVersionId\": null,\n            \"versionNo\": 1,\n            \"agreementDescription\": \"10 Licenses\",\n            \"agreementStartdate\": \"2019-12-12T00:00:00.000Z\",\n            \"agreementEnddate\": null,\n            \"agreementInvoiceStartdate\": \"2019-12-12T00:00:00.000Z\",\n            \"agreementRenewalDate\": \"2020-12-12T00:00:00.000Z\",\n            \"agreementRenewalActivityCreated\": null,\n            \"agreementNextOrderDate\": null,\n            \"agreementIntervalType\": 1,\n            \"agreementIntervalPeriod\": 12,\n            \"agreementOrderCreationTime\": 0,\n            \"custom\": [\n                {\n                    \"value\": \"Subscription custom field data\",\n                    \"valueArray\": [\n                        \"Subscription custom field data\"\n                    ],\n                    \"fieldId\": 1\n                }\n            ],\n            \"orderSequenceNr\": 0,\n            \"latestOrderId\": null,\n            \"agreementNotes\": \"\",\n            \"periodLength\": 12,\n            \"willCreateMoreOrders\": true\n        },\n        \"userRemovable\": true,\n        \"userEditable\": true\n    }\n}"}],"_postman_id":"24530b4a-db23-4661-bdce-1a4366c1a3c2"},{"name":"Update subscription","id":"4709c863-6d8b-44a5-8161-e1dd7ebb492c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"agreementIntervalPeriod\": 12,\n        \"periodLength\": 12,\n        \"agreementStartdate\": \"2019-12-12T09:39:02.565Z\",\n        \"agreementInvoiceStartdate\": \"2019-12-12T09:39:02.565Z\",\n        \"agreementRenewalDate\": \"2020-12-12T09:39:02.565Z\",\n        \"temporaryNextOrderDate\": \"2019-12-12T10:39:02+01:00\",\n        \"agreementOrderCreationTime\": 0,\n        \"agreementEnddate\": null,\n        \"agreementNotes\": \"\",\n        \"agreementDescription\": \"10 Licenses\",\n        \"custom\": [\n            {\n                \"fieldId\": 1,\n                \"value\": \"Subscription custom field data\"\n            }\n        ]\n    },\n    \"user\": {\n        \"id\": 1\n    },\n    \"stage\": {\n        \"id\": 12\n    },\n    \"orderRow\": [\n        {\n            \"listPrice\": 1995,\n            \"price\": 1995,\n            \"quantity\": 1,\n            \"custom\": [\n                {\n                    \"fieldId\": 1,\n                    \"value\": \"Order row custom field\"\n                }\n            ],\n            \"sortId\": 1,\n            \"purchaseCost\": 10,\n            \"product\": {\n                \"id\": 1\n            }\n        }\n    ],\n    \"currency\": \"SEK\",\n    \"currencyRate\": 1,\n    \"project\": null,\n    \"clientConnection\": null,\n    \"probability\": 100,\n    \"client\": {\n        \"id\": 101\n    },\n    \"custom\": [\n        {\n            \"fieldId\": 3,\n            \"value\": \"Order custom data\"\n        }\n    ]\n\n}"},"url":"https://integration.upsales.com/api/v2/agreements/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","agreements","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"b8f8fc06-a773-416d-9f37-2554ba9c506a","name":"Update subscription","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"id\": 1,\n    \"metadata\": {\n        \"agreementIntervalPeriod\": 12,\n        \"periodLength\": 12,\n        \"agreementStartdate\": \"2019-12-12T09:39:02.565Z\",\n        \"agreementInvoiceStartdate\": \"2019-12-12T09:39:02.565Z\",\n        \"agreementRenewalDate\": \"2020-12-12T09:39:02.565Z\",\n        \"temporaryNextOrderDate\": \"2019-12-12T10:39:02+01:00\",\n        \"agreementOrderCreationTime\": 0,\n        \"agreementEnddate\": null,\n        \"agreementNotes\": \"\",\n        \"agreementDescription\": \"10 Licenses\",\n        \"custom\": [\n            {\n                \"fieldId\": 1,\n                \"value\": \"Subscription custom field data\"\n            }\n        ]\n    },\n    \"user\": {\n        \"id\": 1\n    },\n    \"stage\": {\n        \"id\": 12\n    },\n    \"orderRow\": [\n        {\n            \"listPrice\": 1995,\n            \"price\": 1995,\n            \"quantity\": 1,\n            \"custom\": [\n                {\n                    \"fieldId\": 1,\n                    \"value\": \"Order row custom field\"\n                }\n            ],\n            \"sortId\": 1,\n            \"purchaseCost\": 10,\n            \"product\": {\n                \"id\": 1\n            }\n        }\n    ],\n    \"currency\": \"SEK\",\n    \"currencyRate\": 1,\n    \"project\": null,\n    \"clientConnection\": null,\n    \"probability\": 100,\n    \"client\": {\n        \"id\": 101\n    },\n    \"custom\": [\n        {\n            \"fieldId\": 3,\n            \"value\": \"Order custom data\"\n        }\n    ]\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/agreements/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","agreements","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"createdOrderId\": \"1394\",\n        \"diffCreated\": false\n    },\n    \"data\": {\n        \"id\": 1,\n        \"description\": \"10 Licenses\",\n        \"notes\": null,\n        \"user\": {\n            \"role\": null,\n            \"name\": \"Gustav Pettersson\",\n            \"id\": 1\n        },\n        \"client\": {\n            \"journeyStep\": \"customer\",\n            \"name\": \"Example Company\",\n            \"id\": 101\n        },\n        \"contact\": null,\n        \"project\": null,\n        \"regDate\": \"2019-12-12T09:48:03.000Z\",\n        \"stage\": {\n            \"name\": \"Avslutad - Order\",\n            \"id\": 12\n        },\n        \"modDate\": \"2019-12-12T09:48:03.000Z\",\n        \"clientConnection\": null,\n        \"currencyRate\": 1,\n        \"currency\": \"SEK\",\n        \"custom\": [\n            {\n                \"value\": \"Order custom data\",\n                \"valueArray\": [\n                    \"Order custom data\"\n                ],\n                \"fieldId\": 3\n            }\n        ],\n        \"orderRow\": [\n            {\n                \"id\": 24,\n                \"quantity\": 1,\n                \"price\": 1995,\n                \"discount\": 0,\n                \"custom\": [\n                    {\n                        \"value\": \"1\",\n                        \"valueBoolean\": true,\n                        \"valueInteger\": 1,\n                        \"valueDouble\": 1,\n                        \"valueArray\": [\n                            \"1\"\n                        ],\n                        \"fieldId\": 1\n                    }\n                ],\n                \"productId\": 9,\n                \"sortId\": 1,\n                \"listPrice\": 1995,\n                \"purchaseCost\": 10,\n                \"product\": {\n                    \"purchaseCost\": 10,\n                    \"name\": \"Example product\",\n                    \"id\": 9,\n                    \"category\": null\n                }\n            }\n        ],\n        \"value\": 1995,\n        \"contributionMargin\": 1985,\n        \"purchaseCost\": 10,\n        \"yearlyContributionMargin\": 1985,\n        \"valueInMasterCurrency\": 1995,\n        \"yearlyValueInMasterCurrency\": 1995,\n        \"yearlyValue\": 1995,\n        \"metadata\": {\n            \"activeVersionId\": null,\n            \"versionNo\": 1,\n            \"agreementDescription\": \"10 Licenses\",\n            \"agreementStartdate\": \"2019-12-12T00:00:00.000Z\",\n            \"agreementEnddate\": null,\n            \"agreementInvoiceStartdate\": \"2019-12-12T00:00:00.000Z\",\n            \"agreementRenewalDate\": \"2020-12-12T00:00:00.000Z\",\n            \"agreementRenewalActivityCreated\": null,\n            \"agreementNextOrderDate\": null,\n            \"agreementIntervalType\": 1,\n            \"agreementIntervalPeriod\": 12,\n            \"agreementOrderCreationTime\": 0,\n            \"custom\": [\n                {\n                    \"value\": \"Subscription custom field data\",\n                    \"valueArray\": [\n                        \"Subscription custom field data\"\n                    ],\n                    \"fieldId\": 1\n                }\n            ],\n            \"orderSequenceNr\": 0,\n            \"latestOrderId\": null,\n            \"agreementNotes\": \"\",\n            \"periodLength\": 12,\n            \"willCreateMoreOrders\": true\n        },\n        \"userRemovable\": true,\n        \"userEditable\": true\n    }\n}"}],"_postman_id":"4709c863-6d8b-44a5-8161-e1dd7ebb492c"},{"name":"Delete subscription","id":"ce7ca030-4654-4734-8c84-417a1a01701c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/agreements/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","agreements","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"9dddfd88-acb3-47c4-bb86-c18d37cff9ab","name":"Delete subscription","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/agreements/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","agreements","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\"error\":null}"}],"_postman_id":"ce7ca030-4654-4734-8c84-417a1a01701c"}],"id":"a5c49266-2689-4a06-bc54-f04fc8d38a62","description":"<p>Subscriptions are en entity which will automatically generate orders at a given interval. Most properties are therefore common between orders and subscriptions but there are additional metadata belonging to the subscription.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong>  <br />Subscription ID</td>\n</tr>\n<tr>\n<td>description</td>\n<td><strong>String, mandatory</strong>  <br />Subscription/Order description</td>\n</tr>\n<tr>\n<td>notes</td>\n<td><strong>String</strong>  <br />Subscription notes</td>\n</tr>\n<tr>\n<td>user</td>\n<td><strong>Object, mandatory</strong>  <br />User who did the subscription</td>\n</tr>\n<tr>\n<td>client</td>\n<td><strong>Object, mandatory</strong>  <br />Company this subscription belongs to</td>\n</tr>\n<tr>\n<td>contact</td>\n<td><strong>Object</strong> Contact reference of the company that bought</td>\n</tr>\n<tr>\n<td>project</td>\n<td><strong>Object</strong> Campaign this subscription is added to</td>\n</tr>\n<tr>\n<td>regDate</td>\n<td><strong>Date, read-only</strong>  <br />Subscription regdate</td>\n</tr>\n<tr>\n<td>stage</td>\n<td><strong>Object, mandatory</strong> Stage to which the orders from the subscription belongs to, must have 100 probability</td>\n</tr>\n<tr>\n<td>modDate</td>\n<td><strong>Date, read-only</strong> last modification date</td>\n</tr>\n<tr>\n<td>clientConnection</td>\n<td><strong>Object</strong> Second company connected to this order</td>\n</tr>\n<tr>\n<td>currencyRate</td>\n<td><strong>Number</strong> currency rate in relation to the base currency of the account</td>\n</tr>\n<tr>\n<td>currency</td>\n<td><strong>String</strong> Currency subscription and order are sold in</td>\n</tr>\n<tr>\n<td>custom</td>\n<td><strong>Array</strong> Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n<tr>\n<td>orderRow</td>\n<td><strong>Array, mandatory</strong>  <br />Order rows</td>\n</tr>\n<tr>\n<td>orderRow.id</td>\n<td><strong>Number, read-only</strong>  <br />Id of orderRow</td>\n</tr>\n<tr>\n<td>orderRow.quantity</td>\n<td><strong>Number, mandatory</strong>  <br />Number of sold goods or services</td>\n</tr>\n<tr>\n<td>orderRow.custom</td>\n<td><strong>Array</strong> Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n<tr>\n<td>orderRow.sortId</td>\n<td><strong>Number, mandatory</strong>  <br />Order of which order rows are presented in Upsales</td>\n</tr>\n<tr>\n<td>orderRow.price</td>\n<td><strong>Number, mandatory</strong>  <br />Gross price (after discounts)</td>\n</tr>\n<tr>\n<td>orderRow.listPrice</td>\n<td><strong>Number, mandatory</strong>  <br />net price (before discounts)</td>\n</tr>\n<tr>\n<td>orderRow.purchaseCost</td>\n<td><strong>Number, mandatory</strong>  <br />Purchase cost of product, used to calculate contribution margin</td>\n</tr>\n<tr>\n<td>orderRow.product</td>\n<td><strong>Object, mandatory</strong>  <br />Product you sold</td>\n</tr>\n<tr>\n<td>value</td>\n<td><strong>Number, read-only</strong>  <br />Total order sum</td>\n</tr>\n<tr>\n<td>contributionMargin</td>\n<td><strong>Number, read-only</strong>  <br />Total contribution margin</td>\n</tr>\n<tr>\n<td>purchaseCost</td>\n<td><strong>Number, read-only</strong>  <br />Total purchase cost</td>\n</tr>\n<tr>\n<td>yearlyContributionMargin</td>\n<td><strong>Number, read-only</strong>  <br />Total yearly contribution margin</td>\n</tr>\n<tr>\n<td>valueInMasterCurrency</td>\n<td><strong>Number, read-only</strong>  <br />Total order sum in base currency</td>\n</tr>\n<tr>\n<td>yearlyValueInMasterCurrency</td>\n<td><strong>Number, read-only</strong>  <br />Total yearly subscription sum in base currency</td>\n</tr>\n<tr>\n<td>yearlyValue</td>\n<td><strong>Number, read-only</strong>  <br />Yearly subscription value</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td><strong>Object, mandatory</strong>  <br />Metadata about the subscription</td>\n</tr>\n<tr>\n<td>metadata.agreementDescription</td>\n<td><strong>string, mandatory</strong>  <br />Should be the same as description</td>\n</tr>\n<tr>\n<td>metadata.agreementStartdate</td>\n<td><strong>date, mandatory</strong>  <br />Date when the subscription started</td>\n</tr>\n<tr>\n<td>metadata.agreementEnddate</td>\n<td><strong>date</strong>  <br />Date when the subscription stops, can be <code>null</code> if the subscription is ongoing</td>\n</tr>\n<tr>\n<td>metadata.agreementInvoiceStartdate</td>\n<td><strong>date, create-only</strong>  <br />Date when the subscription was last renewed</td>\n</tr>\n<tr>\n<td>metadata.agreementRenewalDate</td>\n<td><strong>date</strong>  <br />Date when the next period starts in the subscription, should be <code>null</code> if <code>periodLength</code> is 0</td>\n</tr>\n<tr>\n<td>metadata.agreementRenewalActivityCreated</td>\n<td><strong>date, read-only</strong>  <br />When the last reminder activity was created</td>\n</tr>\n<tr>\n<td>metadata.agreementNextOrderDate</td>\n<td><strong>date, read-only</strong>  <br />When will the next order be created from the subscription</td>\n</tr>\n<tr>\n<td>metadata.agreementIntervalType</td>\n<td><strong>number, mandatory</strong>  <br />Should always be 1</td>\n</tr>\n<tr>\n<td>metadata.agreementIntervalPeriod</td>\n<td><strong>number, mandatory</strong>  <br />How often new orders should be created from the subscription (1 monthly, 3 quarterly, 6 every six months, 12 every twelve month etc)</td>\n</tr>\n<tr>\n<td>metadata.agreementOrderCreationTime</td>\n<td><strong>number, mandatory</strong>  <br />How many days before agreementRenewalDate to create the next order</td>\n</tr>\n<tr>\n<td>metadata.custom</td>\n<td><strong>Array</strong>  <br />Array of field values {fieldId: 1, value: \"my value\"}</td>\n</tr>\n<tr>\n<td>metadata.orderSequenceNr</td>\n<td><strong>number, read-only</strong>  <br />How many orders has been created from this subscription</td>\n</tr>\n<tr>\n<td>metadata.latestOrderId</td>\n<td><strong>number, read-only</strong>  <br />Id of the last order created from this subscription</td>\n</tr>\n<tr>\n<td>metadata.agreementNotes</td>\n<td><strong>string</strong>  <br />Notes on the subscription</td>\n</tr>\n<tr>\n<td>metadata.periodLength</td>\n<td><strong>number, mandatory</strong>  <br />The length of each renewal period in months, if the subscription does not renew - then set this to 0</td>\n</tr>\n<tr>\n<td>metadata.willCreateMoreOrders</td>\n<td><strong>boolean, read-only</strong>  <br />If this subscription will create more orders</td>\n</tr>\n<tr>\n<td>userRemovable</td>\n<td><strong>Bolean, read-only</strong> User has right to delete Order in UI</td>\n</tr>\n<tr>\n<td>userEditable</td>\n<td><strong>Bolean, read-only</strong> User has right to edit Order in UI</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"e614df13-9629-40df-8367-4c491e58bed7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bfdca930-3f0e-441c-8cdb-100eb4abf1ab","type":"text/javascript","exec":[""]}}],"_postman_id":"a5c49266-2689-4a06-bc54-f04fc8d38a62"},{"name":"NPS","item":[{"name":"Get NPS list","id":"def8b39a-95dc-4285-b2eb-992d9923dfdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/nps/?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","nps",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"6b3eba75-dde1-41de-b800-e56a3fb11030","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/nps/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","nps",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 27 Jan 2020 11:03:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"ETag","value":"W/\"10c-uBUsgeLy5perfeeXejnJGwCZh20\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"limit\": 1000,\n        \"offset\": 0,\n        \"total\": 1\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"contactId\": 725,\n            \"date\": \"2020-01-27T00:00:00.000Z\",\n            \"score\": 10,\n            \"feedback\": \"Best product I have ever seen\",\n            \"regDate\": \"2020-01-27T10:58:40.000Z\",\n            \"regBy\": 44,\n            \"modDate\": \"2020-01-27T10:58:40.000Z\"\n        }\n    ]\n}"}],"_postman_id":"def8b39a-95dc-4285-b2eb-992d9923dfdd"},{"name":"Get NPS","id":"176e076b-ec7b-424d-afe2-32b2a652afc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://integration.upsales.com/api/v2/nps/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","nps","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"fbe7f73b-a8c2-4f84-aa48-1853e0f221a3","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://integration.upsales.com/api/v2/nps/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","nps","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 27 Jan 2020 11:05:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"eb-xVRrIA+H83vSrCbArMVw9b9sHMU\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": null,\n    \"data\": {\n        \"id\": 1,\n        \"contactId\": 725,\n        \"date\": \"2020-01-27T00:00:00.000Z\",\n        \"score\": 10,\n        \"feedback\": \"Best product I have ever seen\",\n        \"regDate\": \"2020-01-27T10:58:40.000Z\",\n        \"regBy\": 44,\n        \"modDate\": \"2020-01-27T10:58:40.000Z\"\n    }\n}"}],"_postman_id":"176e076b-ec7b-424d-afe2-32b2a652afc5"},{"name":"POST NPS","id":"d20961f0-9eb4-4b9b-b9cc-73f1dffa1e7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"contactId\": 725,\n\"date\": \"2020-01-27\",\n\"score\": 10,\n\"feedback\": \"Best product I have ever seen\"\n}"},"url":"https://integration.upsales.com/api/v2/nps/?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","nps",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"67226aaa-a970-4cd7-9b7d-f1ee6f56c871","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"contactId\": 725,\n\"date\": \"2020-01-27\",\n\"score\": 10,\n\"feedback\": \"Best product I have ever seen\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/nps/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","nps",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 27 Jan 2020 10:58:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"ETag","value":"W/\"db-riuifUZo+TCXWqa2ELCNhNa5ZTw\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 1,\n        \"contactId\": 1,\n        \"date\": \"2020-01-27T00:00:00.000Z\",\n        \"score\": 10,\n        \"feedback\": \"Best product I have ever seen\",\n        \"regDate\": \"2020-01-27T10:58:40.000Z\",\n        \"regBy\": 44,\n        \"modDate\": \"2020-01-27T10:58:40.000Z\"\n    }\n}"}],"_postman_id":"d20961f0-9eb4-4b9b-b9cc-73f1dffa1e7e"},{"name":"Update NPS","id":"aad8dc8c-f9d6-4439-9493-29d7269347af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"contactId\": 725,\n\"date\": \"2020-01-27\",\n\"score\": 8,\n\"feedback\": \"Best product I have ever seen\"\n}"},"url":"https://integration.upsales.com/api/v2/nps/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","nps","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"2f362b67-904e-465b-8cd4-7ca5df9824e3","name":"200 - OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"contactId\": 725,\n\"date\": \"2020-01-27\",\n\"score\": 8,\n\"feedback\": \"Best product I have ever seen\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/nps/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","nps","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 27 Jan 2020 11:09:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"ETag","value":"W/\"da-J4F6yjCrn29r7uj6nyxCOAbKjPg\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 1,\n        \"contactId\": 725,\n        \"date\": \"2020-01-27T00:00:00.000Z\",\n        \"score\": 8,\n        \"feedback\": \"Best product I have ever seen\",\n        \"regDate\": \"2020-01-27T10:58:40.000Z\",\n        \"regBy\": 44,\n        \"modDate\": \"2020-01-27T11:09:16.000Z\"\n    }\n}"}],"_postman_id":"aad8dc8c-f9d6-4439-9493-29d7269347af"},{"name":"Delete NPS","id":"4d954535-f096-4787-8ff5-bd2cb592eba7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://integration.upsales.com/api/v2/nps/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","nps","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"ddc82d62-17cd-4b62-9d61-758f4f6a6ed5","name":"200 - OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://integration.upsales.com/api/v2/nps/{{id}}?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","nps","{{id}}"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 27 Jan 2020 11:10:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"14"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"e-hDOZGZ11/MTPwZq/A8sGFlQzkPc\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null\n}"}],"_postman_id":"4d954535-f096-4787-8ff5-bd2cb592eba7"}],"id":"1de0e3c0-22c3-4b04-a3e6-f5ff518171af","description":"<p>Add NPS score from 3rd-party providers in Upsales to inform your CSM team what your customers think about you. You can create reports in Insights based on this data.</p>\n<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />NPS ID</td>\n</tr>\n<tr>\n<td>contactId</td>\n<td><strong>Number, mandatory</strong><br /> ID of contact</td>\n</tr>\n<tr>\n<td>date</td>\n<td><strong>Date, mandatory</strong><br /> Date when NPS was submitted</td>\n</tr>\n<tr>\n<td>score</td>\n<td><strong>number, mandatory</strong><br /> Score between 0-10</td>\n</tr>\n<tr>\n<td>feedback</td>\n<td><strong>String</strong><br /> Add feedback if given from contact</td>\n</tr>\n<tr>\n<td>regDate</td>\n<td><strong>String, read-only</strong><br /> NPS regdate</td>\n</tr>\n<tr>\n<td>regBy</td>\n<td><strong>String, read-only</strong><br /> User that registered NPS</td>\n</tr>\n<tr>\n<td>modDate</td>\n<td><strong>String, read-only</strong> last modification date</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"103f0406-fd8d-4be2-8a0c-0ff15f04ca97","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"247e00cf-eeb1-48bd-ac84-80c80948a586","type":"text/javascript","exec":[""]}}],"_postman_id":"1de0e3c0-22c3-4b04-a3e6-f5ff518171af"},{"name":"Upload documents","item":[{"name":"Upload file on Company","id":"ce7c7ff9-f499-4a78-96be-ad2cd1fd7f7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/resources/upload/internal/client/{{clientId}}/?token={{token}}","description":"<p>formdata: {file: your binary file}</p>\n","urlObject":{"protocol":"https","path":["api","v2","resources","upload","internal","client","{{clientId}}",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"ce7c7ff9-f499-4a78-96be-ad2cd1fd7f7e"},{"name":"Upload file on contact","id":"da113721-d1b3-4557-b477-08c4da96933e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/resources/upload/internal/contact/{{contactId}}/?token={{token}}","description":"<p>formdata: {file: your binary file}</p>\n","urlObject":{"protocol":"https","path":["api","v2","resources","upload","internal","contact","{{contactId}}",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"da113721-d1b3-4557-b477-08c4da96933e"},{"name":"Upload file on order","id":"d9d71f21-919a-4ebc-b8e4-84c25b70de99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/resources/upload/internal/order/{{orderId}}/?token={{token}}","description":"<p>formdata: {file: your binary file}</p>\n","urlObject":{"protocol":"https","path":["api","v2","resources","upload","internal","order","{{orderId}}",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"d9d71f21-919a-4ebc-b8e4-84c25b70de99"},{"name":"Upload file on appointment","id":"ea6478bc-cd5b-4ba3-ad77-98a9f62c84a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[]},"url":"https://integration.upsales.com/api/v2/resources/upload/internal/appointment/{{appointmentId}}/?token={{token}}","description":"<p>formdata: {file: your binary file}</p>\n","urlObject":{"protocol":"https","path":["api","v2","resources","upload","internal","appointment","{{appointmentId}}",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[],"_postman_id":"ea6478bc-cd5b-4ba3-ad77-98a9f62c84a5"}],"id":"9d881467-3f85-4743-b04e-36431bce5afa","description":"<p>Files are documents of any kind (images, spreadsheets, text files, etc.) that are uploaded to Upsales, and usually associated with a particular opportunity, company, or contact.</p>\n","event":[{"listen":"prerequest","script":{"id":"4cddf8d4-38da-4371-991e-1621d708637b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b8fb166e-320e-4a25-8d03-f195a302e0db","type":"text/javascript","exec":[""]}}],"_postman_id":"9d881467-3f85-4743-b04e-36431bce5afa"},{"name":"User defined object","item":[{"name":"Create","id":"59556641-8722-4736-b0b3-5109c9bd8c34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"entityType\": \"client\",\n\t\"name\": \"Name of the udo\"\n}"},"url":"https://integration.upsales.com/api/v2/udos/?token={{token}}","description":"<p>entityType can be one of the following: client, contact or campaign</p>\n","urlObject":{"protocol":"https","path":["api","v2","udos",""],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"32e7495e-1aad-4ac0-b35d-11d289ddae64","name":"Create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"entityType\": \"client\",\n\t\"name\": \"Name of the udo\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/udos/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","udos",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 12:05:31 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"175"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 09:25:31 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"af-XC9V1jWYeHTxC5P9H9sqP6Fzb6E\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 2,\n        \"entityType\": \"client\",\n        \"name\": \"Name of the udo\",\n        \"appId\": null,\n        \"regDate\": \"2021-02-25T12:05:31.000Z\",\n        \"regBy\": 25,\n        \"modDate\": \"2021-02-25T12:05:31.000Z\"\n    }\n}"},{"id":"b15161de-e5b7-4de9-8b4e-8dc545900cc6","name":"Create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"entityType\": \"client\",\n\t\"name\": \"Name of the udo\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/udos/?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","udos",""],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 12:05:31 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"175"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 09:25:31 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"af-XC9V1jWYeHTxC5P9H9sqP6Fzb6E\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 2,\n        \"entityType\": \"client\",\n        \"name\": \"Name of the udo\",\n        \"appId\": null,\n        \"regDate\": \"2021-02-25T12:05:31.000Z\",\n        \"regBy\": 25,\n        \"modDate\": \"2021-02-25T12:05:31.000Z\"\n    }\n}"}],"_postman_id":"59556641-8722-4736-b0b3-5109c9bd8c34"},{"name":"Update","id":"6bf86474-68c1-48af-b8bd-a73b1fe72889","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 2,\n\t\"name\": \"The new name of the udo\"\n}"},"url":"https://integration.upsales.com/api/v2/udos/2?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","udos","2"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"e1431e26-4638-4188-a97d-cbfd02309cf8","name":"Update","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 2,\n\t\"name\": \"The new name of the udo\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/udos/2?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","udos","2"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 10:57:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"183"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 08:17:21 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"b7-7zJ5MYDgh41lmj3VSd5PfaXAfr0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 2,\n        \"entityType\": \"client\",\n        \"name\": \"The new name of the udo\",\n        \"appId\": null,\n        \"regDate\": \"2021-02-25T10:54:08.000Z\",\n        \"regBy\": 25,\n        \"modDate\": \"2021-02-25T10:57:21.000Z\"\n    }\n}"}],"_postman_id":"6bf86474-68c1-48af-b8bd-a73b1fe72889"},{"name":"Delete","id":"706c9337-f1b9-4087-bb76-3a0a216698f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://integration.upsales.com/api/v2/udos/2?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","udos","2"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"f43d59d8-9f36-4d6a-b40e-cf8d00805c86","name":"Delete","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/udos/2?token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","udos","2"],"query":[{"key":"token","value":"65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 12:03:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"14"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"194"},{"key":"X-RateLimit-Reset","value":"4"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 09:23:58 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"e-hDOZGZ11/MTPwZq/A8sGFlQzkPc\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null\n}"}],"_postman_id":"706c9337-f1b9-4087-bb76-3a0a216698f3"}],"id":"5455d9d7-e5f8-4b44-bee7-8797d8859bc0","description":"<p>First you create an user defined object, then you add fields to it. Then you can create instances of that udo. </p>\n","event":[{"listen":"prerequest","script":{"id":"0cbaff28-9d99-4eae-ad2c-39f1a0a68a86","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9b145f71-bd60-4377-8b43-2c635d60cc4b","type":"text/javascript","exec":[""]}}],"_postman_id":"5455d9d7-e5f8-4b44-bee7-8797d8859bc0"},{"name":"User defined object field","item":[{"name":"Create","id":"2b676e7a-6a89-4ffb-8b9d-29f66d657898","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"name\": \"fieldName\", \"datatype\": \"String\", \"udoId\": 3}"},"url":"https://integration.upsales.com/api/v2/customfields/udo?token={{token}}","description":"<p>datatype is one of following: \nInteger, Currency, String, Text, Boolean, Select, Date, Time, Percent, Email, Link, Discount or MultiSelect</p>\n","urlObject":{"protocol":"https","path":["api","v2","customfields","udo"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"cc96f666-f379-4d73-abc7-08c9948caae0","name":"Create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"name\": \"fieldName\", \"datatype\": \"String\", \"udoId\": 3}"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/udo?token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","udo"],"query":[{"key":"token","value":"65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 12:08:15 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"267"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 09:28:15 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"10b-QVV4dWOhOIicvIrLzrchmDZOaUU\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 346,\n        \"udoId\": 3,\n        \"appId\": null,\n        \"name\": \"fieldName\",\n        \"dropdownDefault\": null,\n        \"default\": null,\n        \"datatype\": \"String\",\n        \"lookupField\": 0,\n        \"sortId\": 0,\n        \"visible\": 1,\n        \"editable\": 0,\n        \"locked\": 0,\n        \"viewonly\": 0,\n        \"obligatoryField\": 0,\n        \"searchable\": 0,\n        \"alias\": null,\n        \"roles\": []\n    }\n}"}],"_postman_id":"2b676e7a-6a89-4ffb-8b9d-29f66d657898"},{"name":"Update","id":"9f4359c1-9b09-4f6b-95f8-0f46c131e936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 346,\n    \"name\": \"newfieldName\"\n}"},"url":"https://integration.upsales.com/api/v2/customfields/udo/346?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","udo","346"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"a25f6348-967a-40d6-8f24-0fb1ed2e1a24","name":"Create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"name\": \"fieldName\", \"datatype\": \"String\", \"udoId\": 3}"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/udo?token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","udo"],"query":[{"key":"token","value":"65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 12:08:15 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"267"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 09:28:15 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"10b-QVV4dWOhOIicvIrLzrchmDZOaUU\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 346,\n        \"udoId\": 3,\n        \"appId\": null,\n        \"name\": \"fieldName\",\n        \"dropdownDefault\": null,\n        \"default\": null,\n        \"datatype\": \"String\",\n        \"lookupField\": 0,\n        \"sortId\": 0,\n        \"visible\": 1,\n        \"editable\": 0,\n        \"locked\": 0,\n        \"viewonly\": 0,\n        \"obligatoryField\": 0,\n        \"searchable\": 0,\n        \"alias\": null,\n        \"roles\": []\n    }\n}"},{"id":"d27678bb-f8bd-4504-afc5-df39bb34a53e","name":"Update","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 346,\n    \"name\": \"newfieldName\"\n}"},"url":{"raw":"https://integration.upsales.com/api/v2/customfields/udo/346?token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","udo","346"],"query":[{"key":"token","value":"65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 12:12:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"270"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 09:32:52 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"10e-NQ98PCa+LkUi+TVaLNLBQog5LAg\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 346,\n        \"udoId\": 3,\n        \"appId\": null,\n        \"name\": \"newfieldName\",\n        \"dropdownDefault\": null,\n        \"default\": null,\n        \"datatype\": \"String\",\n        \"lookupField\": 0,\n        \"sortId\": 0,\n        \"visible\": 1,\n        \"editable\": 0,\n        \"locked\": 0,\n        \"viewonly\": 0,\n        \"obligatoryField\": 0,\n        \"searchable\": 0,\n        \"alias\": null,\n        \"roles\": []\n    }\n}"}],"_postman_id":"9f4359c1-9b09-4f6b-95f8-0f46c131e936"},{"name":"Delete","id":"507ed710-fdb2-4bee-9ba6-eb7300a124a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://integration.upsales.com/api/v2/customfields/udo/346?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","customfields","udo","346"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"616394b1-e14c-4dff-85cc-3e79f21f5023","name":"Delete","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/customfields/udo/345?token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","customfields","udo","345"],"query":[{"key":"token","value":"65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 12:18:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"14"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 09:38:38 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"e-hDOZGZ11/MTPwZq/A8sGFlQzkPc\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null\n}"}],"_postman_id":"507ed710-fdb2-4bee-9ba6-eb7300a124a6"}],"id":"7f287215-d002-4f7b-a9d3-4ac4ddb45cc7","_postman_id":"7f287215-d002-4f7b-a9d3-4ac4ddb45cc7","description":""},{"name":"User defined object instance","item":[{"name":"Create","id":"f1e0ce08-48bc-4fc8-9b6d-44c4d713b385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"fields\": {\"newfieldName\": \"new field value\"}, \"udoId\": 3, \"clientId\": 960}"},"url":"https://integration.upsales.com/api/v2/udoobjects?token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d","description":"<p>If the entityType of the udo is client a clientId has to be provided, if it is contact a contactId and if it is campaign projectId need to be provided.</p>\n","urlObject":{"protocol":"https","path":["api","v2","udoobjects"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d"}],"variable":[]}},"response":[{"id":"9d9c87aa-1620-4687-acdf-c522d608b971","name":"https://integration.upsales.com/api/v2/customfields/udo/346?token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"fields\": {\"newfieldName\": \"new field value\"}, \"udoId\": 3, \"clientId\": 960}"},"url":{"raw":"https://integration.upsales.com/api/v2/udoobjects?token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","udoobjects"],"query":[{"key":"token","value":"65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 12:19:02 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"218"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 09:39:02 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"da-lHqok8XJK4FeXH8JNUatsXRM9Q8\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 2,\n        \"udoId\": 3,\n        \"clientId\": 960,\n        \"contactId\": null,\n        \"projectId\": null,\n        \"regBy\": 25,\n        \"regDate\": \"2021-02-25T12:19:02.000Z\",\n        \"modDate\": \"2021-02-25T12:19:02.000Z\",\n        \"fields\": {\n            \"newfieldName\": \"new field value\"\n        }\n    }\n}"}],"_postman_id":"f1e0ce08-48bc-4fc8-9b6d-44c4d713b385"},{"name":"Update","id":"d53cc9e3-59c2-42da-b66d-360cab88b0c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"id\": 2, \"fields\": {\"newfieldName\": \"newer field value\"}, \"udoId\": 3, \"clientId\": 960}"},"url":"https://integration.upsales.com/api/v2/udoobjects/2?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","udoobjects","2"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"7f943013-d173-4d19-ae13-37d6b3471f7f","name":"Update","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"id\": 2, \"fields\": {\"newfieldName\": \"newer field value\"}, \"udoId\": 3, \"clientId\": 960}"},"url":{"raw":"https://integration.upsales.com/api/v2/udoobjects/2?token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","udoobjects","2"],"query":[{"key":"token","value":"65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 12:20:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"220"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 09:40:48 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"dc-e5RzBMQVp6Czx3S3qHVGZMR0LCU\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 2,\n        \"udoId\": 3,\n        \"clientId\": 960,\n        \"contactId\": null,\n        \"projectId\": null,\n        \"regBy\": 25,\n        \"regDate\": \"2021-02-25T12:19:02.000Z\",\n        \"modDate\": \"2021-02-25T12:20:48.000Z\",\n        \"fields\": {\n            \"newfieldName\": \"newer field value\"\n        }\n    }\n}"}],"_postman_id":"d53cc9e3-59c2-42da-b66d-360cab88b0c1"},{"name":"Delete","id":"9ca2fefc-251e-41c1-937a-6b4afcdc43f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://integration.upsales.com/api/v2/udoobjects/2?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","udoobjects","2"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"673fbc84-fde1-4225-8f08-c85fbe89f440","name":"Delete","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/udoobjects/2?token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","udoobjects","2"],"query":[{"key":"token","value":"65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Feb 2021 12:21:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"14"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"Set-Cookie","value":"token=65092124f00ec08d36d053b3caff9d9693973b84a0d0f120b76915ae86e61cd36b4992cf82de35faf93cdd58bd0df82d; Max-Age=76800; Path=/; Expires=Fri, 26 Feb 2021 09:41:23 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"e-hDOZGZ11/MTPwZq/A8sGFlQzkPc\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null\n}"}],"_postman_id":"9ca2fefc-251e-41c1-937a-6b4afcdc43f6"}],"id":"d56ebf87-1a63-41e1-8269-bbb6a4014d3d","_postman_id":"d56ebf87-1a63-41e1-8269-bbb6a4014d3d","description":""},{"name":"Phone calls","item":[{"name":"Get Phone call list","id":"61bbc6c1-04b9-4776-8073-aff47b69d302","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://integration.upsales.com/api/v2/phoneCall?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","phoneCall"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"c768e2c7-92b0-4b98-a4a7-a9f5f86746d1","name":"Get Phone call list","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/phoneCall?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","phoneCall"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 24 Mar 2022 07:40:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"12300"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=5ff534e74166f2c3acba567b601ff11a845770156601e698f05682e8f1b01ea6f8695d8644cef70a2998a3ed4456c23a; Max-Age=14400; Path=/; Expires=Thu, 24 Mar 2022 11:40:03 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"300c-mzWJoT81ZdD5lNJZZA64MX8WDvA\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"metadata\": {\n        \"total\": 1\n    },\n    \"data\": [\n       {\n        \"id\": 41,\n        \"durationInS\": 0,\n        \"user\": {\n            \"id\": 25,\n            \"name\": \"Gustav Pettersson\"\n        },\n        \"type\": \"31\",\n        \"conversationUrl\": null,\n        \"contact\": {\n            \"id\": 2073,\n            \"name\": \"Kalle Pettersson\"\n        },\n        \"date\": \"2021-09-28T09:40:50.000Z\",\n        \"status\": 1,\n        \"phoneNumber\": \"0734031727\",\n        \"related\": [],\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Upsales Nordic AB\"\n        },\n        \"externalId\": \"5b50ddc5-12d9-4ad5-b25f-12dc918dd03b\"\n    }\n    ]\n}"}],"_postman_id":"61bbc6c1-04b9-4776-8073-aff47b69d302"},{"name":"Get Phone call","id":"5e7dd46e-6909-40d6-9207-226e4f4e5f1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://integration.upsales.com/api/v2/phoneCall/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","phoneCall","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"1d16a199-8ace-4860-ae12-73fa27e397cf","name":"Get Phone call","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/phoneCall/41?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","phoneCall","41"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 24 Mar 2022 07:50:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"353"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"Set-Cookie","value":"token=5ff534e74166f2c3acba567b601ff11a845770156601e698f05682e8f1b01ea6f8695d8644cef70a2998a3ed4456c23a; Max-Age=14400; Path=/; Expires=Thu, 24 Mar 2022 11:50:44 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"161-IPPkeWT0RH4/2PTEqsEK9+7Rkxw\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 41,\n        \"durationInS\": 0,\n        \"user\": {\n            \"id\": 25,\n            \"name\": \"Gustav Pettersson\"\n        },\n        \"type\": \"31\",\n        \"conversationUrl\": null,\n        \"contact\": {\n            \"id\": 2073,\n            \"name\": \"Kalle Pettersson\"\n        },\n        \"date\": \"2021-09-28T09:40:50.000Z\",\n        \"status\": 1,\n        \"phoneNumber\": \"0734031727\",\n        \"related\": [],\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Upsales Nordic AB\"\n        },\n        \"externalId\": \"5b50ddc5-12d9-4ad5-b25f-12dc918dd03b\"\n    }\n}"}],"_postman_id":"5e7dd46e-6909-40d6-9207-226e4f4e5f1b"},{"name":"Create Phone call","id":"30d60f7e-22c0-48a3-8ad6-ff1890bf8863","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"durationInS\": 0,\n    \"user\": {\n      \"id\": 25,\n      \"name\": \"Gustav Pettersson\"\n    },\n    \"type\": \"31\",\n    \"conversationUrl\": null,\n    \"contact\": {\n      \"id\": 2073,\n      \"name\": \"Gustav Pettersson\"\n    },\n    \"date\": \"2021-09-28T09:40:50.000Z\",\n    \"status\": 1,\n    \"phoneNumber\": \"0734031727\",\n    \"related\": [],\n    \"client\": {\n      \"id\": 1,\n      \"name\": \"Upsales Nordic AB\"\n    },\n    \"externalId\": \"5b50ddc5-12d9-4ad5-b25f-12dc918dd03b\"\n  }"},"url":"https://integration.upsales.com/api/v2/phoneCall?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","phoneCall"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"b0ce7746-7e75-4277-958c-1a598b187f8b","name":"Create Phone call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"durationInS\": 0,\n    \"user\": {\n      \"id\": 25,\n      \"name\": \"Gustav Pettersson\"\n    },\n    \"type\": \"31\",\n    \"conversationUrl\": null,\n    \"contact\": {\n      \"id\": 2073,\n      \"name\": \"Gustav Pettersson\"\n    },\n    \"date\": \"2021-09-28T09:40:50.000Z\",\n    \"status\": 1,\n    \"phoneNumber\": \"0734031727\",\n    \"related\": [],\n    \"client\": {\n      \"id\": 1,\n      \"name\": \"Upsales Nordic AB\"\n    },\n    \"externalId\": \"5b50ddc5-12d9-4ad5-b25f-12dc918dd03b\"\n  }"},"url":{"raw":"https://integration.upsales.com/api/v2/phoneCall?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","phoneCall"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 24 Mar 2022 09:58:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"353"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"197"},{"key":"X-RateLimit-Reset","value":"4"},{"key":"Set-Cookie","value":"token=5ff534e74166f2c3acba567b601ff11a845770156601e698f05682e8f1b01ea6f8695d8644cef70a2998a3ed4456c23a; Max-Age=14400; Path=/; Expires=Thu, 24 Mar 2022 13:58:21 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"161-6gmIlIMK8ycDgIC4Eah9gTogo2o\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 41,\n        \"durationInS\": 0,\n        \"user\": {\n            \"id\": 25,\n            \"name\": \"Gustav Pettersson\"\n        },\n        \"type\": \"31\",\n        \"conversationUrl\": null,\n        \"contact\": {\n            \"id\": 2073,\n            \"name\": \"Kalle Pettersson\"\n        },\n        \"date\": \"2021-09-28T09:40:50.000Z\",\n        \"status\": 1,\n        \"phoneNumber\": \"0734031727\",\n        \"related\": [],\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Upsales Nordic AB\"\n        },\n        \"externalId\": \"5b50ddc5-12d9-4ad5-b25f-12dc918dd03b\"\n    }\n}"}],"_postman_id":"30d60f7e-22c0-48a3-8ad6-ff1890bf8863"},{"name":"Update Phone call","id":"929bb653-a99c-4ca2-9212-24162461ff9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n        \"id\": 41,\n        \"durationInS\": 10,\n        \"user\": {\n            \"id\": 25,\n            \"name\": \"Gustav Pettersson\"\n        },\n        \"type\": \"31\",\n        \"conversationUrl\": null,\n        \"contact\": {\n            \"id\": 2073,\n            \"name\": \"Kalle Pettersson\"\n        },\n        \"date\": \"2021-09-28T09:40:50.000Z\",\n        \"status\": 1,\n        \"phoneNumber\": \"0734031727\",\n        \"related\": [],\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Upsales Nordic AB\"\n        },\n        \"externalId\": \"5b50ddc5-12d9-4ad5-b25f-12dc918dd03b\"\n    }","options":{"raw":{"language":"json"}}},"url":"https://integration.upsales.com/api/v2/phoneCall/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","phoneCall","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"ad999b74-4c8a-4b59-ae2a-d01e6956a392","name":"Update Phone call","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n        \"id\": 41,\n        \"durationInS\": 10,\n        \"user\": {\n            \"id\": 25,\n            \"name\": \"Robin Berntsson\"\n        },\n        \"type\": \"31\",\n        \"conversationUrl\": null,\n        \"contact\": {\n            \"id\": 2073,\n            \"name\": \"Robin Berntsson\"\n        },\n        \"date\": \"2021-09-28T09:40:50.000Z\",\n        \"status\": 1,\n        \"phoneNumber\": \"0734031727\",\n        \"related\": [],\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Upsales Nordic AB\"\n        },\n        \"externalId\": \"5b50ddc5-12d9-4ad5-b25f-12dc918dd03b\"\n    }","options":{"raw":{"language":"json"}}},"url":{"raw":"https://integration.upsales.com/api/v2/phoneCall/41?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","phoneCall","41"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 24 Mar 2022 10:00:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"354"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"198"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"Set-Cookie","value":"token=5ff534e74166f2c3acba567b601ff11a845770156601e698f05682e8f1b01ea6f8695d8644cef70a2998a3ed4456c23a; Max-Age=14400; Path=/; Expires=Thu, 24 Mar 2022 14:00:41 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"162-YZmXp/WBuDVrofk9vTvqlao4YK8\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null,\n    \"data\": {\n        \"id\": 41,\n        \"durationInS\": 10,\n        \"user\": {\n            \"id\": 25,\n            \"name\": \"Gustav Pettersson\"\n        },\n        \"type\": \"31\",\n        \"conversationUrl\": null,\n        \"contact\": {\n            \"id\": 2073,\n            \"name\": \"Kalle Pettersson\"\n        },\n        \"date\": \"2021-09-28T09:40:50.000Z\",\n        \"status\": 1,\n        \"phoneNumber\": \"0734031727\",\n        \"related\": [],\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Upsales Nordic AB\"\n        },\n        \"externalId\": \"5b50ddc5-12d9-4ad5-b25f-12dc918dd03b\"\n    }\n}"}],"_postman_id":"929bb653-a99c-4ca2-9212-24162461ff9f"},{"name":"Delete Phone call","id":"66b2dd27-0d44-4e97-ba5b-37cf8c5cf6f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://integration.upsales.com/api/v2/phoneCall/{{id}}?token={{token}}","urlObject":{"protocol":"https","path":["api","v2","phoneCall","{{id}}"],"host":["integration","upsales","com"],"query":[{"key":"token","value":"{{token}}"}],"variable":[]}},"response":[{"id":"14589abf-3de4-409f-8a4b-292568146597","name":"Delete Phone call","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://integration.upsales.com/api/v2/phoneCall/41?token={{token}}","protocol":"https","host":["integration","upsales","com"],"path":["api","v2","phoneCall","41"],"query":[{"key":"token","value":"{{token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 24 Mar 2022 10:01:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"14"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-Requested-With, Cache-Control"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-RateLimit-Reset","value":"-2"},{"key":"Set-Cookie","value":"token=5ff534e74166f2c3acba567b601ff11a845770156601e698f05682e8f1b01ea6f8695d8644cef70a2998a3ed4456c23a; Max-Age=14400; Path=/; Expires=Thu, 24 Mar 2022 14:01:54 GMT; HttpOnly; Secure"},{"key":"ETag","value":"W/\"e-hDOZGZ11/MTPwZq/A8sGFlQzkPc\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": null\n}"}],"_postman_id":"66b2dd27-0d44-4e97-ba5b-37cf8c5cf6f9"}],"id":"972da86f-0dac-46d2-8f63-0e4b69e9bdcb","description":"<h2 id=\"properties\">Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Properties</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><strong>Number, read-only</strong><br />Phone call ID</td>\n</tr>\n<tr>\n<td>durationInS</td>\n<td><strong>Number</strong><br /> Duration of the phone call in seconds</td>\n</tr>\n<tr>\n<td>user</td>\n<td><strong>Object, mandatory</strong><br /> User who called/received the phone call</td>\n</tr>\n<tr>\n<td>contact</td>\n<td><strong>Object, mandatory</strong> Contact who called/received the phone call</td>\n</tr>\n<tr>\n<td>client</td>\n<td><strong>Object, mandatory</strong><br /> Company of the contact</td>\n</tr>\n<tr>\n<td>date</td>\n<td><strong>Date, mandatory</strong><br /> Start date of the phone call</td>\n</tr>\n<tr>\n<td>phoneNumber</td>\n<td><strong>String, mandatory</strong><br /> Phone number of the contact</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td><strong>String</strong><br /> External id of the phone call</td>\n</tr>\n<tr>\n<td>conversationUrl</td>\n<td><strong>String</strong><br /> Url to the voice recording of the phone call</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"972da86f-0dac-46d2-8f63-0e4b69e9bdcb"}],"event":[{"listen":"prerequest","script":{"id":"4fc62ad4-977f-4c65-b3c6-46c4619f26a6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"43262028-b2e1-4955-a0fb-421ab77a35d5","type":"text/javascript","exec":[""]}}],"variable":[{"key":"{{baseurl}}","value":"https://integration.upsales.com/api/v2/"}]}