Open internetboekhandel opened 2 years ago
This still doesn't work, we tried so many things. ShipOrderItems does exist but keep given errors if used in the way discribed. ShipOrderItem cannot be found.
From May 1st we have to leave V4 and are are desperate by now.
/* @var \BolCom\RetailerApi\Model\ProcessStatus\ProcessStatus $processStatus / $processStatus = $messageBus->dispatch(\BolCom\RetailerApi\Model\Order\Command\ShipOrderItems::with( \BolCom\RetailerApi\Model\Order\OrderItemId::fromString('6107434013'), 'Shipment Reference', \BolCom\RetailerApi\Model\Transport\TransportInstruction::fromArray([ 'transporterCode' => 'TNT', 'trackAndTrace' => '123456789' ]) ));
Any advice on how to get this going? All other code for getting orders and updating offers is working fine.
With regards, Theo
This still doesn't work, we tried so many things. ShipOrderItems does exist but keep given errors if used in the way discribed. ShipOrderItem cannot be found.
From May 1st we have to leave V4 and are are desperate by now.
/* @var \BolCom\RetailerApi\Model\ProcessStatus\ProcessStatus $processStatus / $processStatus = $messageBus->dispatch(\BolCom\RetailerApi\Model\Order\Command\ShipOrderItems::with( \BolCom\RetailerApi\Model\Order\OrderItemId::fromString('6107434013'), 'Shipment Reference', \BolCom\RetailerApi\Model\Transport\TransportInstruction::fromArray([ 'transporterCode' => 'TNT', 'trackAndTrace' => '123456789' ]) ));
Any advice on how to get this going? All other code for getting orders and updating offers is working fine.
With regards, Theo