Skip to content

ShipOrderItem does not work. #52

@internetboekhandel

Description

@internetboekhandel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions