我升級我的亞馬遜訂單下載腳本: $的serviceUrl = 「https://mws-eu.amazonservices.com/Orders/2011-01-01」 到 $的serviceUrl = 「https://mws-eu.amazonservices.com/Orders/2013-09-01」亞馬遜MWS:新的2013 ListOrders API錯誤
一些參數已經從陣列改變字符串。
使用ListOrdersSample.php我想只下載Unshipped和PartiallyShipped訂單,但我有格式化變量的困難。
暫存器我看到:
OrderStatus.Status.1 =未發貨 OrderStatus.Status.2 = PartiallyShipped
我曾嘗試:
//$orderStatuses='OrderStatus.Status.1=Unshipped,OrderStatus.Status.2=PartiallyShipped';
// $orderStatuses='Unshipped:PartiallyShipped';
// $orderStatuses='Unshipped&PartiallyShipped';
// $orderStatuses= (array("Unshipped", "PartiallyShipped"));
$orderStatuses='Unshipped';
$request->setOrderStatus($orderStatuses);
分離器的所有版本似乎失敗,並出現類似的錯誤:
Caught Exception: 1 validation error detected: Value '[Unshipped&PartiallyShipped]' at 'orderStatus' failed to satisfy constraint: Member must satisfy constraint: [Member must satisfy enum value set: [Unfulfillable, PartiallyShipped, PendingAvailability, Shipped, Pending, InvoiceUnconfirmed, Canceled, Unshipped]]
onl Y的一個工作是在它自己的註釋掉未發貨的話,我得到的錯誤:
Caught Exception: Unshipped and PartiallyShipped should be used together when filtering by OrderStatus. You cannot use one and not the other.
我有一個類似的問題,試圖列出多個marketplaceids。
任何幫助,將不勝感激