Skip to content

Commit 23cb00e

Browse files
committed
Added item release date to inbound shipment creator
1 parent b5cd582 commit 23cb00e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

includes/classes/AmazonShipment.php

+10
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ public function setLabelPrepPreference($p) {
198198
* <li><b>SellerSKU</b> - max: 50 char</li>
199199
* <li><b>Quantity</b> - numeric</li>
200200
* <li><b>QuantityInCase</b> (optional) - numeric</li>
201+
* <li><b>PrepDetailsList</b> (optional) - array</li>
202+
* <ul>
203+
* <li><b>PrepInstruction</b> - "Polybagging", "BubbleWrapping", "Taping",
204+
* "BlackShrinkWrapping", "Labeling", or "HangGarment"</li>
205+
* <li><b>PrepOwner</b> - "AMAZON" or "SELLER"</li>
206+
* </ul>
207+
* <li><b>ReleaseDate</b> (optional) - date string</li>
201208
* </ul>
202209
* @param array $a <p>See above.</p>
203210
* @return boolean <b>FALSE</b> if improper input
@@ -231,6 +238,9 @@ public function setItems($a){
231238
$j++;
232239
}
233240
}
241+
if (array_key_exists('ReleaseDate', $x)){
242+
$this->options['InboundShipmentItems.member.'.$i.'.ReleaseDate'] = $this->genTime($x['ReleaseDate']);
243+
}
234244
$i++;
235245
} else {
236246
$this->resetItems();

0 commit comments

Comments
 (0)