Installing API SDKs
- Platform API SDK::
npm install --save @commercetools/platform-sdk
- Import API SDK::
npm install --save @commercetools/importapi-sdk
- Machine Learning API SDK::
npm install --save @commercetools/ml-sdk
Other important Links
The new Beta SDK client V2 has inbuilt HTTP and Auth and other middlewares and hence is easier to use.
The following middleware is currently supported:
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.
These are libraries that help in building the final request.
Helps construct the URI for the HTTP API endpoints in a declarative approach. Learn more
Helps generate update actions required to update an entity from an old state to a new state. Learn more
Helps retrieve project credentials from the environment or file system. Learn more
Creates a HTTP user-agent that can be added to the request. Learn more