/** * List All Fulfillment Orders * Gets the first set of fulfillment orders that are currently being * fulfilled or that were being fulfilled at some time in the past * (as specified by the query parameters). Also returns a NextToken * which can be used iterate through the remaining fulfillment orders * (via the ListAllFulfillmentOrdersByNextToken operation). * * If a NextToken is not returned, it indicates the end-of-data. * * If the QueryStartDateTime is set, the results will include all orders * currently being fulfilled, and all orders that were being fulfilled * since that date and time. * * @param mixed $request array of parameters for FBAOutboundServiceMWS_Model_ListAllFulfillmentOrders request or FBAOutboundServiceMWS_Model_ListAllFulfillmentOrders object itself * @see FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersRequest * @return FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersResponse * * @throws FBAOutboundServiceMWS_Exception */ public function listAllFulfillmentOrders($request) { if (!$request instanceof FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersRequest) { $request = new FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersRequest($request); } $parameters = $request->toQueryParameterArray(); $parameters['Action'] = 'ListAllFulfillmentOrders'; $httpResponse = $this->_invoke($parameters); $response = FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }
* Uncomment to try out Mock Service that simulates FBAOutboundServiceMWS * responses without calling FBAOutboundServiceMWS service. * * Responses are loaded from local XML files. You can tweak XML files to * experiment with various outputs during development * * XML files available under FBAOutboundServiceMWS/Mock tree * ***********************************************************************/ // $service = new FBAOutboundServiceMWS_Mock(); /************************************************************************ * Setup request parameters and uncomment invoke to try out * sample for List All Fulfillment Orders Action ***********************************************************************/ // @TODO: set request. Action can be passed as FBAOutboundServiceMWS_Model_ListAllFulfillmentOrders $request = new FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersRequest(); $request->setSellerId(MERCHANT_ID); // object or array of parameters invokeListAllFulfillmentOrders($service, $request); /** * Get List All Fulfillment Orders Action Sample * Gets competitive pricing and related information for a product identified by * the MarketplaceId and ASIN. * * @param FBAOutboundServiceMWS_Interface $service instance of FBAOutboundServiceMWS_Interface * @param mixed $request FBAOutboundServiceMWS_Model_ListAllFulfillmentOrders or array of parameters */ function invokeListAllFulfillmentOrders(FBAOutboundServiceMWS_Interface $service, $request) { try { $response = $service->ListAllFulfillmentOrders($request);