AmazonShipmentItemList required parameter update
Closed this issue · 0 comments
MondstaubUG commented
Hey,
just found out, that AmazonShipmentItemList does require ShipmentID OR a time range.
ShipmentID required, if LastUpdatedAfter and LastUpdatedBefore are not specified. If ShipmentId is specified, LastUpdatedBefore and LastUpdatedAfter are ignored.
https://docs.developer.amazonservices.com/en_US/fba_inbound/FBAInbound_ListInboundShipmentItems.html
Sould be:
if (array_key_exists('ShipmentId', $this->options) or array_key_exists('setTimeLimits', $this->options)) {
$this->log('Shipment ID **or TimeLimits** must be set before requesting items!', 'Warning');
return false;
}
hope this helps :)