You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to create inbound shipment using "CreateInboundShipment" but i am getting error "400 Bad Request:Request is invalid - ShipmentName is required"
Since the "InboundShipmentHeader.ShipmentName" is required to create inbound shipment.
Can you please Help.
Thanks
The text was updated successfully, but these errors were encountered:
Add this function in AmazonShipment.php after setShipmentId($s) function
/**
* This function is created for set shipment name externally on 28-Sept-2020
* Sets the shipment Name. (Required)
* @param string $s <p>Shipment Name</p>
* @return boolean <b>FALSE</b> if improper input
*/
public function setShipmentName($s)
{
if (is_string($s) && $s) {
$this->options['InboundShipmentHeader.ShipmentName'] = $s;
} else {
return false;
}
}
And call $amzRequest->setShipmentName($shipmentName); with AmazonShipment object;
Hello, I am trying to create inbound shipment using "CreateInboundShipment" but i am getting error "400 Bad Request:Request is invalid - ShipmentName is required"
Since the "InboundShipmentHeader.ShipmentName" is required to create inbound shipment.
Can you please Help.
Thanks
The text was updated successfully, but these errors were encountered: