{ "opencollection": "1.0.0", "info": { "name": "VirtoCommerce.Cart Catalog Companies and Contacts API", "version": "v1" }, "items": [ { "info": { "name": "Companies and Contacts", "type": "folder" }, "items": [ { "info": { "name": "Get organizations", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/members/organizations", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get array of all organizations." }, { "info": { "name": "Get members", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/members/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get array of members satisfied search criteria." }, { "info": { "name": "Get member", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/members/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "member id" }, { "name": "responseGroup", "value": "", "type": "query", "description": "response group" }, { "name": "memberType", "value": "", "type": "query", "description": "member type" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get member" }, { "info": { "name": "Partial update for Member", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/members/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Member id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Partial update for Member" }, { "info": { "name": "CustomerModule_GetMemberByUserId", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/members/accounts/:userId", "params": [ { "name": "userId", "value": "", "type": "path" }, { "name": "responseGroup", "value": "", "type": "query" }, { "name": "memberType", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "CustomerModule_GetMembersByIds", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/members", "params": [ { "name": "ids", "value": "", "type": "query" }, { "name": "responseGroup", "value": "", "type": "query" }, { "name": "memberTypes", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "Create new member (can be any object inherited from Member type)", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/members", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create new member (can be any object inherited from Member type)" }, { "info": { "name": "Update member", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/members", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update member" }, { "info": { "name": "Delete members", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/members", "params": [ { "name": "ids", "value": "", "type": "query", "description": "An array of members ids" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete members by given array of ids." }, { "info": { "name": "Bulk create new members (can be any objects inherited from Member type)", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/members/bulk", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Bulk create new members (can be any objects inherited from Member type)" }, { "info": { "name": "Bulk update members", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/members/bulk", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Bulk update members" }, { "info": { "name": "Bulk delete members", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/members/delete", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Bulk delete members by search criteria of members." }, { "info": { "name": "CustomerModule_InviteCustomers", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/members/customers/invite", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "CustomerModule_GetInviteRoles", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/members/customers/invite/roles", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "Get plenty contacts", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/contacts", "params": [ { "name": "ids", "value": "", "type": "query", "description": "contact IDs" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get plenty contacts" }, { "info": { "name": "Create contact", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/contacts", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create contact" }, { "info": { "name": "Update contact", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/contacts", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update contact" }, { "info": { "name": "Delete contacts", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/contacts", "params": [ { "name": "ids", "value": "", "type": "query", "description": "An array of contacts ids" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete contacts by given array of ids." }, { "info": { "name": "Bulk create contacts", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/contacts/bulk", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Bulk create contacts" }, { "info": { "name": "Bulk update contact", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/contacts/bulk", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Bulk update contact" }, { "info": { "name": "Get contact", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/contacts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Contact ID" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get contact" }, { "info": { "name": "Partial update for Contact", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/contacts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Contact id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Partial update for Contact" }, { "info": { "name": "Search contacts", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/contacts/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get array of contacts satisfied search criteria." }, { "info": { "name": "Get plenty organizations", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/organizations", "params": [ { "name": "ids", "value": "", "type": "query", "description": "Organization ids" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get plenty organizations" }, { "info": { "name": "Create organization", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/organizations", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create organization" }, { "info": { "name": "Update organization", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/organizations", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update organization" }, { "info": { "name": "Delete organizations", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/organizations", "params": [ { "name": "ids", "value": "", "type": "query", "description": "An array of organizations ids" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete organizations by given array of ids." }, { "info": { "name": "Bulk create organizations", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/organizations/bulk", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Bulk create organizations" }, { "info": { "name": "Bulk update organization", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/organizations/bulk", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Bulk update organization" }, { "info": { "name": "Get organization", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/organizations/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Organization id" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get organization" }, { "info": { "name": "Partial update for Organization", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/organizations/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Organization id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Partial update for Organization" }, { "info": { "name": "Search organizations", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/organizations/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get array of organizations satisfied search criteria." }, { "info": { "name": "Get vendor", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/vendors/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Vendor ID" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get vendor" }, { "info": { "name": "Get plenty vendors", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/vendors", "params": [ { "name": "ids", "value": "", "type": "query", "description": "Vendors IDs" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get plenty vendors" }, { "info": { "name": "Search vendors", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/vendors/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get array of vendors satisfied search criteria." }, { "info": { "name": "CustomerModule_UpdateAddesses", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/addresses", "params": [ { "name": "memberId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "Get plenty employees", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/employees", "params": [ { "name": "ids", "value": "", "type": "query", "description": "contact IDs" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get plenty employees" }, { "info": { "name": "Create employee", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/employees", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create employee" }, { "info": { "name": "Create employee", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/employees/bulk", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create employee" }, { "info": { "name": "Get all member organizations", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/members/:id/organizations", "params": [ { "name": "id", "value": "", "type": "path", "description": "member Id" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get all member organizations" }, { "info": { "name": "CustomerPreference_Search", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/customer-preferences/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "CustomerPreference_Create", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/customer-preferences", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "CustomerPreference_Update", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/customer-preferences", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "CustomerPreference_Delete", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/customer-preferences", "params": [ { "name": "ids", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } }, { "info": { "name": "CustomerPreference_Get", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/customer-preferences/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "responseGroup", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } } } ] } ], "bundled": true }