amazon-mws-plus 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.project +12 -0
  4. data/Gemfile +13 -0
  5. data/README.markdown +30 -0
  6. data/Rakefile +50 -0
  7. data/amazon-mws-plus.gemspec +23 -0
  8. data/amazon-mws.tmproj +27 -0
  9. data/examples/xml/cancel_feed_submissions.xml +16 -0
  10. data/examples/xml/cancel_fulfillment_order.xml +6 -0
  11. data/examples/xml/cancel_report_requests.xml +18 -0
  12. data/examples/xml/create_fulfillment_order.xml +6 -0
  13. data/examples/xml/error.xml +10 -0
  14. data/examples/xml/get_feed_submission_count.xml +10 -0
  15. data/examples/xml/get_feed_submission_list.xml +18 -0
  16. data/examples/xml/get_feed_submission_list_by_next_token.xml +16 -0
  17. data/examples/xml/get_feed_submission_result.xml +30 -0
  18. data/examples/xml/get_fulfillment_order.xml +113 -0
  19. data/examples/xml/get_fulfillment_preview.xml +148 -0
  20. data/examples/xml/get_matching_product.xml +115 -0
  21. data/examples/xml/get_matching_product_for_id.xml +119 -0
  22. data/examples/xml/get_report.xml +237 -0
  23. data/examples/xml/get_report_count.xml +9 -0
  24. data/examples/xml/get_report_list.xml +17 -0
  25. data/examples/xml/get_report_request_count.xml +8 -0
  26. data/examples/xml/get_report_request_list.xml +120 -0
  27. data/examples/xml/get_report_request_list_by_next_token.xml +20 -0
  28. data/examples/xml/get_report_schedule_count.xml +10 -0
  29. data/examples/xml/get_report_schedule_list.xml +15 -0
  30. data/examples/xml/get_report_schedule_list_by_next_token.xml +15 -0
  31. data/examples/xml/list_all_fulfillment_orders.xml +69 -0
  32. data/examples/xml/list_all_fulfillment_orders_by_next_token.xml +61 -0
  33. data/examples/xml/manage_report_schedule.xml +14 -0
  34. data/examples/xml/orders_request.xml +39 -0
  35. data/examples/xml/request_order_items.xml +51 -0
  36. data/examples/xml/request_order_items_by_next_token.xml +51 -0
  37. data/examples/xml/request_orders.xml +43 -0
  38. data/examples/xml/request_orders_by_next_token.xml +69 -0
  39. data/examples/xml/request_report.xml +17 -0
  40. data/examples/xml/submit_feed.xml +14 -0
  41. data/examples/xml/update_report_acknowledgements.xml +18 -0
  42. data/examples/xsd/Inventory.xsd +49 -0
  43. data/examples/xsd/Item.xsd +285 -0
  44. data/examples/xsd/Listings.xsd +32 -0
  45. data/examples/xsd/OrderAcknowledgement.xsd +55 -0
  46. data/examples/xsd/OrderAdjustment.xsd +94 -0
  47. data/examples/xsd/OrderFulfillment.xsd +57 -0
  48. data/examples/xsd/Override.xsd +48 -0
  49. data/examples/xsd/Price.xsd +59 -0
  50. data/examples/xsd/ProcessingReport.xsd +87 -0
  51. data/examples/xsd/Product.xsd +220 -0
  52. data/examples/xsd/Product/AutoAccessory.xsd +807 -0
  53. data/examples/xsd/Product/Beauty.xsd +114 -0
  54. data/examples/xsd/Product/CE.xsd +544 -0
  55. data/examples/xsd/Product/CameraPhoto.xsd +2410 -0
  56. data/examples/xsd/Product/FoodAndBeverages.xsd +270 -0
  57. data/examples/xsd/Product/Gourmet.xsd +85 -0
  58. data/examples/xsd/Product/Health.xsd +189 -0
  59. data/examples/xsd/Product/Home.xsd +654 -0
  60. data/examples/xsd/Product/Jewelry.xsd +603 -0
  61. data/examples/xsd/Product/Miscellaneous.xsd +157 -0
  62. data/examples/xsd/Product/MusicalInstruments.xsd +853 -0
  63. data/examples/xsd/Product/Office.xsd +550 -0
  64. data/examples/xsd/Product/PetSupplies.xsd +40 -0
  65. data/examples/xsd/Product/ProductClothing.xsd +197 -0
  66. data/examples/xsd/Product/SWVG.xsd +238 -0
  67. data/examples/xsd/Product/Sports.xsd +308 -0
  68. data/examples/xsd/Product/TiresAndWheels.xsd +159 -0
  69. data/examples/xsd/Product/Tools.xsd +62 -0
  70. data/examples/xsd/Product/ToysBaby.xsd +241 -0
  71. data/examples/xsd/Product/Wireless.xsd +77 -0
  72. data/examples/xsd/ProductImage.xsd +39 -0
  73. data/examples/xsd/Relationship.xsd +47 -0
  74. data/examples/xsd/SettlementReport.xsd +158 -0
  75. data/examples/xsd/amzn-base.xsd +1600 -0
  76. data/examples/xsd/amzn-envelope.xsd +98 -0
  77. data/examples/xsd/amzn-header.xsd +45 -0
  78. data/lib/amazon-mws.rb +6 -0
  79. data/lib/amazon/mws.rb +69 -0
  80. data/lib/amazon/mws/authentication.rb +10 -0
  81. data/lib/amazon/mws/authentication/query_string.rb +36 -0
  82. data/lib/amazon/mws/authentication/signature.rb +43 -0
  83. data/lib/amazon/mws/base.rb +74 -0
  84. data/lib/amazon/mws/connection.rb +107 -0
  85. data/lib/amazon/mws/connection/management.rb +95 -0
  86. data/lib/amazon/mws/connection/request_builder.rb +67 -0
  87. data/lib/amazon/mws/exceptions.rb +55 -0
  88. data/lib/amazon/mws/lib/extensions.rb +178 -0
  89. data/lib/amazon/mws/lib/memoizable.rb +10 -0
  90. data/lib/amazon/mws/request/feed.rb +276 -0
  91. data/lib/amazon/mws/request/feed_builder.rb +83 -0
  92. data/lib/amazon/mws/request/fulfillment.rb +50 -0
  93. data/lib/amazon/mws/request/orders.rb +107 -0
  94. data/lib/amazon/mws/request/products.rb +38 -0
  95. data/lib/amazon/mws/request/report.rb +330 -0
  96. data/lib/amazon/mws/response.rb +43 -0
  97. data/lib/amazon/mws/response/feed/cancel_feed_submissions_response.rb +15 -0
  98. data/lib/amazon/mws/response/feed/get_feed_submission_count_response.rb +13 -0
  99. data/lib/amazon/mws/response/feed/get_feed_submission_list_by_next_token_response.rb +17 -0
  100. data/lib/amazon/mws/response/feed/get_feed_submission_list_response.rb +16 -0
  101. data/lib/amazon/mws/response/feed/get_feed_submission_result_response.rb +54 -0
  102. data/lib/amazon/mws/response/feed/models/feed_submission.rb +16 -0
  103. data/lib/amazon/mws/response/feed/submit_feed_response.rb +15 -0
  104. data/lib/amazon/mws/response/fulfillment_order/cancel_fulfillment_order_response.rb +11 -0
  105. data/lib/amazon/mws/response/fulfillment_order/create_fulfillment_order_response.rb +12 -0
  106. data/lib/amazon/mws/response/fulfillment_order/get_fulfillment_order_response.rb +19 -0
  107. data/lib/amazon/mws/response/fulfillment_order/list_all_fulfillment_orders_by_next_token_response.rb +16 -0
  108. data/lib/amazon/mws/response/fulfillment_order/list_all_fulfillment_orders_response.rb +15 -0
  109. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_address.rb +18 -0
  110. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_order.rb +24 -0
  111. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_order_item.rb +20 -0
  112. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_shipment.rb +18 -0
  113. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_shipment_item.rb +14 -0
  114. data/lib/amazon/mws/response/order/models/order.rb +43 -0
  115. data/lib/amazon/mws/response/order/models/order_item.rb +48 -0
  116. data/lib/amazon/mws/response/order/models/promotion_id.rb +9 -0
  117. data/lib/amazon/mws/response/order/request_get_order_response.rb +15 -0
  118. data/lib/amazon/mws/response/order/request_order_items_response.rb +25 -0
  119. data/lib/amazon/mws/response/order/request_orders_response.rb +28 -0
  120. data/lib/amazon/mws/response/product/get_matching_proudct.rb +31 -0
  121. data/lib/amazon/mws/response/product/models/product.rb +36 -0
  122. data/lib/amazon/mws/response/report/cancel_report_requests_response.rb +16 -0
  123. data/lib/amazon/mws/response/report/get_report_count_response.rb +13 -0
  124. data/lib/amazon/mws/response/report/get_report_list_response.rb +17 -0
  125. data/lib/amazon/mws/response/report/get_report_request_count_response.rb +13 -0
  126. data/lib/amazon/mws/response/report/get_report_request_list_by_next_token_response.rb +17 -0
  127. data/lib/amazon/mws/response/report/get_report_request_list_response.rb +17 -0
  128. data/lib/amazon/mws/response/report/get_report_schedule_count_response.rb +13 -0
  129. data/lib/amazon/mws/response/report/get_report_schedule_list_by_next_token_response.rb +17 -0
  130. data/lib/amazon/mws/response/report/get_report_schedule_list_response.rb +17 -0
  131. data/lib/amazon/mws/response/report/manage_report_schedule_response.rb +16 -0
  132. data/lib/amazon/mws/response/report/models/report_info.rb +16 -0
  133. data/lib/amazon/mws/response/report/models/report_request.rb +20 -0
  134. data/lib/amazon/mws/response/report/models/report_schedule.rb +13 -0
  135. data/lib/amazon/mws/response/report/request_report_response.rb +15 -0
  136. data/lib/amazon/mws/response/report/update_reports_acknowledgements_response.rb +16 -0
  137. data/lib/amazon/mws/response/response.rb +43 -0
  138. data/lib/amazon/mws/response/response_error.rb +21 -0
  139. data/test/connection_test.rb +14 -0
  140. data/test/feed_builder_test.rb +74 -0
  141. data/test/feed_test.rb +144 -0
  142. data/test/fulfillment_order.rb +49 -0
  143. data/test/orders_test.rb +78 -0
  144. data/test/products_test.rb +28 -0
  145. data/test/query_string_test.rb +18 -0
  146. data/test/report_test.rb +88 -0
  147. data/test/response_test.rb +172 -0
  148. data/test/signature_test.rb +32 -0
  149. data/test/test_config.yml +6 -0
  150. data/test/test_helper.rb +33 -0
  151. metadata +335 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 67e7108a8eebe96171ca272104c8c51e8da62701
4
+ data.tar.gz: 25c022b16e11f8d567f39541af6a5a5f5ac463de
5
+ SHA512:
6
+ metadata.gz: 424b1fdbdbabaffdd9868f38d3ccce2595e7d72cf0fb43119edfc313fa5fc3b0c14a40ffcaaf4d563e940dc5c6caca79bdecde84f0886302dd072432c2520c05
7
+ data.tar.gz: 794b5c44e043225c315a60c48919879801919b0d8676a77b5a5a66a304e75aa36afb4a968ed485829538bae6b63d241b1057aeac3c0c4df0eeec0ea1df46ba08
@@ -0,0 +1,10 @@
1
+ *.gem
2
+ .bundle
3
+ .DS_Store
4
+ coverage/*
5
+ Gemfile.lock
6
+ mws.yml
7
+ <<<<<<< HEAD
8
+ =======
9
+ pkg/*
10
+ >>>>>>> 347633c4099d5dcd7378c71e911d1e9fec2a4a3f
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <projectDescription>
3
+ <name>amazon-mws</name>
4
+ <comment></comment>
5
+ <projects>
6
+ </projects>
7
+ <buildSpec>
8
+ </buildSpec>
9
+ <natures>
10
+ <nature>org.radrails.rails.core.railsnature</nature>
11
+ </natures>
12
+ </projectDescription>
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in amazon-mws.gemspec
4
+ gemspec
5
+
6
+ group :test do
7
+ gem 'minitest'
8
+ gem 'mocha'
9
+
10
+ platform :ruby_19 do
11
+ gem 'simplecov'
12
+ end
13
+ end
@@ -0,0 +1,30 @@
1
+ Ruby library for Amazon Marketplace Web Service (MWS)
2
+ =====================================================
3
+
4
+ TODO
5
+ ===========
6
+
7
+ * Complete the Reports API
8
+ * Complete the Orders API
9
+ * The API calls in general are under development
10
+ * Parse the responses intelligently (not just as a hash)
11
+ * Better documentation
12
+
13
+ Intro
14
+ ===========
15
+
16
+ Amazon::MWS is a set of classes for using the Amazon Marketplace Web Service, a link to Amazon's Seller Central and to your Seller Central account.
17
+
18
+ This library is in active development, but should now work for the most part. If you would like to contribute to this project, please contact me.
19
+
20
+ These classes are modeled after aspects of AWS::S3 => http://amazon.rubyforge.org/
21
+
22
+ Description
23
+ ===========
24
+
25
+ Enjoy!
26
+
27
+ Usage
28
+ ===========
29
+
30
+ Stay tuned, we are working on it!
@@ -0,0 +1,50 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new do |t|
5
+ t.libs << 'test'
6
+ t.pattern = 'test/**/*_test.rb'
7
+ end
8
+
9
+ task :default => :test
10
+
11
+ namespace :whitespace do
12
+ FIND_FILE_BLACKLIST = "find . -type f | grep -v -e '.git/'"
13
+
14
+ desc 'Runs all whitespace tasks'
15
+ task :all do
16
+ Rake::Task["whitespace:remove_trailing"].invoke
17
+ Rake::Task["whitespace:covert_to_soft_tabs"].invoke
18
+ Rake::Task["whitespace:remove_blank_lines"].invoke
19
+ end
20
+
21
+ desc 'Removes trailing whitespace'
22
+ task :remove_trailing do
23
+ system %{
24
+ echo Removing trailing whitespace
25
+ for f in `#{FIND_FILE_BLACKLIST}`;
26
+ do cat $f | sed 's/[ \t]*$//' > .whitespace; cp .whitespace $f; rm .whitespace; echo $f;
27
+ done
28
+ }
29
+ end
30
+
31
+ desc 'Converts hard-tabs into two-space soft-tabs'
32
+ task :covert_to_soft_tabs do
33
+ system %{
34
+ echo Converting hard-tabs into two-space soft-tabs
35
+ for f in `#{FIND_FILE_BLACKLIST}`;
36
+ do cat $f | sed 's/\t/ /g' > .soft_tabs; cp .soft_tabs $f; rm .soft_tabs; echo $f;
37
+ done
38
+ }
39
+ end
40
+
41
+ desc 'Remove consecutive blank lines'
42
+ task :remove_blank_lines do
43
+ system %{
44
+ echo Removing consecutive blank lines
45
+ for f in `#{FIND_FILE_BLACKLIST}`;
46
+ do cat $f | sed '/./,/^$/!d' > .blank_lines; cp .blank_lines $f; rm .blank_lines; echo $f;
47
+ done
48
+ }
49
+ end
50
+ end
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = %q{amazon-mws-plus}
6
+ s.version = "0.1.3"
7
+
8
+ s.authors = ["David Michael", "A. Edward Wible"]
9
+ s.email = ["david.michael@sonymusic.com", "aewible@gmail.com"]
10
+ s.homepage = "http://github.com/aew/amazon-mws"
11
+ s.summary = %q{A Ruby Wrapper for the Amazon MWS API}
12
+ s.description = %q{A Ruby Wrapper for the Amazon MWS API}
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- {test,spec,features,examples}/*`.split("\n")
16
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ s.require_paths = ["lib"]
18
+
19
+ s.add_dependency "ruby-hmac", "~> 0.4.0"
20
+ s.add_dependency "roxml", "~> 3.3.1"
21
+ s.add_dependency "xml-simple", "~> 1.1.1"
22
+ s.add_dependency "builder", "~> 3.0.0"
23
+ end
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>documents</key>
6
+ <array>
7
+ <dict>
8
+ <key>name</key>
9
+ <string>amazon-mws</string>
10
+ <key>regexFolderFilter</key>
11
+ <string>!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
12
+ <key>selected</key>
13
+ <true/>
14
+ <key>sourceDirectory</key>
15
+ <string></string>
16
+ </dict>
17
+ </array>
18
+ <key>fileHierarchyDrawerWidth</key>
19
+ <integer>200</integer>
20
+ <key>metaData</key>
21
+ <dict/>
22
+ <key>showFileHierarchyDrawer</key>
23
+ <true/>
24
+ <key>windowFrame</key>
25
+ <string>{{383, 197}, {684, 336}}</string>
26
+ </dict>
27
+ </plist>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0"?>
2
+ <CancelFeedSubmissionsResponse
3
+ xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
4
+ <CancelFeedSubmissionsResult>
5
+ <Count>1</Count>
6
+ <FeedSubmissionInfo>
7
+ <FeedSubmissionId>2291326430</FeedSubmissionId>
8
+ <FeedType>_POST_PRODUCT_DATA_</FeedType>
9
+ <SubmittedDate>2009-02-20T02:10:35+00:00</SubmittedDate>
10
+ <FeedProcessingStatus>_CANCELLED_</FeedProcessingStatus>
11
+ </FeedSubmissionInfo>
12
+ </CancelFeedSubmissionsResult>
13
+ <ResponseMetadata>
14
+ <RequestId>18e78983-bbf9-43aa-a661-ae7696cb49d4</RequestId>
15
+ </ResponseMetadata>
16
+ </CancelFeedSubmissionsResponse>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0"?>
2
+ <CancelFulfillmentOrderResponse xmlns="http://mws.amazonaws.com/FulfillmentOutboundShipment/2010-10-01/">
3
+ <ResponseMetadata>
4
+ <RequestId>d95be26c-16cf-4bbc-ab58-dce89fd4ac53</RequestId>
5
+ </ResponseMetadata>
6
+ </CancelFulfillmentOrderResponse>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0"?>
2
+ <CancelReportRequestsResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
3
+ <CancelReportRequestsResult>
4
+ <Count>10</Count>
5
+ <ReportRequestInfo>
6
+ <ReportRequestId>2291326454</ReportRequestId>
7
+ <ReportType>_GET_MERCHANT_LISTINGS_DATA_</ReportType>
8
+ <StartDate>2009-01-21T02:10:39+00:00</StartDate>
9
+ <EndDate>2009-02-13T02:10:39+00:00</EndDate>
10
+ <Scheduled>false</Scheduled>
11
+ <SubmittedDate>2009-02-20T02:10:39+00:00</SubmittedDate>
12
+ <ReportProcessingStatus>_CANCELLED_</ReportProcessingStatus>
13
+ </ReportRequestInfo>
14
+ </CancelReportRequestsResult>
15
+ <ResponseMetadata>
16
+ <RequestId>a720f9d6-83e9-4684-bc35-065b41ed5ca4</RequestId>
17
+ </ResponseMetadata>
18
+ </CancelReportRequestsResponse>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0"?>
2
+ <CreateFulfillmentOrderResponse xmlns="http://mws.amazonaws.com/FulfillmentOutboundShipment/2010-10-01/">
3
+ <ResponseMetadata>
4
+ <RequestId>d95be26c-16cf-4bbc-ab58-dce89fd4ac53</RequestId>
5
+ </ResponseMetadata>
6
+ </CreateFulfillmentOrderResponse>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0"?>
2
+ <ErrorResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
3
+ <Error>
4
+ <Type>Sender</Type>
5
+ <Code>AccessDenied</Code>
6
+ <Message>Access to the resource Marketplace MARKETPLACE_ID is not a valid marketplace is denied.</Message>
7
+ <Detail/>
8
+ </Error>
9
+ <RequestID>75a808dd-72c6-4af4-b4ba-4b00f3153940</RequestID>
10
+ </ErrorResponse>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0"?>
2
+ <GetFeedSubmissionCountResponse
3
+ xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
4
+ <GetFeedSubmissionCountResult>
5
+ <Count>463</Count>
6
+ </GetFeedSubmissionCountResult>
7
+ <ResponseMetadata>
8
+ <RequestId>21e482a8-15c7-4da3-91a4-424995ed0756</RequestId>
9
+ </ResponseMetadata>
10
+ </GetFeedSubmissionCountResponse>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0"?>
2
+ <GetFeedSubmissionListResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
3
+ <GetFeedSubmissionListResult>
4
+ <NextToken>2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=</NextToken>
5
+ <HasNext>true</HasNext>
6
+ <FeedSubmissionInfo>
7
+ <FeedSubmissionId>2291326430</FeedSubmissionId>
8
+ <FeedType>_POST_PRODUCT_DATA_</FeedType>
9
+ <SubmittedDate>2009-02-20T02:10:35+00:00</SubmittedDate>
10
+ <FeedProcessingStatus>_SUBMITTED_</FeedProcessingStatus>
11
+ <StartedProcessingDate>2009-02-20T02:12:54+00:00</StartedProcessingDate>
12
+ <CompletedProcessingDate>2009-02-20T02:14:13+00:00</CompletedProcessingDate>
13
+ </FeedSubmissionInfo>
14
+ </GetFeedSubmissionListResult>
15
+ <ResponseMetadata>
16
+ <RequestId>1105b931-6f1c-4480-8e97-f3b467840a9e</RequestId>
17
+ </ResponseMetadata>
18
+ </GetFeedSubmissionListResponse>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0"?>
2
+ <GetFeedSubmissionListByNextTokenResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
3
+ <GetFeedSubmissionListByNextTokenResult>
4
+ <NextToken>none</NextToken>
5
+ <HasNext>false</HasNext>
6
+ <FeedSubmissionInfo>
7
+ <FeedSubmissionId>2291326430</FeedSubmissionId>
8
+ <FeedType>_POST_PRODUCT_DATA_</FeedType>
9
+ <SubmittedDate>2009-02-20T02:10:35+00:00</SubmittedDate>
10
+ <FeedProcessingStatus>_SUBMITTED_</FeedProcessingStatus>
11
+ </FeedSubmissionInfo>
12
+ </GetFeedSubmissionListByNextTokenResult>
13
+ <ResponseMetadata>
14
+ <RequestId>1105b931-6f1c-4480-8e97-f3b467840a9e</RequestId>
15
+ </ResponseMetadata>
16
+ </GetFeedSubmissionListByNextTokenResponse>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
3
+ <Header>
4
+ <DocumentVersion>1.02</DocumentVersion>
5
+ <MerchantIdentifier>M_EXAMPLE_9876543210</MerchantIdentifier>
6
+ </Header>
7
+ <MessageType>ProcessingReport</MessageType>
8
+ <Message>
9
+ <MessageID>1</MessageID>
10
+ <ProcessingReport>
11
+ <DocumentTransactionID>2060950676</DocumentTransactionID>
12
+ <StatusCode>Complete</StatusCode>
13
+ <ProcessingSummary>
14
+ <MessagesProcessed>0</MessagesProcessed>
15
+ <MessagesSuccessful>0</MessagesSuccessful>
16
+ <MessagesWithError>1</MessagesWithError>
17
+ <MessagesWithWarning>0</MessagesWithWarning>
18
+ </ProcessingSummary>
19
+ <Result>
20
+ <MessageID>0</MessageID>
21
+ <ResultCode>Error</ResultCode>
22
+ <ResultMessageCode>6001</ResultMessageCode>
23
+ <ResultDescription>XML parsing fatal error at line 1, column 1: Invalid document structure</ResultDescription>
24
+ <AdditionalInfo>
25
+ <SKU>0</SKU>
26
+ </AdditionalInfo>
27
+ </Result>
28
+ </ProcessingReport>
29
+ </Message>
30
+ </AmazonEnvelope>
@@ -0,0 +1,113 @@
1
+ <?xml version="1.0"?>
2
+ <GetFulfillmentOrderResponse xmlns="http://mws.amazonaws.com/FulfillmentOutboundShipment/2010-10-01/">
3
+ <GetFulfillmentOrderResult>
4
+ <FulfillmentOrderItem>
5
+ <member>
6
+ <SellerSKU>ssof_dev_drt_afn_item</SellerSKU>
7
+ <GiftMessage>test_giftwrap_message</GiftMessage>
8
+ <SellerFulfillmentOrderItemId>test_merchant_order_item_id_2
9
+ </SellerFulfillmentOrderItemId>
10
+ <EstimatedShipDateTime>2008-03-08T07:07:53Z
11
+ </EstimatedShipDateTime>
12
+ <DisplayableComment>test_displayable_comment</DisplayableComment>
13
+ <OrderItemDisposition>Sellable</OrderItemDisposition>
14
+ <UnfulfillableQuantity>0</UnfulfillableQuantity>
15
+ <CancelledQuantity>1</CancelledQuantity>
16
+ <Quantity>5</Quantity>
17
+ <EstimatedArrivalDateTime>2008-03-08T08:07:53Z
18
+ </EstimatedArrivalDateTime>
19
+ </member>
20
+ <member>
21
+ <SellerSKU>ssof_dev_drt_keep_this_afn_always</SellerSKU>
22
+ <GiftMessage>test_giftwrap_message</GiftMessage>
23
+ <SellerFulfillmentOrderItemId>test_merchant_order_item_id_1
24
+ </SellerFulfillmentOrderItemId>
25
+ <EstimatedShipDateTime>2008-03-09T07:07:53Z
26
+ </EstimatedShipDateTime>
27
+ <DisplayableComment>test_displayable_comment
28
+ </DisplayableComment>
29
+ <OrderItemDisposition>Sellable</OrderItemDisposition>
30
+ <UnfulfillableQuantity>2</UnfulfillableQuantity>
31
+ <CancelledQuantity>1</CancelledQuantity>
32
+ <Quantity>5</Quantity>
33
+ <EstimatedArrivalDateTime>2008-03-09T08:07:53Z
34
+ </EstimatedArrivalDateTime>
35
+ </member>
36
+ </FulfillmentOrderItem>
37
+ <FulfillmentOrder>
38
+ <ShippingSpeedCategory>Standard</ShippingSpeedCategory>
39
+ <NotificationEmailList>
40
+ <member>o8c2EXAMPLsfr7o@marketplace.amazon.com</member>
41
+ </NotificationEmailList>
42
+ <StatusUpdatedDateTime>2006-09-28T23:48:48Z
43
+ </StatusUpdatedDateTime>
44
+ <SellerFulfillmentOrderId>extern_id_1154539615776
45
+ </SellerFulfillmentOrderId>
46
+ <DestinationAddress>
47
+ <PostalCode>98101</PostalCode>
48
+ <PhoneNumber>206-555-1928</PhoneNumber>
49
+ <Name>Greg Miller</Name>
50
+ <CountryCode>US</CountryCode>
51
+ <Line1>123 Some St.</Line1>
52
+ <StateOrProvinceCode>WA</StateOrProvinceCode>
53
+ <City>Seattle</City>
54
+ <Line2>Apt. 321</Line2>
55
+ </DestinationAddress>
56
+ <FulfillmentMethod>Consumer</FulfillmentMethod>
57
+ <DisplayableOrderDateTime>2006-08-02T17:26:56Z
58
+ </DisplayableOrderDateTime>
59
+ <FulfillmentPolicy>FillOrKill</FulfillmentPolicy>
60
+ <ReceivedDateTime>2006-08-02T17:26:56Z</ReceivedDateTime>
61
+ <DisplayableOrderId>test_displayable_id</DisplayableOrderId>
62
+ <DisplayableOrderComment>Sample comment.
63
+ </DisplayableOrderComment>
64
+ <FulfillmentOrderStatus>PROCESSING</FulfillmentOrderStatus>
65
+ </FulfillmentOrder>
66
+ <FulfillmentShipment>
67
+ <member>
68
+ <FulfillmentShipmentStatus>PENDING</FulfillmentShipmentStatus>
69
+ <FulfillmentShipmentItem>
70
+ <member>
71
+ <SellerSKU>ssof_dev_drt_afn_item</SellerSKU>
72
+ <SellerFulfillmentOrderItemId>test_merchant_order_item_id_2
73
+ </SellerFulfillmentOrderItemId>
74
+ <Quantity>2</Quantity>
75
+ <PackageNumber>0</PackageNumber>
76
+ </member>
77
+ </FulfillmentShipmentItem>
78
+ <AmazonShipmentId>DnMDLWJWN</AmazonShipmentId>
79
+ <ShippingDateTime>2006-08-04T07:00:00Z</ShippingDateTime>
80
+ <FulfillmentCenterId>RNO1</FulfillmentCenterId>
81
+ <EstimatedArrivalDateTime>2006-08-12T07:00:00Z
82
+ </EstimatedArrivalDateTime>
83
+ </member>
84
+ <member>
85
+ <FulfillmentShipmentStatus>SHIPPED</FulfillmentShipmentStatus>
86
+ <FulfillmentShipmentItem>
87
+ <member>
88
+ <SellerSKU>ssof_dev_drt_afn_item</SellerSKU>
89
+ <SellerFulfillmentOrderItemId>test_merchant_order_item_id_2
90
+ </SellerFulfillmentOrderItemId>
91
+ <Quantity>1</Quantity>
92
+ <PackageNumber>1</PackageNumber>
93
+ </member>
94
+ </FulfillmentShipmentItem>
95
+ <AmazonShipmentId>DKMKLXJmN</AmazonShipmentId>
96
+ <ShippingDateTime>2006-08-03T07:00:00Z</ShippingDateTime>
97
+ <FulfillmentShipmentPackage>
98
+ <member>
99
+ <TrackingNumber>93ZZ00</TrackingNumber>
100
+ <CarrierCode>UPS</CarrierCode>
101
+ <PackageNumber>1</PackageNumber>
102
+ </member>
103
+ </FulfillmentShipmentPackage>
104
+ <FulfillmentCenterId>TST1</FulfillmentCenterId>
105
+ <EstimatedArrivalDateTime>2006-08-12T07:00:00Z
106
+ </EstimatedArrivalDateTime>
107
+ </member>
108
+ </FulfillmentShipment>
109
+ </GetFulfillmentOrderResult>
110
+ <ResponseMetadata>
111
+ <RequestId>5e5e5694-8e76-11df-929f-87c80302f8f6</RequestId>
112
+ </ResponseMetadata>
113
+ </GetFulfillmentOrderResponse>
@@ -0,0 +1,148 @@
1
+ <?xml version="1.0"?>
2
+ <GetFulfillmentPreviewResponse xmlns="http://mws.amazonaws.com/FulfillmentInboundShipment/2010-10-01/">
3
+ <GetFulfillmentPreviewResult>
4
+ <FulfillmentPreviews>
5
+ <member>
6
+ <EstimatedShippingWeight>
7
+ <Unit>POUNDS</Unit>
8
+ <Value>12</Value>
9
+ </EstimatedShippingWeight>
10
+ <ShippingSpeedCategory>Expedited</ShippingSpeedCategory>
11
+ <FulfillmentPreviewShipments>
12
+ <member>
13
+ <LatestShipDate>2010-07-14T00:30:00Z</LatestShipDate>
14
+ <LatestArrivalDate>2010-07-16T06:59:59Z</LatestArrivalDate>
15
+ <FulfillmentPreviewItems>
16
+ <member>
17
+ <EstimatedShippingWeight>
18
+ <Unit>POUNDS</Unit>
19
+ <Value>5</Value>
20
+ </EstimatedShippingWeight>
21
+ <SellerSKU>SampleSKU1</SellerSKU>
22
+ <SellerFulfillmentOrderItemId>
23
+ mws-test-query-20100713023406723-2
24
+ </SellerFulfillmentOrderItemId>
25
+ <ShippingWeightCalculationMethod>Package
26
+ </ShippingWeightCalculationMethod>
27
+ <Quantity>2</Quantity>
28
+ </member>
29
+ <member>
30
+ <EstimatedShippingWeight>
31
+ <Unit>POUNDS</Unit>
32
+ <Value>0.290</Value>
33
+ </EstimatedShippingWeight>
34
+ <SellerSKU>SampleSKU2</SellerSKU>
35
+ <SellerFulfillmentOrderItemId>
36
+ mws-test-query-20100713023406723-1
37
+ </SellerFulfillmentOrderItemId>
38
+ <ShippingWeightCalculationMethod>Package
39
+ </ShippingWeightCalculationMethod>
40
+ <Quantity>1</Quantity>
41
+ </member>
42
+ </FulfillmentPreviewItems>
43
+ <EarliestShipDate>2010-07-14T00:30:00Z</EarliestShipDate>
44
+ <EarliestArrivalDate>2010-07-15T07:00:00Z
45
+ </EarliestArrivalDate>
46
+ </member>
47
+ </FulfillmentPreviewShipments>
48
+ <EstimatedFees>
49
+ <member>
50
+ <Amount>
51
+ <CurrencyCode>USD</CurrencyCode>
52
+ <Value>2.25</Value>
53
+ </Amount>
54
+ <Name>FBAPerUnitFulfillmentFee</Name>
55
+ </member>
56
+ <member>
57
+ <Amount>
58
+ <CurrencyCode>USD</CurrencyCode>
59
+ <Value>4.75</Value>
60
+ </Amount>
61
+ <Name>FBAPerOrderFulfillmentFee</Name>
62
+ </member>
63
+ <member>
64
+ <Amount>
65
+ <CurrencyCode>USD</CurrencyCode>
66
+ <Value>6.60</Value>
67
+ </Amount>
68
+ <Name>FBATransportationFee</Name>
69
+ </member>
70
+ </EstimatedFees>
71
+ <UnfulfillablePreviewItems/>
72
+ <IsFulfillable>true</IsFulfillable>
73
+ </member>
74
+ <member>
75
+ <EstimatedShippingWeight>
76
+ <Unit>POUNDS</Unit>
77
+ <Value>12</Value>
78
+ </EstimatedShippingWeight>
79
+ <ShippingSpeedCategory>Standard</ShippingSpeedCategory>
80
+ <FulfillmentPreviewShipments>
81
+ <member>
82
+ <LatestShipDate>2010-07-14T00:30:00Z</LatestShipDate>
83
+ <LatestArrivalDate>2010-07-19T06:59:59Z</LatestArrivalDate>
84
+ <FulfillmentPreviewItems>
85
+ <member>
86
+ <EstimatedShippingWeight>
87
+ <Unit>POUNDS</Unit>
88
+ <Value>5</Value>
89
+ </EstimatedShippingWeight>
90
+ <SellerSKU>SampleSKU1</SellerSKU>
91
+ <SellerFulfillmentOrderItemId>
92
+ mws-test-query-20100713023406723-2
93
+ </SellerFulfillmentOrderItemId>
94
+ <ShippingWeightCalculationMethod>Package
95
+ </ShippingWeightCalculationMethod>
96
+ <Quantity>2</Quantity>
97
+ </member>
98
+ <member>
99
+ <EstimatedShippingWeight>
100
+ <Unit>POUNDS</Unit>
101
+ <Value>0.290</Value>
102
+ </EstimatedShippingWeight>
103
+ <SellerSKU>SampleSKU2</SellerSKU>
104
+ <SellerFulfillmentOrderItemId>
105
+ mws-test-query-20100713023406723-1
106
+ </SellerFulfillmentOrderItemId>
107
+ <ShippingWeightCalculationMethod>Package
108
+ </ShippingWeightCalculationMethod>
109
+ <Quantity>1</Quantity>
110
+ </member>
111
+ </FulfillmentPreviewItems>
112
+ <EarliestShipDate>2010-07-14T00:30:00Z</EarliestShipDate>
113
+ <EarliestArrivalDate>2010-07-15T07:00:00Z
114
+ </EarliestArrivalDate>
115
+ </member>
116
+ </FulfillmentPreviewShipments>
117
+ <EstimatedFees>
118
+ <member>
119
+ <Amount>
120
+ <CurrencyCode>USD</CurrencyCode>
121
+ <Value>2.25</Value>
122
+ </Amount>
123
+ <Name>FBAPerUnitFulfillmentFee</Name>
124
+ </member>
125
+ <member>
126
+ <Amount>
127
+ <CurrencyCode>USD</CurrencyCode>
128
+ <Value>4.75</Value>
129
+ </Amount>
130
+ <Name>FBAPerOrderFulfillmentFee</Name>
131
+ </member>
132
+ <member>
133
+ <Amount>
134
+ <CurrencyCode>USD</CurrencyCode>
135
+ <Value>6.60</Value>
136
+ </Amount>
137
+ <Name>FBATransportationFee</Name>
138
+ </member>
139
+ </EstimatedFees>
140
+ <UnfulfillablePreviewItems/>
141
+ <IsFulfillable>true</IsFulfillable>
142
+ </member>
143
+ </FulfillmentPreviews>
144
+ </GetFulfillmentPreviewResult>
145
+ <ResponseMetadata>
146
+ <RequestId>f4c29ec4-ceb7-4608-a764-5c758ac0021a</RequestId>
147
+ </ResponseMetadata>
148
+ </GetFulfillmentPreviewResponse>