• Free Trial
  • Products
    • LMSThe world’s easiest-to-use learning management system.
    • Training ContentA robust library of off-the-shelf learning content.
  • Solutions
    • By Use Case
      • Employee Training
      • Sales Training
      • Customer Training
      • Partner Training
      • Compliance Training
      • View all
    • By Industry
      • Technology
      • Nonprofit
      • Retail
      • Hospitality
      • Healthcare
      • View all
  • Customers
    • Learn more about Litmos customer success stories.
      • Case Studies
      • Video Testimonials
      • I Love Litmos
      • Lenny Awards
    • Featured Customer
      • Sabre, a global travel technology provider, increases revenue by using Litmos to train their sales and technical teams.
  • Pricing
  • Resources
    • Ebooks & Infographics
    • Webinars & Podcasts
    • Events
    • Integrations
    • Blog
  • About
    • Company
    • Partners
    • Awards
    • Careers
    • Sustainability
  • Free Trial
Litmos
Log in
Contact us
Support
Search
  • Free Trial
  • Products
    • LMSThe world’s easiest-to-use learning management system.
    • Training ContentA robust library of off-the-shelf learning content.
  • Solutions
    • By Use Case
      • Employee Training
      • Sales Training
      • Customer Training
      • Partner Training
      • Compliance Training
      • View all
    • By Industry
      • Technology
      • Nonprofit
      • Retail
      • Hospitality
      • Healthcare
      • View all
  • Customers
    • Learn more about Litmos customer success stories.
      • Case Studies
      • Video Testimonials
      • I Love Litmos
      • Lenny Awards
    • Featured Customer
      • Sabre, a global travel technology provider, increases revenue by using Litmos to train their sales and technical teams.
  • Pricing
  • Resources
    • Ebooks & Infographics
    • Webinars & Podcasts
    • Events
    • Integrations
    • Blog
  • About
    • Company
    • Partners
    • Awards
    • Careers
    • Sustainability
  • Free Trial

Litmos Documentation

APIs

Home › Litmos Documentation › Ecommerce Via API

Ecommerce Via API

The API’s documented here will return a list of records that have been created or updated within a given date range. As such, there is a mandatory date-time parameter that must be used with these delta queries. The “&since=[DATE]&to=[DATE]” parameter is required for each of these API paths.

Important Notes: When using the “since” and “to” date range parameters in the request URI, the date formats adhere to the standard date=time format ‘YYYY-MM-DD HH:MM:SS’. This will return all records that were created/updated between the dates specified. The date range must be equal or less than 7 days.

In an attempt to get results for the current day, the “to” date must be set to a future date to return results successfully.

By default, all API responses will return 100 results. You can return up to 1,000 records by adding the ‘limit’ query parameter to your URI. See the Search & Paging Parameters section for pagination and other query parameters you can use.

Get Ecommerce Courses

Get a list of courses enabled for ecommerce that have been created or updated within a given date range.

Request URI

GET /org/ecommerce/courses?source={source}&since=[YYYY-MM-DD HH:MM:SS]&to=[YYYY-MM-DD HH:MM:SS]

Response Body (XML)

<Ecommerce xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <Courses>
        <Course>
            <Id>string [max length 50]</Id>
            <Code>string [max length 50]</Code>
            <Name>string [max length 255]</Name>
            <Active>true/false</Active>
            <UpdatedBy>string [max length 50]</UpdatedBy>
            <OriginalId>string [max length 50]</OriginalId>
            <Description/>
            <EcommerceShortDescription/>
            <EcommerceLongDescription/>
            <Skills/>
            <Price>integer</Price>
            <AccessTillDate>YYYY-MM-DDTHH:MM:SS</AccessTillDate>
            <AccessTillDays>YYYY-MM-DDTHH:MM:SS</AccessTillDays>
            <CoursePrerequisites/>
            <LearningPathPrerequisites/>
            <Currency>AlphaCode</Currency>
            <Languages/>
            <Topics/>
            <Tags/>
            <CreatedDate>YYYY-MM-DDTHH:MM:SS</CreatedDate>
            <UpdatedDate>YYYY-MM-DDTHH:MM:SS</UpdatedDate>
            <CreatedBy>string [max length 50]</CreatedBy>
        </Course>
    </Courses>
</Ecommerce>

Get Ecommerce Course ILT Sessions

Get a list of courses enabled for ecommerce with future ILT sessions that have been created or updated within a given date range.

Request URI

GET /org/ecommerce/coursesessions?source={source}&since=[YYYY-MM-DD HH:MM:SS]&to=[YYYY-MM-DD HH:MM:SS]

Response Body (XML)

<Ecommerce xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <SessionCourses>
        <SessionCourse>
            <Id>string [max length 50]</Id>
            <Code>string [max length 50]</Code>
            <Name>string [max length 225]</Name>
            <Active>true/false</Active>
            <OriginalId>string [max length 50]</OriginalId>
            <Description>string</Description>
            <Price>integer</Price>
            <Currency>AlphaCode</Currency>
            <Modules>
                <Module>
                    <Id>string [max length 50]</Id>
                    <Code>string [max length 50]</Code>
                    <Name>string [max length 225]</Name>
                    <OriginalId>string [max length 50]</OriginalId>
                    <Description>string</Description>
                    <Sessions>
                        <Session>
                            <Id>string [max length 50]</Id>
                            <Name>string [max length 225]</Name>
                            <SessionType>integer</SessionType>
                            <TimeZone>UTC</TimeZone>
                            <StartDate>YYYY-MM-DDTHH:MM:SS</StartDate>
                            <EndDate>YYYY-MM-DDTHH:MM:SS</EndDate>
                            <Accepted>integer</Accepted>
                            <EnableWaitList>true/false</EnableWaitList>
                            <CloseRegBeforeStartDays>integer</CloseRegBeforeStartDays>
                            <CloseUnRegBeforeStartDays>inteer</CloseUnRegBeforeStartDays>
                            <Days>
                                <Day>
                                    <Id>string [max length 50]</Id>
                                    <StartDate>YYYY-MM-DDTHH:MM:SS</StartDate>
                                    <EndDate>YYYY-MM-DDTHH:MM:SS</EndDate>
                                    <StartTime>HH:MM:SS</StartTime>
                                    <EndTime>HH:MM:SS</EndTime>
                                    <SendReminder>true/false</SendReminder>
                                    <ReminderValue>integer</ReminderValue>
                                    <ReminderMetric>minutes</ReminderMetric>
                                    <Instructors
                                            xmlns:a="http://schemas.datacontract.org/2004/07/LitmosService.Public.Resources">
                                        <EcommerceSessionInstructor>
                                            <a:Id>string [max length 50]</a:Id>
                                            <a:Name>string [max length 255]</a:Name>
                                        </EcommerceSessionInstructor>
                                    </Instructors>
                                    <Location>string [max length 100]</Location>
                                    <LocationId>integer</LocationId>
                                    <Slots>integer</Slots>
                                    <MinimumSlots>integer</MinimumSlots>
                                    <Details i:nil="true"/>
                                    <Resources
                                            xmlns:a="http://schemas.datacontract.org/2004/07/LitmosService.Public.Resources"/>
                                </Day>
                            </Days>
                        </Session>
                    </Sessions>
                </Module>
            </Modules>
        </SessionCourse>
    </SessionCourses>
</Ecommerce>

Get Ecommerce Learning Paths

Get a list of learning paths enabled for ecommerce that have been created or updated within a given date range.

Request URI

GET /org/ecommerce/learningpaths?source={source}&since=[YYYY-MM-DD HH:MM:SS]&to=[YYYY-MM-DD HH:MM:SS]

Response Body (XML)

<Ecommerce xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <LearningPaths>
        <LearningPath>
            <Id>string [max length 50]</Id>
            <Name>string [max length 255]</Name>
            <Description/>
            <Active>true/false</Active>
            <OriginalId>string [max length 50]</OriginalId>
            <Price>integer</Price>
            <EcommerceShortDescription/>
            <EcommerceLongDescription/>
            <AccessTillDate>YYYY-MM-DDTHH:MM:SS</AccessTillDate>
            <AccessTillDays>YYYY-MM-DDTHH:MM:SS</AccessTillDays>
            <CreatedDate>YYYY-MM-DDTHH:MM:SS</CreatedDate>
            <UpdatedDate>YYYY-MM-DDTHH:MM:SS</UpdatedDate>
            <CreatedBy>string [max length 50]</CreatedBy>
            <Code>string [max length 50]</Code>
            <Currency>AlphaCode</Currency>
            <Languages/>
            <Topics/>
            <Tags/>
            <CoursePrerequisites/>
            <LearningPathPrerequisites/>
            <Skills/>
            <UpdatedBy i:nil="true"/>
        </LearningPath>
    </LearningPaths>
</Ecommerce>

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of Litmos.

The information contained herein may be changed without prior notice. Some software products marketed by Litmos and its distributors contain proprietary software components of other software vendors. National product specifications may vary.

These materials are provided by Litmos for informational purposes only, without representation or warranty of any kind, and Litmos or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for Litmos company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

In particular Litmos or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and Litmos or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by Litmos or its affiliated companies at any time for any reason without notice.

The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions.

© 2022 Litmos or a Litmos affiliate company. All rights reserved.

Litmos and other Litmos products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Litmos (or a Litmos affiliate company) in the United States and other countries. All other product and service names mentioned are the trademarks of their respective companies.

Match keywords.

Useful Links

  • Release Notes
  • Customer Portal

In this article

Related articles

  1. Users Via API
  2. Date Range Delta Queries Via API
  3. Instructor Led Training Via API

Also of Interest

  • Mobile Learning System
  • Content Authoring Tools
  • Learning
  • Corporate LMS
  • Enterprise Learning Management System
  • LMS Platform
  • eLearning Platform
  • What is a learning management system?
  • See Additional Resources

Solutions by Use Case

  • Employee Training
  • Customer Training
  • Compliance Training
  • Sales Training
  • Operations Training
  • Gig Worker Training
  • Contractor Training
  • Supplier Training

Solutions by Industry

  • Technology
  • Nonprofit
  • Retail
  • Hospitality
  • Healthcare

Contact Us

Contact
UK: +44 20 4551 1606
USA: +1 925 490 0401
AUS: +61 3 7066 4851
Email
Support
Address
Contact Us
Litmos Reviews Litmos Reviews
Litmos Careers Careers

© 2023 Litmos US, L.P. and affiliates. All rights reserved.

  • Privacy Statement
  • Terms & Conditions
  • Website Terms