Create shipments

Creates shipments at carriers systems based on orders (Itella, Omniva, DPD..)
Requires your own credentials at these systems provided as input.

destination can be expressed:
  • for automated parcel terminal shipments - as 'destinationId' from list of destinations
  • for courier shipments - as object with 'postalCode', 'country', 'county', 'city', 'street'
<?php

$request_body = array(
    'credentials' => '',
    'orders' => '', 
    'app_info => '' );

$destinations = $MK->createShipments( $request_body );

?>

Request body (json) contains 2 sub-objects - array of credentials and array of orders.
To test you need to put in you credentials at Omniva and/or SmartPOST web services.