* 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 Create Fulfillment Order Action ***********************************************************************/ // @TODO: set request. Action can be passed as MwsFbaOutboundServiceModel_CreateFulfillmentOrder $request = new MwsFbaOutboundServiceModel_CreateFulfillmentOrderRequest(); $request->setSellerId(MERCHANT_ID); // object or array of parameters invokeCreateFulfillmentOrder($service, $request); /** * Get Create Fulfillment Order 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 MwsFbaOutboundServiceModel_CreateFulfillmentOrder or array of parameters */ function invokeCreateFulfillmentOrder(FBAOutboundServiceMWS_Interface $service, $request) { try { $response = $service->CreateFulfillmentOrder($request); echo "Service Response\n";