Introducing CS-Cart API

Hello!

CS-Cart 3.1.1 is on its way, ready to deliver a pack of great new features.

One of these features is the API. It is a long-awaited feature, and we are very proud to be able to announce it.

In this article, I will briefly tell you about some key points of CS-Cart API.

What is CS-Cart API

Basically, API is an interface used for app-to-app communication. Using API, one application can access and modify the data of another application. One of the most commonly used API paradigms is REST, which will be used in CS-Cart as well.

With the help of CS-Cart API, it will be possible to view and edit a store’s data by sending standard HTTP requests to it (over a secure channel, if necessary), with no need to open the CS-Cart admin panel or the storefront in a browser.

Features

The objects that can be managed remotely via the API in CS-Cart 3.1.1 are:

  • Products
  • Categories
  • Users
  • Settings

Such an object can be viewed, created, or removed, and its properties can be modified individually.

With the help of the API, a third party developer can write applications to communicate with a CS-Cart store quickly and easily.

Security

Users must be explicitly granted API access in the profile settings via the CS-Cart admin panel in order to use it. A unique security key will be generated, which will serve as the access password when sending API requests:

API Security

Regular user permissions are applied as well, and only a user with sufficient privileges will be able make changes in the store database.


This is just a brief overview of our new API. The full developer guide will be published later on our site. Stay tuned!

API will be one of the greatest features of CS-Cart, and we are looking forward to people using it. We are happy to answer any questions you may have in the comments section.

22 Responses to “Introducing CS-Cart API”

  1. Stephen says:

    Very cool news

  2. Lesiu says:

    Fantastic, finally. I hope that documentation will be sufficient.

  3. p-Pharma says:

    Will it be possible to turn addons on/off per storefront?

  4. Tom says:

    While this is a start in the right direction, what does this mean for users as opposed to admins? It looks like it’s not a cart API, so I assume one cannot make a native mobile application to order items through the software from their phone. If that’s the case, what about general product browsing for all users?

    • Dear Tom,

      Thank you for the great question!

      Order handling is planned to be added in the future version of the API. The objects listed in the post are just something to start with.

      Order placement from 3rd party applications on behalf of a customer via the API is also considered in the future.

  5. Peter says:

    Will the new API have access to customer Orders? I was hoping to be able to download them in this way from a third party app.

  6. Haris says:

    This is great news! but there is a BIG BUT….. I would expect that the api would also support creating orders. This is a BIG must for integrating cs cart with a m-commerce app. Awaiting for your comments on that. Thanks anyway

    • Dear Haris,

      Yes, the first API version does not include order management, but this is to be added in the future.

      We understand that this is an important point for third party developers, and we will do our best to provide this feature as fast as possible.

      • Haris says:

        Dear Konstantin

        Thank you for the update.

        I hope the order management API will not take too long, since it is an essential part of the API. Is there any kind of ETA?

        At any case, this was a great enhancement for CS Cart. Keep up the good work. Thanks, haris

  7. rav says:

    Is this API is sufficient enough for developing iphone or android app for our stores.

    • Hello,

      The API wii be able to be used for any kind of development, regardless of the platform type.

      The actual answer on your question depends on what functionality you want to have in the application. Some features are yet to be implemented in the future versions of the API.

  8. Faisal says:

    In ver 3.1.1 Ultimate will there be e-Bay Integration ?

  9. Yannis says:

    when do you estimate 3.1.1 will be released?

  10. Luca says:

    Do you plan to add order management to the API?

    like, collecting pending orders and updating order status and stuff like that, to integrate CS Cart with other management/billing/ERP softwares already in use.