Closed lYesterdaYl closed 4 years ago
Same issue, did you fix it?
+1
got the solution . You need to add this in the ship method not in the rates one
$packageLineItem = new ComplexTypeShip\RequestedPackageLineItem();
$packageLineItem
->setSequenceNumber($p)
->setCustomerReferences([
'CustomerReferenceType' =>'CUSTOMER_REFERENCE',
'Value' => $to_reference
])
This is how it is done in the API documentation
What did I do wrong? I am not sure if this is bug or not.