* responses without calling FBAInventoryServiceMWS service. * * Responses are loaded from local XML files. You can tweak XML files to * experiment with various outputs during development * * XML files available under FBAInventoryServiceMWS/Mock tree * ***********************************************************************/ // $service = new FBAInventoryServiceMWS_Mock(); /************************************************************************ * Setup request parameters and uncomment invoke to try out * sample for List Inventory Supply By Next Token Action ***********************************************************************/ // @TODO: set request. Action can be passed as FbaInventory_Model_ListInventorySupplyByNextToken $request = new FbaInventory_Model_ListInventorySupplyByNextTokenRequest(); $request->setSellerId(MERCHANT_ID); // object or array of parameters invokeListInventorySupplyByNextToken($service, $request); /** * Get List Inventory Supply By Next Token Action Sample * Gets competitive pricing and related information for a product identified by * the MarketplaceId and ASIN. * * @param FBAInventoryServiceMWS_Interface $service instance of FBAInventoryServiceMWS_Interface * @param mixed $request FbaInventory_Model_ListInventorySupplyByNextToken or array of parameters */ function invokeListInventorySupplyByNextToken(FBAInventoryServiceMWS_Interface $service, $request) { try { $response = $service->ListInventorySupplyByNextToken($request); echo "Service Response\n";