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?
- Find client
function/type
which suits your requirements (file:src/api.ts
) - Import
function/type
where you need it. - 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.