UltraCartRestApiV2 is the official JavaScript/TypeScript client for UltraCart REST API Version 2. Current stable version is 4.1.100, released via npm and automatically generated by OpenAPI Generator. It supports both Node.js and browser environments (via bundlers). The SDK covers all UltraCart API endpoints for order management, customer profiles, items, and more, with optional expansion parameters to control payload size. Key differentiator: full coverage of UltraCart's REST API with ready-to-use API clients (OrderApi, CustomerApi, etc.) and examples for every call.
npm install ultra_cart_rest_api_v2No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to import and use the OrderApi to fetch a single order with specified expansion fields.
Wrap in new Promise as shown in quickstart example.
Use { _expand: 'item,summary,...' } in the options object.Use new ApiClient() and set basePath, apiKey, etc.
Add module: { rules: [ { parser: { amd: false } } ] } to Webpack config.Install via npm: npm install superagent --save
Use import { OrderApi } from 'ultra_cart_rest_api_v2' and create instance: const orderApi = new OrderApi(ApiClient.instance);