EPiServer released Service API some time ago but it was missing an API for Customers, Carts and Order. We have now released additional Service API endpoints for this Commerce functionality.
Geta's Service API package is still pre-release but you can start using it. API is quite stable and no breaking changes are planned.
Install Service API Web API using NuGet.
Install-Package Geta.ServiceApi.Commerce -Prerelease
Web API package provides three resources:
Full documentation for resources can be seen by installing Swagger support into your project or by setting up demo project and browsing to https://serviceapi.localtest.me/swagger. There are also integration tests available.
Install Service API WebHooks using NuGet. This will allow 3rd party applications to get notified when different events, like a new order has been updated or created for instance, to subscribe and be notified about this.
Install-Package Geta.ServiceApi.Commerce.WebHooks -Prerelease
WebHooks supports these EPiServer events:
WebHooks registration example can be seen in integration tests.
Source code and documentation available on GitHub.
Issues can be reported on GitHub.