@plasma-platform/service-delivery

Delivery Service API

Usage no npm install needed!

<script type="module">
  import plasmaPlatformServiceDelivery from 'https://cdn.skypack.dev/@plasma-platform/service-delivery';
</script>

README

version nextVersion downloads license dependency


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>