@teemill/ecommerce
v1.8.3
Published
OpenAPI client for @teemill/ecommerce
Readme
@teemill/[email protected]
This generator creates TypeScript/JavaScript client that utilizes axios. The generated Node module can be used in the following environments:
Environment
- Node.js
- Webpack
- Browserify
Language level
- ES5 - you must have a Promises/A+ library installed
- ES6
Module system
- CommonJS
- ES6 module system
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via package.json. (Reference)
Building
To build and compile the typescript sources to javascript use:
npm install
npm run buildPublishing
First build the package then run npm publish
Consuming
navigate to the folder of your consuming project and run one of the following commands.
published:
npm install @teemill/[email protected] --saveunPublished (not recommended):
npm install PATH_TO_GENERATED_PACKAGE --saveDocumentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- CollectionsApi | listCollections | GET /api/v1/collections | List collections CustomProductsApi | createCustomProduct | POST /api/v1/custom-products | Create custom product CustomProductsApi | getCustomProductCatalog | GET /api/v1/custom-products/catalog | List catalog products CustomProductsApi | getCustomProductCatalogProduct | GET /api/v1/custom-products/catalog/{productId} | Get catalog product OrdersApi | confirmOrder | POST /api/v1/orders/{orderId}/confirm | Confirm order OrdersApi | createOrder | POST /api/v1/orders | Create order OrdersApi | downloadInvoice | GET /api/v1/orders/{orderId}/invoice | Download an order invoice OrdersApi | getOrder | GET /api/v1/orders/{orderId} | Get order OrdersApi | listOrders | GET /api/v1/orders | List orders ProductsApi | listProducts | GET /api/v1/products | List products VariantsApi | getVariant | GET /api/v1/variants/{variantId} | Get variant
Documentation For Models
- Address
- ApiError
- ApplicationPlacement
- ApplicationTechnology
- Attribute
- Attribute1
- Collection
- CollectionImage
- CollectionProductFilters
- CollectionsResponse
- ConfirmOrderRequest
- ContactInformation
- CreateCustomProductRequest
- CreateCustomProductRequestApplication
- CreateCustomProductRequestVariant
- CreateOrderRequest
- CreateOrderRequestItemsInner
- CustomProduct
- CustomProductCatalog
- CustomProductCatalogListing
- CustomProductCatalogListingImagesInner
- CustomProductCatalogProduct
- CustomProductCatalogVariant
- CustomProductCatalogVariantApplicationsInner
- CustomProductCatalogVariantApplicationsInnerMockup
- CustomProductCatalogVariantApplicationsInnerMockupDesignPlacement
- CustomProductVariant
- CustomProductVariantApplicationsInner
- CustomProductVariantImagesInner
- Image
- Order
- OrderFulfillmentsInner
- OrderFulfillmentsInnerItemsInner
- OrderFulfillmentsInnerTracking
- OrderItem
- OrderItemOptionsInner
- OrderPayment
- Price
- Product
- ProductBrand
- ProductBrandLogo
- ProductsResponse
- Stock
- Temp
- Variant
- VariantTieredPricingInner
Documentation For Authorization
Authentication schemes defined for the API:
BearerAuth
- Type: Bearer authentication
