* responses without calling MarketplaceWebServiceProducts service. * * Responses are loaded from local XML files. You can tweak XML files to * experiment with various outputs during development * * XML files available under MarketplaceWebServiceProducts/Mock tree * ***********************************************************************/ // $service = new MwsProductsMock(); /************************************************************************ * Setup request parameters and uncomment invoke to try out * sample for Get Competitive Pricing For SKU Action ***********************************************************************/ // @TODO: set request. Action can be passed as GetCompetitivePricingForSKU $request = new GetCompetitivePricingForSKURequest(); $request->setSellerId(MERCHANT_ID); // object or array of parameters invokeGetCompetitivePricingForSKU($service, $request); /** * Get Get Competitive Pricing For SKU Action Sample * Gets competitive pricing and related information for a product identified by * the MarketplaceId and ASIN. * * @param MwsProductsInterface $service instance of MwsProductsInterface * @param mixed $request GetCompetitivePricingForSKU or array of parameters */ function invokeGetCompetitivePricingForSKU(MwsProductsInterface $service, $request) { try { $response = $service->GetCompetitivePricingForSKU($request); echo "Service Response\n";