What is the first Handle in OrderLine_CreateFromData?
I am stuck with the API. I want to use OrderLine_CreateFromData
I have created the first order line with OrderLiube_Create sucessfully, but the next step gives me error.
$client->OrderLine_CreateFromData(array(
'Handle' => $orderlineHandle,
'Id' => $newOrderHandle->Id,
'Number' => 1,
'OrderHandle' => $newOrderHandle,
'Description' => 'Test Trans',
'DeliveryDate' => date('Y-m-d\THis'),
'ProductHandle' => $productHandle,
'Quantity' => 2,
'UnitNetPrice' => 2,
'UnitNetPrice' => 200,
'DiscountAsPercent' => 0,
'UnitCostPrice' => 150,
'TotalNetAmount' => 200,
'TotalMargin' => 0,
'MarginAsPercent' => 0
))->OrderLine_CreateFromDataResult;
What could make the error?