{"info":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","description":"<html><head></head><body><h3 id=\"appbind-reseller-api-reference\">AppBind reseller API reference</h3>\n<h4 id=\"introduction\">Introduction</h4>\n<p>The AppBind reseller API is a REST-like API that returns JSON responses, and uses standard HTTP response codes, authentication, and verbs.</p>\n<p>This is a set of APIs for a reseller for to manage customers and subscriptions in AppBind.</p>\n<p>AppBind's reseller API is currently in a limited beta release. If you would like to participate in the beta, please contact AppBind support at <a href=\"mailto:support@appbind.com\">support@appbind.com</a>.</p>\n<h4 id=\"authorization\">Authorization</h4>\n<p>The AppBind reseller API uses API keys to authenticate requests. When you're added to the beta program, you'll be abled to view and manage your API secret keys in the integrations tab on the AppBind settings page:</p>\n<img src=\"https://content.pstmn.io/e4a97dfe-9137-4adf-9576-11dc56b6351d/U2V0dGluZ3NJbnRlZ3JhdGlvbnMucG5n\" alt=\"\">\n\n<p>Click on \"Manage custom integrations\" to navigate to a page where you can generate and manage api keys, and view an api call log history.</p>\n<img src=\"https://content.pstmn.io/70e1b535-638d-4236-9d63-d3f7a3405fb2/Q3VzdG9tSW50ZWdyYXRpb25zLnBuZw==\" alt=\"\">\n\n<p><strong>Roll key</strong> generates a new key value for an existing key name (and deactivates the current key value).</p>\n<p><strong>Deactivate key</strong> prevents a key from being used in future calls.</p>\n<p><strong>Generate new key</strong> creates a new key name and value.</p>\n<p>API secret keys provide access to your production environment, so be sure to keep them secure. Do not share API secret keys in publically accessible platforms such as GitHub, client-side code, etc.</p>\n<p>Authentication to the API is via bearer auth (e.g. -H \"Authorization: Bearer sk...\".</p>\n<p>All API requests must be made over https. Calls made over plain http or without authentication will fail.</p>\n<h4 id=\"pagination\">Pagination</h4>\n<p>List lookups that may return a large number of objects generally support paging. These APIs share a common format, including <strong>first</strong>, <strong>offset</strong>, <strong>sort</strong>, and <strong>direction</strong> parameters.</p>\n<p>* <strong>first</strong> specifies the maximum number of objects to return; this is the page size.<br>* <strong>offset</strong> indicates what page to return.<br>* <strong>sort</strong> indicates which attribute(s) to sort by (where applicable).<br>* <strong>direction</strong> (ASC or DESC) indicates the sort direction.</p>\n<p>For example, the following call to the apps resource retrieves the first 5 apps in AppBind's master catalog, ordered by app name ascending:</p>\n<p><code>https://ws.appbind.com/v1/reseller/apps?first=5&amp;offset=0&amp;sort=appName&amp;direction=ASC</code></p>\n<p>This call retrieves the next 5 apps (note that the offset has been incremented):</p>\n<p><code>https://ws.appbind.com/v1/reseller/apps?first=5&amp;offset=1&amp;sort=appName&amp;direction=ASC</code></p>\n<h4 id=\"wildcard-lookups\">Wildcard lookups</h4>\n<p>List lookups often support wildcard lookups on one or more attribute. For attributes that support wildcard lookup, use like:pattern. For example, to lookup apps containing the string \"AWS\" in the app name, you'd do this:</p>\n<p><code>https://ws.appbind.com/v1/resellerapps?appName=like:AWS&amp;first=10&amp;offset=0&amp;sort=appName&amp;direction=ASC</code></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"3796453","collectionId":"c9d968bb-1185-4cff-89fd-b25c899466de","publishedId":"2s8YYCuRVB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-14T19:11:52.000Z"},"item":[{"name":"apps","item":[{"name":"get apps","id":"58d17199-0aab-49a5-b3d1-eb9fd75bdfd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/apps?appName=like:pass&first=10&offset=0&sort=appName&direction=DESC","description":"<p>Returns apps using filtering and sorting</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["apps"],"host":["https://ws.appbind.com/v1/reseller"],"query":[{"description":{"content":"<p>Either a unique app name such as AWS or a wildcard prefaced with the keyword like:word</p>\n","type":"text/plain"},"key":"appName","value":"like:pass"},{"description":{"content":"<p>Max number of records to return</p>\n","type":"text/plain"},"key":"first","value":"10"},{"description":{"content":"<p>Number of rows to offset.  For example, 0 means start with the first matching row, and 10 means start with the 11th matching row.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"description":{"content":"<p>Field to sort by.  Currently only appName</p>\n","type":"text/plain"},"key":"sort","value":"appName"},{"description":{"content":"<p>ASC for ascending and DESC for descending</p>\n","type":"text/plain"},"key":"direction","value":"DESC"}],"variable":[]}},"response":[{"id":"69843174-8352-4195-98d8-6a6c87e7e5ee","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/apps?appName=like:pass&first=10&offset=0&sort=appName&direction=DESC","protocol":"https","host":["ws","appbind","com"],"path":["v1","reseller","apps"],"query":[{"key":"appName","value":"like:pass"},{"key":"first","value":"10"},{"key":"offset","value":"0"},{"key":"sort","value":"appName"},{"key":"direction","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalCount\": 3,\n    \"apps\": [\n        {\n            \"appId\": \"88485f1c-2419-11ed-9b1a-7bf619f8d8bd\",\n            \"appStatus\": 0,\n            \"appName\": \"Overpass\",\n            \"subscriptionPlan\": \"\",\n            \"appUrl\": \"https://app.overpass.com/\",\n            \"signupUrl\": \"https://www.overpass.com/\",\n            \"appLogo\": \"/logos/overpass-120.png\",\n            \"appMarkupPercentage\": 0,\n            \"wholesaleDiscountPercentage\": 0,\n            \"paymentOrder\": 0\n        },\n        {\n            \"appId\": \"5c3b42b8-28a2-11ec-819c-f74b5ce02362\",\n            \"appStatus\": 0,\n            \"appName\": \"LaunchPass\",\n            \"subscriptionPlan\": \"\",\n            \"appUrl\": \"https://launchpass.com/\",\n            \"signupUrl\": \"https://launchpass.com/\",\n            \"appLogo\": \"/logos/launchpass-206.png\",\n            \"appMarkupPercentage\": 0,\n            \"wholesaleDiscountPercentage\": 0,\n            \"paymentOrder\": 0\n        },\n        {\n            \"appId\": \"d03e21ae-9928-11ea-8632-57c5f956dece\",\n            \"appStatus\": 0,\n            \"appName\": \"1Password\",\n            \"subscriptionPlan\": \"\",\n            \"appUrl\": \"https://my.1password.com/signin\",\n            \"signupUrl\": \"https://start.1password.com/sign-up/business\",\n            \"appLogo\": \"/logos/1Password-128.png\",\n            \"appMarkupPercentage\": 0,\n            \"wholesaleDiscountPercentage\": 0,\n            \"paymentOrder\": 0\n        }\n    ]\n}"}],"_postman_id":"58d17199-0aab-49a5-b3d1-eb9fd75bdfd9"},{"name":"get app","id":"c6f1b953-e1d0-4521-818a-8ea3983d96a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/apps/:appId","description":"<p>Retrieve a single app entry.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["apps",":appId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"9c04ed59-30dc-49f8-b0f4-a38d79b7e610","description":{"content":"<p>(Required) Unique appId assigned by AppBind when the app is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"appId"}]}},"response":[{"id":"9523b1ff-40d0-41f5-a9d9-3fd516c20dd8","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/apps/:appId","host":["https://ws.appbind.com/v1/reseller"],"path":["apps",":appId"],"variable":[{"key":"appId","value":"d03e21ae-9928-11ea-8632-57c5f956dece","description":"(Required) Unique appId assigned by AppBind when the app is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"appId\": \"d03e21ae-9928-11ea-8632-57c5f956dece\",\n    \"appStatus\": 0,\n    \"appName\": \"1Password\",\n    \"subscriptionPlan\": \"\",\n    \"appUrl\": \"https://my.1password.com/signin\",\n    \"signupUrl\": \"https://start.1password.com/sign-up/business\",\n    \"appLogo\": \"/logos/1Password-128.png\",\n    \"appMarkupPercentage\": 0,\n    \"wholesaleDiscountPercentage\": 0,\n    \"paymentOrder\": 0\n}"}],"_postman_id":"c6f1b953-e1d0-4521-818a-8ea3983d96a6"}],"id":"f90019b0-e8f1-4ccf-9e81-5c9930f5ceae","description":"<h3 id=\"apps-resource\">Apps resource</h3>\n<p>The apps resource represents apps in the AppBind default catalog. Over time, the AppBind team adds apps to the AppBind system. These are the apps that are available to select by default when creating subscriptions in the AppBind UI. When you add a subscription to an app for the first time, a copy of that app entry (with settings that you specify as defaults) is added to your own catalog. Subsequently, you can choose the app from your catalog entry.</p>\n<p>In the API, when you create a subscription order to setup subscriptions for a customer, you'll need to know the id of each subscription in your catalog that you're adding. To get the subscription id from your catalog, you'd use the <strong>catalogapps</strong> resource. However, if you're adding an app that isn't in your catalog yet, you can look up other apps that are in the master AppBind catalog; that's what this resource is for.</p>\n<p>Key attributes on this resource are:</p>\n<p><strong>appId</strong>: A unique identifier assigned by AppBind when the app is created.</p>\n<p><strong>appStatus</strong>: 0 (the default) means the app is active. 1 means inactive.</p>\n<p><strong>appName</strong>: Name of the app as seen on subscriptions.</p>\n<p><strong>subscriptionPlan</strong>: Subscription plan / sku for the app. This may be used if the app has multiple app subscription plans (e.g. \"Starter\", \"Pro\", \"Enterprise\").</p>\n<p><strong>appUrl</strong>: Website for the application. This will typically be the login page for the app.</p>\n<p><strong>signupUrl</strong>: Website for the application signup.</p>\n<p><strong>appLogo</strong>: Logo for the application. In the UI, this is usually displayed anywhere the subscription is present.</p>\n<p><strong>appMarkupPercentage</strong>: Markups are usually not set on AppBind master catalog apps. See the <strong>catalogapp</strong> resource for a discussion of app markups and discounts.</p>\n<p><strong>wholesaleDiscountPercentage</strong>: Wholesale discount. These are usually not set on AppBind master catalog apps. See the <strong>catalogapp</strong> resource for more information about wholesale discounts.</p>\n<p><strong>paymentOrder</strong>: In most scenarios, you'll be billing subscriptions to your customer through AppBind. However, in some scenarios, you'll be expensing subscriptions to yourself (and presumably billing your customer separately). The paymentOrder attribute indicates who will be paying for a subscription. AppBind master catalog apps are usually set to 0 (customer pay); see the <strong>catalogapp</strong> resource for more information about payment order.</p>\n","_postman_id":"f90019b0-e8f1-4ccf-9e81-5c9930f5ceae","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"catalogapps","item":[{"name":"{catalog App Id}","item":[{"name":"get catalog app","id":"4cbead90-72b8-4c67-9788-eec2fe80b804","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/catalogapps/:catalogAppId","description":"<p>Get a catalog app.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["catalogapps",":catalogAppId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"2e4236c7-2048-4ab7-a3c2-86b0398fae89","description":{"content":"<p>(Required) Unique catalogAppId assigned by AppBind when the app is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"catalogAppId"}]}},"response":[{"id":"280e0d21-ef05-42f4-8d57-35e8176111ed","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/catalogapps/:catalogAppId","host":["https://ws.appbind.com/v1/reseller"],"path":["catalogapps",":catalogAppId"],"variable":[{"key":"catalogAppId","value":"218fdd46-3b60-11ed-87d7-df9d2bd5a7a6","description":"(Required) Unique catalogAppId assigned by AppBind when the app is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"catalogAppId\": \"218fdd46-3b60-11ed-87d7-df9d2bd5a7a6\",\n    \"appId\": null,\n    \"appStatus\": 0,\n    \"appName\": \"My Saas App\",\n    \"subscriptionPlan\": \"\",\n    \"appUrl\": null,\n    \"signupUrl\": null,\n    \"appLogo\": null,\n    \"appMarkupPercentage\": 6,\n    \"wholesaleDiscountPercentage\": 0,\n    \"paymentOrder\": 0,\n    \"passPaymentFees\": 1,\n    \"showDomain\": 0,\n    \"showUsername\": 0\n}"}],"_postman_id":"4cbead90-72b8-4c67-9788-eec2fe80b804"},{"name":"update catalog app","id":"ec626edb-fadd-43b7-992f-0d5b487340b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"appStatus\": 0,\n  \"appMarkupPercentage\": 6,\n  \"wholesaleDiscountPercentage\": 0,\n  \"paymentOrder\": 0,\n  \"passPaymentFees\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/catalogapps/:catalogAppId","description":"<p>Update a catalog app. Only specify those attributes you wish to change.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["catalogapps",":catalogAppId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"78c8eb0c-67f5-44e4-ae26-a879c3e7fcba","description":{"content":"<p>(Required) Unique catalogAppId assigned by AppBind when the app is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"catalogAppId"}]}},"response":[{"id":"6ffdae4f-15f4-4915-a51e-f0e4df5009ec","name":"response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"appStatus\": 0,\n    \"appName\": \"My custom app\",\n    \"subscriptionLevel\": \"\",\n    \"appUrl\": \"https://www.google.com\",\n    \"signupUrl\": \"http://www.yahoo.com\",\n    \"appLogo\": \"/logos/1Password-128.png\",\n    \"appMarkupPercentage\": \"8.00\",\n    \"paymentOrder\": 0,\n    \"wholesaleDiscountPercentage\": \"0.00\",\n    \"passPaymentFees\": 1,\n    \"showDomain\": 0,\n    \"showUsername\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ws.appbind.com/v1/reseller/catalogapps/:catalogAppId","host":["https://ws.appbind.com/v1/reseller"],"path":["catalogapps",":catalogAppId"],"variable":[{"key":"catalogAppId","value":"218fdd46-3b60-11ed-87d7-df9d2bd5a7a6","description":"(Required) Unique catalogAppId assigned by AppBind when the app is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"catalogAppId\": \"218fdd46-3b60-11ed-87d7-df9d2bd5a7a6\"\n}"}],"_postman_id":"ec626edb-fadd-43b7-992f-0d5b487340b6"}],"id":"e2025e64-af7f-4d27-9cf3-fc9e1e37e74d","description":"<p>You can get and update a catalog app by id.</p>\n","_postman_id":"e2025e64-af7f-4d27-9cf3-fc9e1e37e74d","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"get catalog apps","id":"5e877767-ed58-4253-ade0-772733b42458","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/catalogapps?appName=like:Pass&first=10&offset=0&sort=appName&direction=DESC","description":"<p>Get apps in your catalog using filtering and sorting</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["catalogapps"],"host":["https://ws.appbind.com/v1/reseller"],"query":[{"description":{"content":"<p>Either a unique app name such as AWS or a wildcard prefaced with the keyword like:word</p>\n","type":"text/plain"},"key":"appName","value":"like:Pass"},{"description":{"content":"<p>Max number of records to return</p>\n","type":"text/plain"},"key":"first","value":"10"},{"description":{"content":"<p>Number of rows to offset.  For example, 0 means start with the first matching row, and 10 means start with the 11th matching row.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"description":{"content":"<p>Field to sort by.  Currently only appName</p>\n","type":"text/plain"},"key":"sort","value":"appName"},{"description":{"content":"<p>ASC for ascending and DESC for descending</p>\n","type":"text/plain"},"key":"direction","value":"DESC"}],"variable":[]}},"response":[{"id":"15f0ca0c-ddca-4382-895a-08937e61631f","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/catalogapps?appName=like:Pass&first=10&offset=0&sort=appName&direction=DESC","host":["https://ws.appbind.com/v1/reseller"],"path":["catalogapps"],"query":[{"key":"appName","value":"like:Pass"},{"key":"first","value":"10"},{"key":"offset","value":"0"},{"key":"sort","value":"appName"},{"key":"direction","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalCount\": 1,\n    \"apps\": [\n        {\n            \"catalogAppId\": \"5546d3c2-08ef-11ed-a980-931d5c4a9c64\",\n            \"appId\": \"d03e21ae-9928-11ea-8632-57c5f956dece\",\n            \"appStatus\": 0,\n            \"appName\": \"1Password\",\n            \"subscriptionPlan\": \"\",\n            \"appUrl\": \"https://my.1password.com/signin\",\n            \"signupUrl\": \"https://start.1password.com/sign-up/business\",\n            \"appLogo\": \"/logos/1Password-128.png\",\n            \"appMarkupPercentage\": 10.2,\n            \"wholesaleDiscountPercentage\": 11.5,\n            \"paymentOrder\": 1,\n            \"passPaymentFees\": 1\n        }\n    ]\n}"}],"_postman_id":"5e877767-ed58-4253-ade0-772733b42458"},{"name":"create catalog app","id":"659de1fc-ed4f-49ad-bdd8-ebd42de7f781","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"appStatus\": 0,\n  \"appName\": \"My Saas App\",\n  \"subscriptionPlan\": \"\",\n  \"appMarkupPercentage\": 5,\n  \"wholesaleDiscountPercentage\": 0,\n  \"paymentOrder\": 1,\n  \"passPaymentFees\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/catalogapps","description":"<p>Create a new app in your app catalog. This can either be a template version of an app from AppBind's default catalog, or a new custom app. If this is a template version of an existing app, you'll specify the appId, and set any additional attributes (e.g. markup) that govern how you create subscriptions for your customers. If this is a custom app, this means that you're adding an app to your catalog that doesn't exist in AppBind's default catalog. In this case, you're creating an app from scratch, and need to provide all required fields.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["catalogapps"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[]}},"response":[{"id":"9cd7a02d-702d-4eef-964f-009e4168e10b","name":"response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"appStatus\": 0,\n  \"appName\": \"Some app\",\n  \"subscriptionPlan\": \"\",\n  \"appMarkupPercentage\": 5,\n  \"wholesaleDiscountPercentage\": 0,\n  \"paymentOrder\": 1,\n  \"passPaymentFees\": 0,\n  \"appUrl\": \"https://someappurl.com/login\",\n  \"signupUrl\": \"https://someappurl.com/signup\",\n  \"appLogo\": \"\",\n  \"showDomain\": 0,\n  \"showUsername\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/catalogapps"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"catalogAppId\": \"e4d942be-3b66-11ed-a193-b3b4924343b4\"\n}"}],"_postman_id":"659de1fc-ed4f-49ad-bdd8-ebd42de7f781"}],"id":"76b34228-d618-4233-ab99-f5b12fc40eb3","description":"<h3 id=\"catalogapps-resource\">CatalogApps resource</h3>\n<p>The catalogapps resource represents apps in your catalog. When you (a reseller) create a subscription in the AppBind UI, a catalog app is created. If you chose an app from AppBind's default catalog, you'll have a copy of that app in your catalog. This copy also stores choices you made (e.g. markup %) as defaults for future purchases. If you created a \"custom\" app (an app that isn't in AppBind's default catalog), that app exists just in your catalog (along with your default choices).</p>\n<p>You can use the AppBind API to create and manage your catalog apps.</p>\n<p>A catalog app is created the first time an app is purchased. It can also be created manually. The purpose of the catalog is so that common settings can be established and defaulted for subsequent purchases.</p>\n<p>Key related concepts:</p>\n<p><strong>catalogAppId</strong>: A unique identifier assigned by AppBind when the app is created.</p>\n<p><strong>appStatus</strong>: 0 (default) means the app is active. 1 means inactive.</p>\n<p><strong>appName</strong>: Name of the app as seen on subscriptions.</p>\n<p><strong>subscriptionPlan</strong>: Subscription plan of the app.</p>\n<p><strong>appUrl</strong>: Website for the application.</p>\n<p><strong>signupUrl</strong>: Website for the application signup. appLogo: Logo for the application. Displayed anywhere the subscription is present.</p>\n<p><strong>appMarkupPercentage</strong>: Percent markup. Charges incurred with increased (positive markup) or decreased (negative markup) to the customers account.</p>\n<p><strong>wholesaleDiscountPercentage</strong>: Wholesale (partner) discount. Some software vendors sell partners discounted subscriptions. You in turn then mark the subscription up and sell it to your customers. It’s important to show only the retail price for the subscription to your customer, as any discounts should come from you. When you enter a discount percentage, we'll use this percentage to calculate the retail price, which is what will be billed to your customer.</p>\n<p><strong>paymentOrder</strong>: In most scenarios, you'll be billing subscriptions to your customer through AppBind. However, in some scenarios, you'll be expensing subscriptions to yourself (and presumably billing your customer separately). The paymentOrder attribute indicates who will be paying for a subscription. 0 - the customer is billed for subscription charges. 1 - the customer is billed for subscription charges, but if the customer payment source fails, your payment source will be charged (reseller is backing up the customer). 2 - you are billed for subscription charges.</p>\n<p><strong>passPaymentFees</strong>: 0 - do not pass payment fees (e.g. credit card fees) to the customer. 1 - pass payment fees to the customer.</p>\n<p><strong>showDomain</strong>: Available for custom apps only. 1 means the application requires a domain field when logging in or signing up.</p>\n<p><strong>showUsername</strong>: Available for custom apps only. 1 means the application requires a user name field when logging in or signing up.</p>\n","_postman_id":"76b34228-d618-4233-ab99-f5b12fc40eb3","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"catalogservices","item":[{"name":"{catalog Service Id}","item":[{"name":"get catalog service","id":"3ee0d454-5bf8-4c3a-829d-92ce3ffd9302","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/catalogservices/:catalogServiceId","description":"<p>Get a catalog service.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["catalogservices",":catalogServiceId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"fe033905-aa1c-4f06-89a9-5f1dced0cfd8","description":{"content":"<p>(Required) Unique serviceId assigned by AppBind when the service is created.</p>\n","type":"text/plain"},"type":"any","value":"6ec10220-18bf-11ed-b4f1-07e2a72d0e6d","key":"catalogServiceId"}]}},"response":[{"id":"c3632606-fdea-413e-b491-bdf9ac0fc6ff","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/catalogservices/:catalogServiceId","host":["https://ws.appbind.com/v1/reseller"],"path":["catalogservices",":catalogServiceId"],"variable":[{"key":"catalogServiceId","value":"6ec10220-18bf-11ed-b4f1-07e2a72d0e6d","description":"(Required) Unique serviceId assigned by AppBind when the service is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"catalogServiceId\": \"6ec10220-18bf-11ed-b4f1-07e2a72d0e6d\",\n    \"serviceName\": \"Monitoring\",\n    \"serviceStatus\": 0,\n    \"serviceAmount\": 14.25,\n    \"billingFrequency\": 1,\n    \"passPaymentFees\": 0\n}"}],"_postman_id":"3ee0d454-5bf8-4c3a-829d-92ce3ffd9302"},{"name":"update catalog service","id":"60d00251-8b61-4f6b-892c-3b7512858694","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"serviceName\": \"Monitor Systems\",\n  \"serviceStatus\": 0,\n  \"serviceAmount\": 210.00,\n  \"billingFrequency\": 1,\n  \"passPaymentFees\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/catalogservices/:catalogServiceId","description":"<p>Update a catalog service. Only specify those attributes you wish to change.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["catalogservices",":catalogServiceId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"ad5eaa3e-3557-481c-955b-8d1492dfa46c","description":{"content":"<p>(Required) Unique serviceId assigned by AppBind when the service is created.</p>\n","type":"text/plain"},"type":"any","value":"6ec10220-18bf-11ed-b4f1-07e2a72d0e6d","key":"catalogServiceId"}]}},"response":[{"id":"0b857ecb-c5aa-4e7e-b752-6ac5a464840f","name":"response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n\"serviceName\": \"Monitor Systems\",\n  \"serviceStatus\": 0,\n  \"serviceAmount\": 210.00,\n  \"billingFrequency\": 1,\n  \"passPaymentFees\": 0\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ws.appbind.com/v1/reseller/catalogservices/:catalogServiceId","host":["https://ws.appbind.com/v1/reseller"],"path":["catalogservices",":catalogServiceId"],"variable":[{"key":"catalogServiceId","value":"6ec10220-18bf-11ed-b4f1-07e2a72d0e6d","description":"(Required) Unique serviceId assigned by AppBind when the service is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"catalogServiceId\": \"9629bab0-3b5f-11ed-98f1-6b208dc063d6\"\n}"}],"_postman_id":"60d00251-8b61-4f6b-892c-3b7512858694"}],"id":"443ce17e-a225-491c-93da-ce066898f697","description":"<p>You can get and update a catalog service by id.</p>\n","_postman_id":"443ce17e-a225-491c-93da-ce066898f697","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"get catalog services","id":"1f44264c-aa7e-43ae-8410-903425d78373","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/catalogservices?serviceName=like:mon&first=10&offset=0&sort=serviceName&direction=DESC","description":"<p>Get services in your catalog using filtering and sorting.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["catalogservices"],"host":["https://ws.appbind.com/v1/reseller"],"query":[{"description":{"content":"<p>Either a unique service name such as Setup or a wildcard prefaced with the keyword like:set</p>\n","type":"text/plain"},"key":"serviceName","value":"like:mon"},{"description":{"content":"<p>Max number of records to return</p>\n","type":"text/plain"},"key":"first","value":"10"},{"description":{"content":"<p>Number of rows to offset.  For example, 0 means start with the first matching row, and 10 means start with the 11th matching row.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"description":{"content":"<p>Field to sort by.  Currently only serviceName</p>\n","type":"text/plain"},"key":"sort","value":"serviceName"},{"description":{"content":"<p>ASC for ascending and DESC for descending</p>\n","type":"text/plain"},"key":"direction","value":"DESC"}],"variable":[]}},"response":[{"id":"85354213-300b-4c93-8097-08c0ff853b5b","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/catalogservices?serviceName=like:mon&first=10&offset=0&sort=serviceName&direction=DESC","host":["https://ws.appbind.com/v1/reseller"],"path":["catalogservices"],"query":[{"key":"serviceName","value":"like:mon"},{"key":"first","value":"10"},{"key":"offset","value":"0"},{"key":"sort","value":"serviceName"},{"key":"direction","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalCount\": 2,\n    \"services\": [\n        {\n            \"catalogServiceId\": \"9629bab0-3b5f-11ed-98f1-6b208dc063d6\",\n            \"serviceName\": \"Monitor Systems\",\n            \"serviceStatus\": 0,\n            \"serviceAmount\": 210,\n            \"billingFrequency\": 1,\n            \"passPaymentFees\": 0\n        },\n        {\n            \"catalogServiceId\": \"6ec10220-18bf-11ed-b4f1-07e2a72d0e6d\",\n            \"serviceName\": \"Monitoring\",\n            \"serviceStatus\": 0,\n            \"serviceAmount\": 14.25,\n            \"billingFrequency\": 1,\n            \"passPaymentFees\": 0\n        }\n    ]\n}"}],"_postman_id":"1f44264c-aa7e-43ae-8410-903425d78373"},{"name":"create catalog service","id":"2be3296f-8366-4a28-89c5-b5bd748d9ddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"serviceName\": \"Monitor Systems\",\n  \"serviceStatus\": 0,\n  \"serviceAmount\": 200.00,\n  \"billingFrequency\": 1,\n  \"passPaymentFees\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/catalogservices","description":"<p>Create a new service in the catalog.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["catalogservices"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[]}},"response":[{"id":"c45c4fa3-7c3f-40c7-83ee-c27d19dca03d","name":"response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"serviceName\": \"Monitor Systems\",\n  \"serviceStatus\": 0,\n  \"serviceAmount\": 200.00,\n  \"billingFrequency\": 1,\n  \"passPaymentFees\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/catalogservices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"catalogServiceId\": \"20c2441a-3b67-11ed-8317-23e9ee00917d\"\n}"}],"_postman_id":"2be3296f-8366-4a28-89c5-b5bd748d9ddb"}],"id":"0c7bf349-417c-463e-ae4d-c9c9ff397727","description":"<h3 id=\"catalogservices-resource\">CatalogServices resource</h3>\n<p>A catalog service is created the first time a services is added to a subscription order. It can also be created manually. The purpose of the catalog is so that common settings can be established and defaulted for subsequent use.</p>\n<p>Key related concepts:</p>\n<p><strong>catalogServiceId</strong>: A unique identifier assigned by AppBind when the service is created.</p>\n<p><strong>appStatus</strong>: 0 (the default) means the service will be active. 1 means inactive.</p>\n<p><strong>serviceName</strong>: Name of the service as seen on subscription order.</p>\n<p><strong>billingFrequency</strong>: 0 means billing one time only. 1 means bill monthly. This happens on the customers billing day of the month.</p>\n<p><strong>serviceAmount</strong>: Amount for this service.</p>\n<p><strong>passPaymentFees</strong>: 0 means do not pass onto customer. 1 means pass.</p>\n","_postman_id":"0c7bf349-417c-463e-ae4d-c9c9ff397727","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"customers","item":[{"name":"{customer Id}","item":[{"name":"subscriptionorders","item":[{"name":"get subscription orders","id":"917c0032-0700-4301-a017-5a30e82d417a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptionorders","description":"<p>Get all subscription orders for a customer.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","subscriptionorders"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"dcb479ce-43c7-4886-9ef3-e254f9076ab3","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"}]}},"response":[{"id":"224c4295-ec35-4f5e-95ad-44efeb2989e8","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptionorders","host":["https://ws.appbind.com/v1/reseller"],"path":["customers",":customerId","subscriptionorders"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n    \"customerName\": \"My Customer\",\n    \"customerNum\": \"1234\",\n    \"subscriptionOrders\": [\n        {\n            \"orderId\": \"0df7df70-3b58-11ed-8b20-0b7081e0567f\",\n            \"orderNumber\": \"SO-000475\",\n            \"orderStatus\": 2,\n            \"sentTime\": \"2022-09-23T15:54:09.353\",\n            \"acceptedTime\": \"2022-09-23T15:54:49.580708\",\n            \"inactiveTime\": null,\n            \"previousOrder\": null,\n            \"replacingOrder\": null,\n            \"subscriptions\": [\n                {\n                    \"orderLineId\": \"0df81b8e-3b58-11ed-8b21-5b64c63c9b8e\",\n                    \"subscriptionId\": \"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa\",\n                    \"markupPercentage\": 10.2,\n                    \"wholesaleDiscountPercentage\": 11.5,\n                    \"paymentOrder\": 1,\n                    \"passPaymentFees\": 1,\n                    \"catalogApp\": {\n                        \"catalogAppId\": \"5546d3c2-08ef-11ed-a980-931d5c4a9c64\",\n                        \"appName\": \"1Password\",\n                        \"subscriptionPlan\": \"\",\n                        \"appStatus\": 0\n                    }\n                }\n            ],\n            \"services\": [\n                {\n                    \"orderLineId\": \"0df86864-3b58-11ed-8b22-0386cb6936f3\",\n                    \"serviceId\": \"f5514114-3b57-11ed-bfd3-27cd74cb0b44\",\n                    \"serviceAmount\": 200,\n                    \"billingFrequency\": 1,\n                    \"passPaymentFees\": 0,\n                    \"catalogService\": {\n                        \"catalogServiceId\": \"0840b15a-0dd2-11ed-91f1-ef1890698d3b\",\n                        \"serviceName\": \"Maintenance\",\n                        \"serviceStatus\": 0,\n                        \"serviceAmount\": 200,\n                        \"billingFrequency\": 1\n                    }\n                }\n            ],\n            \"budget\": {\n                \"maxMonthlyBudget\": 12000,\n                \"payFromBalance\": 1,\n                \"useBudgets\": 2,\n                \"autoTopupActive\": 1,\n                \"initialBalanceAmount\": 300,\n                \"autoTopupAmount\": 200,\n                \"autoTopupThreshold\": 50,\n                \"preApproveSubs\": 0,\n                \"billingDayOfMonth\": 3\n            }\n        }\n    ]\n}"}],"_postman_id":"917c0032-0700-4301-a017-5a30e82d417a"},{"name":"get subscription order","id":"507e13c6-b45b-4422-bb76-0486361ed211","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptionorders/:orderNum","description":"<p>Get a single subscription order.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","subscriptionorders",":orderNum"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"3832bcf3-d30a-4807-b878-821dffa2171a","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"},{"id":"5beb73f5-3fc4-435d-9e3c-a9a85f74ea30","description":{"content":"<p>(Required) This can either be a unique subscription order number or the word pending to fetch the subscription order in progress.</p>\n","type":"text/plain"},"type":"any","value":"","key":"orderNum"}]}},"response":[{"id":"b8bbd129-f268-401b-89d9-22bf269cd151","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptionorders/:orderNum","host":["https://ws.appbind.com/v1/reseller"],"path":["customers",":customerId","subscriptionorders",":orderNum"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."},{"key":"orderNum","value":"SO-000475","description":"(Required) This can either be a unique subscription order number or the word pending to fetch the subscription order in progress."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n    \"customerName\": \"My Customer\",\n    \"customerNum\": \"1234\",\n    \"subscriptionOrder\": {\n        \"orderId\": \"0df7df70-3b58-11ed-8b20-0b7081e0567f\",\n        \"orderNumber\": \"SO-000475\",\n        \"orderStatus\": 2,\n        \"sentTime\": \"2022-09-23T15:54:09.353\",\n        \"acceptedTime\": \"2022-09-23T15:54:49.580708\",\n        \"inactiveTime\": null,\n        \"previousOrder\": null,\n        \"replacingOrder\": null,\n        \"subscriptions\": [\n            {\n                \"orderLineId\": \"0df81b8e-3b58-11ed-8b21-5b64c63c9b8e\",\n                \"subscriptionId\": \"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa\",\n                \"markupPercentage\": 10.2,\n                \"wholesaleDiscountPercentage\": 11.5,\n                \"paymentOrder\": 1,\n                \"passPaymentFees\": 1,\n                \"catalogApp\": {\n                    \"catalogAppId\": \"5546d3c2-08ef-11ed-a980-931d5c4a9c64\",\n                    \"appName\": \"1Password\",\n                    \"subscriptionPlan\": \"\",\n                    \"appStatus\": 0\n                }\n            }\n        ],\n        \"services\": [\n            {\n                \"orderLineId\": \"0df86864-3b58-11ed-8b22-0386cb6936f3\",\n                \"serviceId\": \"f5514114-3b57-11ed-bfd3-27cd74cb0b44\",\n                \"serviceAmount\": 200,\n                \"billingFrequency\": 1,\n                \"passPaymentFees\": 0,\n                \"catalogService\": {\n                    \"catalogServiceId\": \"0840b15a-0dd2-11ed-91f1-ef1890698d3b\",\n                    \"serviceName\": \"Maintenance\",\n                    \"serviceStatus\": 0,\n                    \"serviceAmount\": 200,\n                    \"billingFrequency\": 1\n                }\n            }\n        ],\n        \"budget\": {\n            \"maxMonthlyBudget\": 12000,\n            \"payFromBalance\": 1,\n            \"useBudgets\": 2,\n            \"autoTopupActive\": 1,\n            \"initialBalanceAmount\": 300,\n            \"autoTopupAmount\": 200,\n            \"autoTopupThreshold\": 50,\n            \"preApproveSubs\": 0,\n            \"billingDayOfMonth\": 3\n        }\n    }\n}"}],"_postman_id":"507e13c6-b45b-4422-bb76-0486361ed211"}],"id":"2cb23d87-de14-4c0b-871d-06edef0e0c8f","description":"<p>Subscription orders are used to add subscriptions, services or to increase project budget. AppBind creates a subscription order history every time a customer accepts the order. This then documents the agreement between both parties.</p>\n","_postman_id":"2cb23d87-de14-4c0b-871d-06edef0e0c8f","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"services","item":[{"name":"get services","id":"0dbf36cd-ee47-4aea-b3b2-f6fa25931586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/services","description":"<p>Get all services for a customer.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","services"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"236a140f-5823-4fe8-8202-8c782e2b64ba","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"}]}},"response":[{"id":"2b1c3394-95c3-4fc7-b901-2d04c1789bfd","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/customers/:customerId/services","host":["https://ws.appbind.com/v1/reseller"],"path":["customers",":customerId","services"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n    \"customerName\": \"My Customer\",\n    \"customerNum\": \"1234\",\n    \"services\": [\n        {\n            \"serviceId\": \"f5514114-3b57-11ed-bfd3-27cd74cb0b44\",\n            \"serviceStatus\": 0,\n            \"serviceAmount\": 200,\n            \"billingFrequency\": 1,\n            \"passPaymentFees\": 0,\n            \"catalogService\": {\n                \"catalogServiceId\": \"0840b15a-0dd2-11ed-91f1-ef1890698d3b\",\n                \"serviceName\": \"Maintenance\",\n                \"serviceStatus\": 0,\n                \"serviceAmount\": 200,\n                \"billingFrequency\": 1,\n                \"passPaymentFees\": 0\n            }\n        }\n    ]\n}"}],"_postman_id":"0dbf36cd-ee47-4aea-b3b2-f6fa25931586"},{"name":"get service","id":"fef66902-c609-40d9-9207-cfbf1b8d503e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/services/:catalogServiceId","description":"<p>Get a service for a customer.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","services",":catalogServiceId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"0d472e07-c3f5-42f4-82d0-3c2ccabb40cd","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"},{"id":"483f9a07-5e3a-4f42-b478-f8f122514a96","description":{"content":"<p>(Required) Unique service Id assigned by AppBind when service is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"catalogServiceId"}]}},"response":[{"id":"fd13b241-0632-4979-bd1b-94575876f711","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/customers/:customerId/services/:catalogServiceId","host":["https://ws.appbind.com/v1/reseller"],"path":["customers",":customerId","services",":catalogServiceId"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."},{"key":"catalogServiceId","value":"f5514114-3b57-11ed-bfd3-27cd74cb0b44","description":"(Required) Unique service Id assigned by AppBind when service is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n    \"customerName\": \"My Customer\",\n    \"customerNum\": \"1234\",\n    \"service\": {\n        \"serviceId\": \"f5514114-3b57-11ed-bfd3-27cd74cb0b44\",\n        \"serviceStatus\": 0,\n        \"serviceAmount\": 200,\n        \"billingFrequency\": 1,\n        \"passPaymentFees\": 0,\n        \"catalogService\": {\n            \"catalogServiceId\": \"0840b15a-0dd2-11ed-91f1-ef1890698d3b\",\n            \"serviceName\": \"Maintenance\",\n            \"serviceStatus\": 0,\n            \"serviceAmount\": 200,\n            \"billingFrequency\": 1,\n            \"passPaymentFees\": 0\n        }\n    }\n}"}],"_postman_id":"fef66902-c609-40d9-9207-cfbf1b8d503e"}],"id":"a5b6fd6f-fcd4-40bb-b4ab-f85349127016","description":"<p>This set of APIs allow the complete set of services to be fetched regardless of which subscription order they first appeared.</p>\n","_postman_id":"a5b6fd6f-fcd4-40bb-b4ab-f85349127016","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"subscriptions","item":[{"name":"{subscription Id}","item":[{"name":"emails","item":[{"name":"get emails","id":"1cf1dd0b-e4de-4737-82d5-70695a868fe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptions/:subscriptionId/emails","description":"<p>Get forwarding emails for a subscription.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","subscriptions",":subscriptionId","emails"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"8fbcb0a6-b891-4ece-8a3a-4b9775c0aac8","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"5538766c-3b56-11ed-816b-132af5073dc5","key":"customerId"},{"id":"e10c180b-ec56-4df3-869b-615260253e72","description":{"content":"<p>(Required) Unique subscription Id assigned by AppBind when subscription is created.</p>\n","type":"text/plain"},"type":"any","value":"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa","key":"subscriptionId"}]}},"response":[{"id":"d8c0a9b0-6b01-4acf-b4be-1beb6224a7cb","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptions/:subscriptionId/emails","host":["https://ws.appbind.com/v1/reseller"],"path":["customers",":customerId","subscriptions",":subscriptionId","emails"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."},{"key":"subscriptionId","value":"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa","description":"(Required) Unique subscription Id assigned by AppBind when subscription is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"subscriptionId\": \"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa\",\n    \"subscriptionStatus\": 0,\n    \"sharedEmail\": \"MyCustomer.1Password@pmail.appbind.com\",\n    \"users\": [\n        {\n            \"accountId\": \"cfeae74c-0112-11ed-b392-77bde6ac6456\",\n            \"email\": \"randy@reseller.com\",\n            \"firstName\": \"Randy\",\n            \"lastName\": \"Reseller\",\n            \"selected\": 1\n        },\n        {\n            \"accountId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n            \"email\": \"joe@customer.com\",\n            \"firstName\": \"Joe\",\n            \"lastName\": \"Smith\",\n            \"selected\": 0\n        }\n    ]\n}"}],"_postman_id":"1cf1dd0b-e4de-4737-82d5-70695a868fe7"},{"name":"update emails","id":"ec9ce502-b21a-4ade-9651-5a55b505ce73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"accountId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n        \"email\": \"joe@customer.com\",\n        \"firstName\": \"Joe\",\n        \"lastName\": \"Smith\",\n        \"selected\": 1\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptions/:subscriptionId/emails","description":"<p>Update forwarding emails for a subscription.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","subscriptions",":subscriptionId","emails"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"b01f4996-d974-4e18-9ecd-d0d5f1ef0152","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"5538766c-3b56-11ed-816b-132af5073dc5","key":"customerId"},{"id":"9dd44858-cbc1-41fa-889c-fbb6675c100d","description":{"content":"<p>(Required) Unique subscription Id assigned by AppBind when subscription is created.</p>\n","type":"text/plain"},"type":"any","value":"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa","key":"subscriptionId"}]}},"response":[{"id":"0ca51ba2-408e-45f6-b5ff-a19c876f857c","name":"response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"[\n    {\n        \"accountId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n        \"email\": \"joe@customer.com\",\n        \"firstName\": \"Joe\",\n        \"lastName\": \"Smith\",\n        \"selected\": 1\n    }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptions/:subscriptionId/emails","host":["https://ws.appbind.com/v1/reseller"],"path":["customers",":customerId","subscriptions",":subscriptionId","emails"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."},{"key":"subscriptionId","value":"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa","description":"(Required) Unique subscription Id assigned by AppBind when subscription is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"subscriptionId\": \"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa\"\n}"}],"_postman_id":"ec9ce502-b21a-4ade-9651-5a55b505ce73"}],"id":"649ae084-b174-4be2-a7b4-f23e81e759a5","description":"<p>This set of APIs allow the forwarding email selections to be retrieved and updated.</p>\n","_postman_id":"649ae084-b174-4be2-a7b4-f23e81e759a5","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"get subscription","id":"d6d75ffd-3e18-43f0-a747-3c788d4825ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptions/:subscriptionId","description":"<p>Get a subscription.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","subscriptions",":subscriptionId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"8dd5f575-f189-46a2-a81f-a15387f63be9","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"},{"id":"cbc57472-a556-4bf0-a7df-ada97794c386","description":{"content":"<p>(Required) Unique subscription Id assigned by AppBind when subscription is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"subscriptionId"}]}},"response":[{"id":"be3938bc-7bbf-4e24-98a5-b4aa66d87404","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptions/:subscriptionId","host":["https://ws.appbind.com/v1/reseller"],"path":["customers",":customerId","subscriptions",":subscriptionId"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."},{"key":"subscriptionId","value":"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa","description":"(Required) Unique subscription Id assigned by AppBind when subscription is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n    \"customerName\": \"My Customer\",\n    \"customerNum\": \"1234\",\n    \"subscription\": {\n        \"subscriptionId\": \"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa\",\n        \"subscriptionStatus\": 0,\n        \"markupPercentage\": 10.2,\n        \"wholesaleDiscountPercentage\": 11.5,\n        \"paymentOrder\": 1,\n        \"passPaymentFees\": 1,\n        \"shareCredentials\": 1,\n        \"sharedEmail\": \"MyCustomer.1Password@pmail.appbind.com\",\n        \"catalogApp\": {\n            \"catalogAppId\": \"5546d3c2-08ef-11ed-a980-931d5c4a9c64\",\n            \"appName\": \"1Password\",\n            \"subscriptionPlan\": \"\",\n            \"appStatus\": 0\n        }\n    }\n}"}],"_postman_id":"d6d75ffd-3e18-43f0-a747-3c788d4825ad"},{"name":"update subscription status","id":"6287a743-0889-4ef6-aa1f-42c8214eb231","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"subscriptionStatus\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptions/:subscriptionId","description":"<p>Change the status of a subscription.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","subscriptions",":subscriptionId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"bbac2057-30a4-4150-94ae-b431858f81b6","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"},{"id":"8282e066-e419-4233-85dc-9742798de47f","description":{"content":"<p>(Required) Unique subscription Id assigned by AppBind when subscription is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"subscriptionId"}]}},"response":[{"id":"63496b36-4f1b-4d55-b637-e5381c9b3be9","name":"response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"subscriptionStatus\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptions/:subscriptionId","host":["https://ws.appbind.com/v1/reseller"],"path":["customers",":customerId","subscriptions",":subscriptionId"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."},{"key":"subscriptionId","value":"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa","description":"(Required) Unique subscription Id assigned by AppBind when subscription is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"subscriptionId\": \"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa\"\n}"}],"_postman_id":"6287a743-0889-4ef6-aa1f-42c8214eb231"}],"id":"28b62ffd-7b35-4d8c-93f0-332966b5efe2","description":"<p>You can get and update subscriptions by id, and manage forwarding emails for a subscription.</p>\n","_postman_id":"28b62ffd-7b35-4d8c-93f0-332966b5efe2","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"get subscriptions","id":"47cd8f7b-188b-4871-9bc8-74379b190474","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptions","description":"<p>Get all subscriptions for a customer.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","subscriptions"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"1f991a4e-4b08-40c2-9086-b198ea061146","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"}]}},"response":[{"id":"10fa3185-f812-4bf3-b9c2-27d46e8f2cc3","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptions","host":["https://ws.appbind.com/v1/reseller"],"path":["customers",":customerId","subscriptions"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n    \"customerName\": \"My Customer\",\n    \"customerNum\": \"1234\",\n    \"subscriptions\": [\n        {\n            \"subscriptionId\": \"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa\",\n            \"subscriptionStatus\": 0,\n            \"markupPercentage\": 10.2,\n            \"wholesaleDiscountPercentage\": 11.5,\n            \"paymentOrder\": 1,\n            \"passPaymentFees\": 1,\n            \"shareCredentials\": 1,\n            \"sharedEmail\": \"MyCustomer.1Password@pmail.appbind.com\",\n            \"catalogApp\": {\n                \"catalogAppId\": \"5546d3c2-08ef-11ed-a980-931d5c4a9c64\",\n                \"appName\": \"1Password\",\n                \"subscriptionPlan\": \"\",\n                \"appStatus\": 0\n            }\n        }\n    ]\n}"}],"_postman_id":"47cd8f7b-188b-4871-9bc8-74379b190474"}],"id":"ee9136b9-fa89-4564-8f8c-e2091b5b59b3","description":"<p>This set of APIs allow the complete set of customer's applications to be fetched regardless of which subscription order they first appeared.</p>\n","_postman_id":"ee9136b9-fa89-4564-8f8c-e2091b5b59b3","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"users","item":[{"name":"{user Id}","item":[{"name":"get user","id":"360a85f3-06a6-4106-a883-7addd82d5c05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/users/:userId","description":"<p>Get a user.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","users",":userId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"f0b8ed03-63fc-4416-af45-54a119e2b4be","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"},{"id":"acaf4d4e-a635-4938-9a5f-97cdd5dcc9d8","description":{"content":"<p>(Required) Unique user Id assigned by AppBind when user is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"userId"}]}},"response":[{"id":"f6a6292d-596d-445c-bd1c-0fd834bddff1","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/customers/:customerId/users/:userId","host":["https://ws.appbind.com/v1/reseller"],"path":["customers",":customerId","users",":userId"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."},{"key":"userId","value":"e1c4dd68-3b57-11ed-998b-2377cc2958a2","description":"(Required) Unique user Id assigned by AppBind when user is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n    \"customerName\": \"My Customer\",\n    \"user\": [\n        {\n            \"lastName\": \"Smith\",\n            \"firstName\": \"Joe\",\n            \"userId\": \"e1c4dd68-3b57-11ed-998b-2377cc2958a2\",\n            \"email\": \"joe@customer.com\"\n        }\n    ]\n}"}],"_postman_id":"360a85f3-06a6-4106-a883-7addd82d5c05"},{"name":"update user","id":"1980db93-8326-4fee-b825-cb4a6c214072","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"lastName\": \"Smith\",\n  \"firstName\": \"Joe\"\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/users/:userId","description":"<p>Update a user. Both last name and first name are required.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","users",":userId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"a9f53202-4fb4-40d1-bce7-299e0edc52a8","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"},{"id":"9c36b8f8-5434-4a8a-9469-24ba5e611dd8","description":{"content":"<p>(Required) Unique user Id assigned by AppBind when user is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"userId"}]}},"response":[{"id":"7fb76fc0-8402-4564-89ea-c51516dcc43f","name":"response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"lastName\": \"Smith\",\n  \"firstName\": \"Joe\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.appbind.com/v1/reseller/customers/:customerId/users/:userId","protocol":"https","host":["api","appbind","com"],"path":["v1","reseller","customers",":customerId","users",":userId"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."},{"key":"userId","value":"e1c4dd68-3b57-11ed-998b-2377cc2958a2","description":"(Required) Unique user Id assigned by AppBind when user is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"userId\": \"e1c4dd68-3b57-11ed-998b-2377cc2958a2\"\n}"}],"_postman_id":"1980db93-8326-4fee-b825-cb4a6c214072"}],"id":"861fc97c-e5b6-4a17-8c1e-36cde6684df3","description":"<p>You can get and update users by id.</p>\n","_postman_id":"861fc97c-e5b6-4a17-8c1e-36cde6684df3","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"get users","id":"8d91c733-8c81-4923-8253-2506d54a00da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/users","description":"<p>Get all users for customer.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","users"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"3d8ed799-3531-4921-8371-b60a78cb6a37","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"}]}},"response":[{"id":"bcf39531-3676-496d-9105-c96f87a10aba","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.appbind.com/v1/reseller/customers/:customerId/users","protocol":"https","host":["api","appbind","com"],"path":["v1","reseller","customers",":customerId","users"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n    \"customerName\": \"My Customer\",\n    \"users\": [\n        {\n            \"lastName\": \"Smith\",\n            \"firstName\": \"Joe\",\n            \"userId\": \"e1c4dd68-3b57-11ed-998b-2377cc2958a2\",\n            \"email\": \"joe@customer.com\"\n        }\n    ]\n}"}],"_postman_id":"8d91c733-8c81-4923-8253-2506d54a00da"},{"name":"create user","id":"550e7425-30c6-47ce-b6e8-64ab4d8d46c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"lastName\": \"Smith\",\n  \"firstName\": \"Joe\",\n  \"email\": \"joe@customer.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/users","description":"<p>Create a user for a customer.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","users"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"c6b2cdc1-946e-48d8-a0a7-eef38f5fd05b","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"}]}},"response":[{"id":"2961859c-317e-4668-9926-b06d0e63ca2c","name":"response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"lastName\": \"Smith\",\n  \"firstName\": \"Joe\",\n  \"email\": \"joe@customer.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.appbind.com/v1/reseller/customers/:customerId/users","protocol":"https","host":["api","appbind","com"],"path":["v1","reseller","customers",":customerId","users"],"variable":[{"key":"customerId","value":"5538766c-3b56-11ed-816b-132af5073dc5","description":"(Required) Unique customer Id assigned by AppBind when customer is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"userId\": \"e1c4dd68-3b57-11ed-998b-2377cc2958a2\"\n}"}],"_postman_id":"550e7425-30c6-47ce-b6e8-64ab4d8d46c1"}],"id":"16191fbd-d597-4cd0-bf5d-201fec7993ca","description":"<p>Customer users API allow you to create, update and retrieve your customer's users. Key concepts:</p>\n<p><strong>lastName</strong>: User's last name.</p>\n<p><strong>firstName</strong>: User's first name.</p>\n<p><strong>email</strong>: User's email address. It must be unique.</p>\n","_postman_id":"16191fbd-d597-4cd0-bf5d-201fec7993ca","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"get customer","id":"1f300fe1-20b8-4d40-97de-3ebab4e129b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers/:customerId","description":"<p>Get a customer.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"11419a4c-99eb-4e9e-bc56-d74acb825981","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"}]}},"response":[{"id":"1e99d089-7732-490f-841e-8952d8d409d2","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.appbind.com/v1/reseller/customers/:customerId","protocol":"https","host":["api","appbind","com"],"path":["v1","reseller","customers",":customerId"],"variable":[{"key":"customerId","value":"76ae67c2-3b54-11ed-88ae-8739a6f93572","description":"(Required) Unique customer Id assigned by AppBind when customer is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n    \"customerName\": \"My Customer\",\n    \"customerNum\": \"1234\",\n    \"description\": null,\n    \"customerStatus\": 0,\n    \"contactEmail\": \"scott+2209232@appbind.com\",\n    \"contactFirstName\": \"Joe\",\n    \"contactLastName\": \"Smith\",\n    \"address1\": \"44 West Gay Street\",\n    \"address2\": null,\n    \"city\": \"West Chester\",\n    \"state\": \"PA\",\n    \"country\": \"US\",\n    \"postalCode\": \"19380\",\n    \"floatLimit\": 500,\n    \"maxCharge\": 5000,\n    \"useBudgets\": 2,\n    \"payFromBalance\": 1,\n    \"autoTopupActive\": 1,\n    \"initialBalanceAmount\": 0,\n    \"maxMonthlyBudget\": 12000,\n    \"autoTopupThreshold\": 50,\n    \"autoTopupAmount\": 200,\n    \"preApproveSubs\": 0,\n    \"rMaxMonthlyBudget\": 12000,\n    \"rAutoTopupThreshold\": 50,\n    \"rAutoTopupAmount\": 200,\n    \"rPreApproveSubs\": 0,\n    \"created\": \"2022-09-23T15:42:30.123113\",\n    \"balance\": 300,\n    \"availableBalance\": 300,\n    \"users\": [\n        {\n            \"userId\": \"e1c4dd68-3b57-11ed-998b-2377cc2958a2\",\n            \"email\": \"joe@customer.com\",\n            \"firstName\": \"Joe\",\n            \"lastName\": \"Smith\",\n            \"address1\": null,\n            \"address2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"country\": null,\n            \"postalCode\": null\n        }\n    ],\n    \"appSubscriptions\": [\n        {\n            \"subscriptionId\": \"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa\",\n            \"subscriptionStatus\": 0,\n            \"markupPercentage\": 10.2,\n            \"wholesaleDiscountPercentage\": 11.5,\n            \"paymentOrder\": 1,\n            \"catalogApp\": {\n                \"catalogAppId\": \"5546d3c2-08ef-11ed-a980-931d5c4a9c64\",\n                \"appName\": \"1Password\",\n                \"subscriptionPlan\": \"\",\n                \"appStatus\": 0\n            }\n        }\n    ],\n    \"serviceSubscriptions\": [\n        {\n            \"serviceId\": \"f5514114-3b57-11ed-bfd3-27cd74cb0b44\",\n            \"serviceStatus\": 0,\n            \"serviceAmount\": 200,\n            \"billingFrequency\": 1,\n            \"catalogService\": {\n                \"catalogServiceId\": \"0840b15a-0dd2-11ed-91f1-ef1890698d3b\",\n                \"serviceName\": \"Maintenance\",\n                \"serviceStatus\": 0,\n                \"billingFrequency\": 1\n            }\n        }\n    ]\n}"}],"_postman_id":"1f300fe1-20b8-4d40-97de-3ebab4e129b3"},{"name":"update customer","id":"7c043a81-fe8e-488e-a5e3-069c122048df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"maxMonthlyBudget\": 12000,\n  \"autoTopupActive\": 1,\n  \"initialBalanceAmount\": 300,\n  \"autoTopupThreshold\": 50,\n  \"autoTopupAmount\": 200\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/customers/:customerId","description":"<p>Update a customer. Only specify those attributes you wish to change.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"c389fd65-7ad3-40e3-86ef-f7fe791cb6e1","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"}]}},"response":[{"id":"65afd792-9ab2-41b9-8c5d-c36a17f8203a","name":"response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"maxMonthlyBudget\": 12000,\n  \"autoTopupActive\": 1,\n  \"initialBalanceAmount\": 300,\n  \"autoTopupThreshold\": 50,\n  \"autoTopupAmount\": 200\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.appbind.com/v1/reseller/customers/:customerId","protocol":"https","host":["api","appbind","com"],"path":["v1","reseller","customers",":customerId"],"variable":[{"key":"customerId","value":"76ae67c2-3b54-11ed-88ae-8739a6f93572","description":"(Required) Unique customer Id assigned by AppBind when customer is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"76ae67c2-3b54-11ed-88ae-8739a6f93572\"\n}"}],"_postman_id":"7c043a81-fe8e-488e-a5e3-069c122048df"},{"name":"create subscription order","id":"6c168651-70b2-4408-ba53-34464f70775e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendOrderToCustomer\": 1,\n  \"emailAddress\": \"joe@customer.com\",\n  \"subscriptions\": [\n    {\n      \"catalogAppId\": \"5546d3c2-08ef-11ed-a980-931d5c4a9c64\"\n    }\n  ],\n  \"services\": [\n    {\n      \"catalogServiceId\": \"0840b15a-0dd2-11ed-91f1-ef1890698d3b\"\n    }\n  ],\n  \"budget\": {\n       \"maxMonthlyBudget\": 12000,\n        \"initialBalanceAmount\": 300,\n        \"autoTopupAmount\": 200,\n        \"autoTopupThreshold\": 50,\n        \"preApproveSubs\": 0\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/customers/:customerId/subscriptionorder","description":"<p>Create a subscription order.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers",":customerId","subscriptionorder"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"11f010ae-2d06-49d0-9a0a-b899fc2ad983","description":{"content":"<p>(Required) Unique customer Id assigned by AppBind when customer is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"}]}},"response":[{"id":"6c1eaa03-2b2f-4d06-85c2-3b4aa1072a09","name":"response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"sendOrderToCustomer\": 1,\n  \"emailAddress\": \"joe@customer.com\",\n  \"subscriptions\": [\n    {\n      \"catalogAppId\": \"5546d3c2-08ef-11ed-a980-931d5c4a9c64\"\n    }\n  ],\n  \"services\": [\n    {\n      \"catalogServiceId\": \"0840b15a-0dd2-11ed-91f1-ef1890698d3b\"\n    }\n  ],\n  \"budget\": {\n       \"maxMonthlyBudget\": 12000,\n        \"initialBalanceAmount\": 300,\n        \"autoTopupAmount\": 200,\n        \"autoTopupThreshold\": 50,\n        \"preApproveSubs\": 0\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.appbind.com/v1/reseller/customers/:customerId/subscriptionorder","protocol":"https","host":["api","appbind","com"],"path":["v1","reseller","customers",":customerId","subscriptionorder"],"variable":[{"key":"customerId","value":"","description":"(Required) Unique customer Id assigned by AppBind when customer is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 1\n}"}],"_postman_id":"6c168651-70b2-4408-ba53-34464f70775e"}],"id":"ea0a14db-cc1e-41d9-8046-2a9d60c8aad2","description":"<p>You can get orders, services, and subscriptions by customer id, and can create subscription orders for a customer.</p>\n","_postman_id":"ea0a14db-cc1e-41d9-8046-2a9d60c8aad2","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"get customers","id":"c4d342ea-a23d-4449-b72b-cd2881c98b1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/customers?customerName=like:my&activeOnly=0&floatProblemOnly=0&outstandingSoOnly=0&first=10&offset=0&sort=customerNum&direction=DESC","description":"<p>Get customers using filtering and sorting</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers"],"host":["https://ws.appbind.com/v1/reseller"],"query":[{"description":{"content":"<p>Either a unique customer name such as Acme or a wildcard prefaced with the keyword like:acm</p>\n","type":"text/plain"},"key":"customerName","value":"like:my"},{"description":{"content":"<p>1 means only those customers that are active will be returned.</p>\n","type":"text/plain"},"key":"activeOnly","value":"0"},{"description":{"content":"<p>0 means do not consider.  1 means only those customers with a balance problem will be returned.</p>\n","type":"text/plain"},"key":"floatProblemOnly","value":"0"},{"description":{"content":"<p>0 means do not consider. 1 means a subscription order has not been sent to customer. 2 means there is an outstanding order.  3 means customer has accepted.</p>\n","type":"text/plain"},"key":"outstandingSoOnly","value":"0"},{"description":{"content":"<p>Max number of records to return</p>\n","type":"text/plain"},"key":"first","value":"10"},{"description":{"content":"<p>Number of rows to offset.  For example, 0 means start with the first matching row, and 10 means start with the 11th matching row.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"description":{"content":"<p>Field to sort by.  Currently only customerName or customerNum</p>\n","type":"text/plain"},"key":"sort","value":"customerNum"},{"description":{"content":"<p>ASC for ascending and DESC for descending</p>\n","type":"text/plain"},"key":"direction","value":"DESC"}],"variable":[]}},"response":[{"id":"a4f77332-5814-4d1b-b3f6-f99c1d319ee3","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.appbind.com/v1/reseller/customers?customerName=like:my&activeOnly=0&floatProblemOnly=0&outstandingSoOnly=0&first=10&offset=0&sort=customerNum&direction=DESC","protocol":"https","host":["api","appbind","com"],"path":["v1","reseller","customers"],"query":[{"key":"customerName","value":"like:my"},{"key":"activeOnly","value":"0"},{"key":"floatProblemOnly","value":"0"},{"key":"outstandingSoOnly","value":"0"},{"key":"first","value":"10"},{"key":"offset","value":"0"},{"key":"sort","value":"customerNum"},{"key":"direction","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalCount\": 1,\n    \"customers\": [\n        {\n            \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n            \"customerName\": \"My Customer\",\n            \"customerNum\": \"1234\",\n            \"description\": null,\n            \"customerStatus\": 0,\n            \"contactEmail\": \"scott+2209232@appbind.com\",\n            \"contactFirstName\": \"Joe\",\n            \"contactLastName\": \"Smith\",\n            \"address1\": \"44 West Gay Street\",\n            \"address2\": null,\n            \"city\": \"West Chester\",\n            \"state\": \"PA\",\n            \"country\": \"US\",\n            \"postalCode\": \"19380\",\n            \"floatLimit\": 500,\n            \"maxCharge\": 5000,\n            \"useBudgets\": 2,\n            \"payFromBalance\": 1,\n            \"autoTopupActive\": 1,\n            \"initialBalanceAmount\": 0,\n            \"maxMonthlyBudget\": 12000,\n            \"autoTopupThreshold\": 50,\n            \"autoTopupAmount\": 200,\n            \"preApproveSubs\": 0,\n            \"rMaxMonthlyBudget\": 12000,\n            \"rAutoTopupThreshold\": 50,\n            \"rAutoTopupAmount\": 200,\n            \"rPreApproveSubs\": 0,\n            \"created\": \"2022-09-23T15:42:30.123113\"\n        }\n    ]\n}"}],"_postman_id":"c4d342ea-a23d-4449-b72b-cd2881c98b1b"},{"name":"create customer","id":"48b1e81d-b021-4953-acd9-f96cbb8dd2f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customerName\": \"My Customer\",\n  \"customerNum\": \"1234\",\n  \"contactEmail\": \"joe@somewhere.com\",\n  \"contactFirstName\": \"Joe\",\n  \"contactLastName\": \"Smith\",\n  \"address1\": \"44 West Gay Street\",\n  \"city\": \"West Chester\",\n  \"state\": \"PA\",\n  \"country\": \"US\",\n  \"postalCode\": \"19380\"\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/customers","description":"<p>Create a customer.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["customers"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[]}},"response":[{"id":"af255da5-1d3c-4e99-bd85-d1f72cc832da","name":"response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"customerName\": \"My Customer\",\n  \"customerNum\": \"1234\",\n  \"contactEmail\": \"joe@somewhere.com\",\n  \"contactFirstName\": \"Joe\",\n  \"contactLastName\": \"Smith\",\n  \"address1\": \"44 West Gay Street\",\n  \"city\": \"West Chester\",\n  \"state\": \"PA\",\n  \"country\": \"US\",\n  \"postalCode\": \"19380\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.appbind.com/v1/reseller/customers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"443bd794-3b67-11ed-b3d7-23b825c3925b\"\n}"}],"_postman_id":"48b1e81d-b021-4953-acd9-f96cbb8dd2f7"}],"id":"fc7f5bbd-4ce6-409a-b331-3a9e92ed86b6","description":"<h3 id=\"customers-resource\">Customers resource</h3>\n<p>A customer represents any business or entity for which you manage subscriptions and provide services. If you want to automate creation of customers in AppBind when you add a customer to a CRM (or other existing system you use to manage your customers), you'll likely be calling the \"create customer\" endpoint, and then saving the returned AppBind customer id for use in subseqeunt calls (e.g. create and send subscription order). Key concepts:</p>\n<p><strong>customerName</strong>: Customer name.</p>\n<p><strong>customerNum</strong>: Customer number/id/designation you use to identify a customer separate from the customer name.</p>\n<p><strong>description</strong>: General description.</p>\n<p><strong>customerStatus</strong>: 0 means active. 1 means suspended.</p>\n<p><strong>contactEmail</strong>: Main contact email account.</p>\n<p><strong>contactFirstName</strong>: Main contact first name.</p>\n<p><strong>contactLastName</strong>: Main contact last name.</p>\n<p><strong>address1</strong>: Company address line 1.</p>\n<p><strong>address2</strong>: Company address line 2 if applicable.</p>\n<p><strong>city</strong>: Company city.</p>\n<p><strong>state</strong>: Company state.</p>\n<p><strong>country</strong>: Company country.</p>\n<p><strong>postalCode</strong>: Company postalCode.</p>\n<p><strong>maxMonthlyBudget</strong>: Maximum that can be charged in a month.</p>\n<p><strong>autoTopupThreshold</strong>: Threshold upon which additional funds will be captured.</p>\n<p><strong>autoTopupAmount</strong>: Ongoing topup amount when threshold is reached.</p>\n","_postman_id":"fc7f5bbd-4ce6-409a-b331-3a9e92ed86b6","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"users","item":[{"name":"{user Id}","item":[{"name":"get user","id":"e151a1af-a185-4160-9890-f5a337f2ecb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/users/:userId","description":"<p>Get a user.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["users",":userId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"e2084c14-7ab4-4c4f-aeb1-c29afc69d919","description":{"content":"<p>(Required) Unique user Id assigned by AppBind when user is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"userId"}]}},"response":[{"id":"1a48bbee-ee24-4927-9968-bd1adff4d4b2","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/users/:userId","host":["https://ws.appbind.com/v1/reseller"],"path":["users",":userId"],"variable":[{"key":"userId","value":"6a52eb1c-35bc-11ed-83fd-b757dd2b1bac","description":"(Required) Unique user Id assigned by AppBind when user is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"resellerId\": \"cfeae74c-0112-11ed-b392-77bde6ac6456\",\n    \"resellerName\": \"Sample reseller\",\n    \"users\": [\n        {\n            \"lastName\": \"Reseller\",\n            \"firstName\": \"Randy\",\n            \"userId\": \"6a52eb1c-35bc-11ed-83fd-b757dd2b1bac\",\n            \"email\": \"randy@reseller.com\"\n        }\n    ]\n}"}],"_postman_id":"e151a1af-a185-4160-9890-f5a337f2ecb8"},{"name":"update user","id":"2043b06d-e780-46c9-be1a-842ba11e02ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"lastName\": \"Smith\",\n  \"firstName\": \"Joe\"\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/users/:userId","description":"<p>Update a user. Both last name and first name are required.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["users",":userId"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"b933f68e-b02d-4ca9-a93b-6b0dea3fd39e","description":{"content":"<p>(Required) Unique user Id assigned by AppBind when user is created.</p>\n","type":"text/plain"},"type":"any","value":"","key":"userId"}]}},"response":[{"id":"7535b63b-3a2b-49a1-9699-a20d90c3ca3d","name":"response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"lastName\": \"Springstein\",\n  \"firstName\": \"Harry\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ws.appbind.com/v1/reseller/users/:userId","host":["https://ws.appbind.com/v1/reseller"],"path":["users",":userId"],"variable":[{"key":"userId","value":"6a52eb1c-35bc-11ed-83fd-b757dd2b1bac","description":"(Required) Unique user Id assigned by AppBind when user is created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"userId\": \"6a52eb1c-35bc-11ed-83fd-b757dd2b1bac\"\n}"}],"_postman_id":"2043b06d-e780-46c9-be1a-842ba11e02ea"}],"id":"908ec005-b556-4a20-9b9f-4a0958cb84cc","description":"<p>You can get and update individual users.</p>\n","_postman_id":"908ec005-b556-4a20-9b9f-4a0958cb84cc","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"get users","id":"76795b5c-a0be-4e1f-9afc-8f77ed822633","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/users","description":"<p>Get all users for your organization.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["users"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[]}},"response":[{"id":"017886ce-406f-469d-bff1-e780a28f730e","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://ws.appbind.com/v1/reseller/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"resellerId\": \"cfeae74c-0112-11ed-b392-77bde6ac6456\",\n    \"resellerName\": \"Scott Test\",\n    \"users\": [\n        {\n            \"lastName\": \"Sterling\",\n            \"firstName\": \"Robert\",\n            \"userId\": \"0a818e7a-35bf-11ed-84b0-53505d2167bb\",\n            \"email\": \"robert@reseller.com\"\n        },\n        {\n            \"lastName\": \"Reseller\",\n            \"firstName\": \"Randy\",\n            \"userId\": \"5c605788-2edc-11ed-b172-e3b12327973a\",\n            \"email\": \"randy@reseller.com\"\n        }\n    ]\n}"}],"_postman_id":"76795b5c-a0be-4e1f-9afc-8f77ed822633"},{"name":"create user","id":"c16dbcb1-81f2-44e8-ba29-a4de29d80135","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"lastName\": \"Springstein\",\n  \"firstName\": \"Harry\",\n  \"email\": \"harry@myco.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/users","description":"<p>Create a user.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["users"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[]}},"response":[{"id":"deda9134-96e3-44be-a7d8-ef03b50777e9","name":"response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"lastName\": \"Springstein\",\n  \"firstName\": \"Harry\",\n  \"email\": \"harry@myco.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://ws.appbind.com/v1/reseller/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"userId\": \"a3910d9e-3b68-11ed-8e9a-9b8efe27c804\"\n}"}],"_postman_id":"c16dbcb1-81f2-44e8-ba29-a4de29d80135"}],"id":"14a8755a-a8f7-429c-af8b-5863da8abb04","description":"<p>This users resource represents users on your own team.</p>\n<p>Key concepts:</p>\n<p><strong>lastName</strong>: User's last name.</p>\n<p><strong>firstName</strong>: User's first name.</p>\n<p><strong>email</strong>: User's email address. It must be unique.</p>\n","_postman_id":"14a8755a-a8f7-429c-af8b-5863da8abb04","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}}},{"name":"get subscription order","id":"5ddfde7d-1e26-404d-af12-d21e60419a32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://ws.appbind.com/v1/reseller/subscriptionorders/:orderNumber","description":"<p>Get a subscription order.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"c9d968bb-1185-4cff-89fd-b25c899466de","id":"c9d968bb-1185-4cff-89fd-b25c899466de","name":"AppBind Reseller API documentation","type":"collection"}},"urlObject":{"path":["subscriptionorders",":orderNumber"],"host":["https://ws.appbind.com/v1/reseller"],"query":[],"variable":[{"id":"e90fd710-17ce-4930-ac1c-069da5d711a7","description":{"content":"<p>(Required) Unique subscription order number assigned by AppBind when subscription order is accepted.</p>\n","type":"text/plain"},"type":"any","value":"","key":"orderNumber"}]}},"response":[{"id":"a570c90c-d9cb-4ec8-8d95-060126b10dac","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://ws.appbind.com/v1/reseller/subscriptionorders/:orderNumber","host":["https://ws.appbind.com/v1/reseller"],"path":["subscriptionorders",":orderNumber"],"variable":[{"key":"orderNumber","value":"SO-000475","description":"(Required) Unique subscription order number assigned by AppBind when subscription order is accepted."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"5538766c-3b56-11ed-816b-132af5073dc5\",\n    \"customerName\": \"My Customer\",\n    \"customerNum\": \"1234\",\n    \"subscriptionOrder\": {\n        \"orderId\": \"0df7df70-3b58-11ed-8b20-0b7081e0567f\",\n        \"orderNumber\": \"SO-000475\",\n        \"orderStatus\": 2,\n        \"sentTime\": \"2022-09-23T15:54:09.353\",\n        \"acceptedTime\": \"2022-09-23T15:54:49.580708\",\n        \"inactiveTime\": null,\n        \"previousOrder\": null,\n        \"replacingOrder\": null,\n        \"subscriptions\": [\n            {\n                \"orderLineId\": \"0df81b8e-3b58-11ed-8b21-5b64c63c9b8e\",\n                \"subscriptionId\": \"f5501a1e-3b57-11ed-bfd0-3b5a32ca6dfa\",\n                \"paymentOrder\": 1,\n                \"markupPercentage\": 10.2,\n                \"wholesaleDiscountPercentage\": 11.5,\n                \"passPaymentFees\": 1,\n                \"catalogApp\": {\n                    \"catalogAppId\": \"5546d3c2-08ef-11ed-a980-931d5c4a9c64\",\n                    \"appName\": \"1Password\",\n                    \"subscriptionPlan\": \"\",\n                    \"appStatus\": 0\n                }\n            }\n        ],\n        \"services\": [\n            {\n                \"orderLineId\": \"0df86864-3b58-11ed-8b22-0386cb6936f3\",\n                \"serviceId\": \"f5514114-3b57-11ed-bfd3-27cd74cb0b44\",\n                \"serviceAmount\": 200,\n                \"billingFrequency\": 1,\n                \"passPaymentFees\": 0,\n                \"catalogService\": {\n                    \"catalogServiceId\": \"0840b15a-0dd2-11ed-91f1-ef1890698d3b\",\n                    \"serviceName\": \"Maintenance\",\n                    \"serviceStatus\": 0,\n                    \"serviceAmount\": 200,\n                    \"billingFrequency\": 1\n                }\n            }\n        ],\n        \"budget\": {\n            \"maxMonthlyBudget\": 12000,\n            \"payFromBalance\": 1,\n            \"useBudgets\": 2,\n            \"autoTopupActive\": 1,\n            \"initialBalanceAmount\": 300,\n            \"autoTopupAmount\": 200,\n            \"autoTopupThreshold\": 50,\n            \"preApproveSubs\": 0,\n            \"billingDayOfMonth\": 3\n        }\n    }\n}"}],"_postman_id":"5ddfde7d-1e26-404d-af12-d21e60419a32"}],"auth":{"type":"bearer","bearer":{"token":"<token>"}},"event":[{"listen":"prerequest","script":{"id":"cfe6a60f-82ee-4f74-9e37-550bb97ee764","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e0a90cf2-be98-41d0-9815-8cd48841371d","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://ws.appbind.com/v1/reseller","type":"string"}]}