@plasma-platform/service-delivery
v1.6.3
Published
Delivery Service API
Downloads
93
Readme
Full documentation
install:npm i @plasma-platform/service-delivery -S
Short documentation
Table of Contents
DeliveryService
messages
object with class service messages
Type: object
getDeliveriesByOrderId
Get deliveries by order id
Parameters
Examples
(async () => {
const service = new DeliveryService(url, token);
const request = await service.getDeliveriesByOrderId(params);
})();
Returns Promise<any>
getDeliveryByProductId
DeliveryService - Get delivery by order and product ID
Parameters
Examples
(async () => {
const service = new DeliveryService(url, token);
const request = await service.getDeliveryByProductId(params);
})();
Returns Promise<any>
getDeliveriesByOrdersIds
DeliveryService - Get delivery by orders ids
Parameters
Examples
(async () => {
const service = new DeliveryService(url, token);
const request = await service.getDeliveriesByOrdersIds(params);
})();
Returns Promise<any>
getCountDownloadsProduct
DeliveryService - Count downloads product
Parameters
params
object
Examples
(async () => {
const service = new DeliveryService(url, token);
const request = await service.getCountDownloadsProduct(params);
})();
Returns Promise<any>