create Cart

Registeres shopping-cart for Simple Checkout dialog
See also: Simple Checkout flow diagram

Shipment method type enum:
  • APT - Automated Parcel Terminal. Destination is expressed as carrier-specific destinationId (see destinations)
    Supported carriers enum:
    • OMNIVA
    • DPD
  • COU - Courier. Destination is expressed as full address object
  • OTH - Other. For implementing 'Local pickup'. There is no destination. All info should be expressed via name attribute

In the example below we are using a dummy cartToOrder response generator, see the code here
  $cart = $MK->createScoCart( $cartReq );