1Net::Amazon::Request::EUxscehranCgoen(t3r)ibuted Perl DoNceutm:e:nAtmaatzioonn::Request::Exchange(3)
2
3
4
6 Net::Amazon::Request::Exchange - Class for submitting Exchange requests
7
9 use Net::Amazon;
10 use Net::Amazon::Request::Exchange;
11
12 my $ua = Net::Amazon->new(
13 token => 'YOUR_AMZN_TOKEN'
14 );
15
16 my $req = Net::Amazon::Request::Exchange->new(
17 exchange => 'Y04Y3424291Y2398445'
18 );
19
20 # Response is of type Net::Amazon::Response::Seller
21 my $resp = $ua->request($req);
22
24 "Net::Amazon::Request::Exchange" is a class used to submit Exchange
25 search requests to the Amazon web service. Exchange requests send an
26 item's exchange ID and retrieve a description of the item, offered by a
27 third party seller on Amazon.
28
29 Upon success, the responses' "result()" method will return a single
30 "Net::Amazon::Result::Seller::Listing" object.
31
32 Check Net::Amazon::Request for common request parameters not listed
33 here.
34
35 METHODS
36 new( exchange => $exchange_id )
37 Constructs a new "Net::Amazon::Request::Exchange" object, used to
38 query the Amazon web service with the given seller id.
39
41 Mike Schilli, <m@perlmeister.com>
42
44 Copyright 2005 by Mike Schilli <m@perlmeister.com>
45
46 This library is free software; you can redistribute it and/or modify it
47 under the same terms as Perl itself.
48
49
50
51perl v5.36.0 2022-07-22 Net::Amazon::Request::Exchange(3)