Previous versions of the JavaScript/TypeScript SDK

View documentation for previous versions of the JavaScript/TypeScript SDK

JavaScript SDK V1



The JavaScript SDK has a middleware architecture. Allowing plugins or middlewares to be connected to the request. Middlewares allow for easy extensibility of the SDK. Find more information about the architecture here.

The following middlewares are supported:


The JavaScript SDK supports all authentication flows listed here.

If the SDK is used to generate the token, it stores a refresh token which is used to fetch a valid token if the old token expires.

Helper Libraries

These are libraries that help in building the final request.


Helps to construct the URI for the HTTP API endpoints in a declarative approach. You can find more information here.


Helps in generating update actions required to update an entity from an old state to a new state. You can find more information here.


Helps to retrieve Project credentials from the environment or file system. You can find more information here.


Creates a HTTP user-agent that can be added to the request. You can find more information here.

Node SDK

The Node SDK is no longer maintained. It should not be confused with the JavaScript SDK. If you are still using the Node SDK, a migration guide is available here.

Developer Center
HTTP APIGraphQL APIPlatform Release NotesCustom ApplicationsBETASDKs & Client LibrariesImport & ExportSUNRISE Starter FrontendsTutorialsFAQ
Merchant Center
DocumentationRelease Notes
Sign upLog inTech BlogIntegrationsStatusSupportUser Research Program
Copyright © 2022 commercetools
Privacy PolicyImprint