OpenApi SDK

The @vsf-enterprise/sap-commerce-webservices-sdk package included in the default configuration contains Axios client functions and types definitions for SAP Commerce Webservices.

We generated the type definitions using the OpenAPI Generator (opens new window) with this API documentation (opens new window) as a source.

How to use it?

  1. Find client function/type which suits your requirements (file: src/api.ts )
  2. Import function/type where you need it.
  3. Fill in all required fields.

Updates

If you need to regenerate SDK, you need to run the following command in the root folder of the package:

yarn generate-sdk

This command will delete old files and regenerate new ones based on new sources.