@plasma-platform/tm-service-delivery

Delivery Service API

Usage no npm install needed!

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

README

Documentation

Table of Contents

DeliveryService

messages

object with class service messages

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>