LTO REST API: Vendor Contacts (Get, Create, Update)Get, create and update vendor contacts through the Litmos Commerce API.Sep 26, 2026Knowledge
FieldsTitleLTO REST API: Vendor Contacts (Get, Create, Update)Last Updated5/9/2023ProductTraining OpsSummaryHelp SummaryGet, create and update vendor contacts through the Litmos Commerce API.BodyVendor Contacts API (Get, Create and Update) Get Vendor Contacts: Provides the details of Vendor Contacts via Litmos Commerce API. Note: All requests must be Authenticated. Authentication and Authorization Information used for API authentication and authorization is submitted in the request header. The following header name/values are required with each request. HeaderDescriptionCompanyLoginIdCompany Login Id (provisioned by LTO account management)ProductIdProduct Id. 1=Learning Management, 2=Event ManagementUsernameUser account usernamePasswordUser account password Request URI: 1. Get details of all Vendors Contacts in Litmos commerce application (Get Vendor Contacts is applicable only for Classroom) - GET https://api.viewcentral.com/api/Vendors/{Vendor ID}/contacts Response Codes: HTTP StatusDescription200Operation successful. Vendor Contacts object returned in response400Operation not successful. Response contains error information404Operation not successful. Vendor Contacts object not found Response Example: { "Success": true, "Error": null, "Data": [ { "ID": "Int [autogenerate]", "FirstName": "String [max length 100]", "MiddleName": "String [max length 50]", "LastName": "String [max length 100]", "Email": "String [max length 100]", "Title": "String [max length 100]", "Active": "Bool", "ContactType": "String [max length 255]", "Phone1": "String [max length 50]", "Phone1Type": "String [max length 255]", "Phone2": "String [max length 50]", "Phone2Type": "String [max length 255]", "Phone3": "String [max length 50]", "Phone3Type": "String [max length 255]", "Phone4": "String [max length 50]", "Phone4Type": "String [max length 255]", "Vendor": { "ID": "Int [max length 20]" }, "Modified": { "CreatedBy": "string [max length 50]", "CreatedDate": "datetime [yyyy-mm-ddThh:mm:ssZ]", "UpdatedBy": "string [max length 50]", "UpdatedDate": "datetime [yyyy-mm-ddThh:mm:ssZ]" }, "Links": [ { "Rel": "Self", "Href": "/vendors/{Vendorid}/contacts/{contactid}", "Method": "GET" }, { "Rel": "Vendor", "Href": "/vendors/{Vendorid}", "Method": "GET" } ] } ]} 2. Get details of vendor Contacts using vendor contact id in Litmos commerce application(Get Vendor Contact is applicable only for Classroom) - GET https://api.viewcentral.com/api/Vendors/{Vendor ID}/contacts?id={value} Request Filters: ID= Vendor Contact. Sl.NoKeyValue1idInt [maxlength autogenerated] Response: HTTP StatusDescription200Operation successful. Vendor Contacts object returned in response400Operation not successful. Response contains error information404Operation not successful. Vendor Contacts object not found Response Example: Please refer to the above response example found in point 1. -- Create Vendor Contacts (Classroom only): Create Vendor Contacts via Litmos Commerce API. (Provide vendor Contacts object in request body). Note: All requests must be Authenticated. Authentication and Authorization Information used for API authentication and authorization is submitted in the request header. The following header name/values are required with each request. HeaderDescriptionCompanyLoginIdCompany Login Id (provisioned by LTO account management)ProductIdProduct Id. 1=Learning Management, 2=Event ManagementUsernameUser account usernamePasswordUser account password Request: Provide create vendor Contacts object in request body URI: POST https://api.viewcentral.com/api/Vendors/{VendorID}/contacts Request Example : { "FirstName": "Required String [max length 100]", "MiddleName": "Optional String [max length 50]", "LastName": "Required String [max length 100]", "Email": "Required String [max length 100]", "Title": "Optional String [max length 100]", "Active": "Required [true/false]", "ContactType": "String [max length 255]", "Phone1": "String [max length 50]", "Phone1Type": "String [max length 255]", "Phone2": "String [max length 50]", "Phone2Type": "String [max length 255]", "Phone3": "String [max length 50]", "Phone3Type": "String [max length 255]", "Phone4": "String [max length 50]", "Phone4Type": "String [max length 255]", "Vendor": { "ID": "Optional Int [max length 20]" }} Response Codes: HTTP StatusDescription200Operation successful. Vendor Contacts object returned in response400Operation not successful. Response contains error information404Operation not successful. Vendor Contacts object not found Response Example: { "Success": true, "Error": null, "Data": [ { "ID": "Int [autogenerate]", "FirstName": "String [max length 100]", "MiddleName": "String [max length 50]", "LastName": "String [max length 100]", "Email": "String [max length 100]", "Title": "String [max length 100]", "Active": "Bool", "ContactType": "String [max length 255]", "Phone1": "String [max length 50]", "Phone1Type": "String [max length 255]", "Phone2": "String [max length 50]", "Phone2Type": "String [max length 255]", "Phone3": "String [max length 50]", "Phone3Type": "String [max length 255]", "Phone4": "String [max length 50]", "Phone4Type": "String [max length 255]", "Vendor": { "ID": "Int [max length 20]" }, "Modified": { "CreatedBy": "string [max length 50]", "CreatedDate": "datetime [yyyy-mm-ddThh:mm:ssZ]", "UpdatedBy": "string [max length 50]", "UpdatedDate": "datetime [yyyy-mm-ddThh:mm:ssZ]" }, "Links": [ { "Rel": "Self", "Href": "/vendors/{Vendorid}/contacts/{contactid}", "Method": "GET" }, { "Rel": "Vendor", "Href": "/vendors/{Vendorid}", "Method": "GET" } ] } ]} -- Update Vendor Contacts (Classroom only): Update vendor Contacts via Litmos Commerce API. (Provide vendor contacts object in request body). Note: All requests must be Authenticated. Authentication and Authorization Information used for API authentication and authorization is submitted in the request header. The following header name/values are required with each request. HeaderDescriptionCompanyLoginIdCompany Login Id (provisioned by LTO account management)ProductIdProduct Id. 1=Learning Management, 2=Event ManagementUsernameUser account usernamePasswordUser account password Request : Provide updated Vendor Contacts object in request body. URI: PUT https://api.viewcentral.com/api/vendor/{ID}/contacts/{contactID} NOTE: this operation supports complete object update as well as partial object update. If the API request data does not supply ALL properties/fields with their intended values, the fields not supplied will be assigned the default value: NULL. If record previously had data in this field, the value will now be set to previous value. For example, vendor contacts record is added with the ‘Title’ set to “Title for contacts”. With the API (PUT action) to update, if the vendor contacts ‘Title’ property is not supplied in the API request, the ‘Title’ value will not be changed means it has value of “Title for contacts”. Request example: { "FirstName": "Required String [max length 100]", "MiddleName": "Optional String [max length 50]", "LastName": "Required String [max length 100]", "Email": "Required String [max length 100]", "Title": "Optional String [max length 100]", "Active": "Required [true/false]", "ContactType": "String [max length 255]", "Phone1": "String [max length 50]", "Phone1Type": "String [max length 255]", "Phone2": "String [max length 50]", "Phone2Type": "String [max length 255]", "Phone3": "String [max length 50]", "Phone3Type": "String [max length 255]", "Phone4": "String [max length 50]", "Phone4Type": "String [max length 255]", "Vendor": { "ID": "Optional Int [max length 20]" }} Response Codes: HTTP StatusDescription200Operation successful. Vendor Contacts object returned in response400Operation not successful. Response contains error information404Operation not successful. Vendor Contacts object not found Response Example: { "Success": true, "Error": null, "Data": [ { "ID": "Int [autogenerate]", "FirstName": "String [max length 100]", "MiddleName": "String [max length 50]", "LastName": "String [max length 100]", "Email": "String [max length 100]", "Title": "String [max length 100]", "Active": "Bool", "ContactType": "String [max length 255]", "Phone1": "String [max length 50]", "Phone1Type": "String [max length 255]", "Phone2": "String [max length 50]", "Phone2Type": "String [max length 255]", "Phone3": "String [max length 50]", "Phone3Type": "String [max length 255]", "Phone4": "String [max length 50]", "Phone4Type": "String [max length 255]", "Vendor": { "ID": "Int [max length 20]" }, "Modified": { "CreatedBy": "string [max length 50]", "CreatedDate": "datetime [yyyy-mm-ddThh:mm:ssZ]", "UpdatedBy": "string [max length 50]", "UpdatedDate": "datetime [yyyy-mm-ddThh:mm:ssZ]" }, "Links": [ { "Rel": "Self", "Href": "/vendors/{Vendorid}/contacts/{contactid}", "Method": "GET" }, { "Rel": "Vendor", "Href": "/vendors/{Vendorid}", "Method": "GET" } ] } ]}URL Namelto-rest-api-vendor-contacts-get-create-update