mws_rb 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.rspec +2 -0
- data/.rubocop.yml +2 -0
- data/.ruby-gemset +1 -0
- data/.travis.yml +9 -0
- data/CHANGELOG.md +43 -0
- data/Gemfile +3 -0
- data/Guardfile +12 -0
- data/LICENSE +20 -0
- data/README.markdown +73 -0
- data/Rakefile +1 -0
- data/lib/mws.rb +51 -0
- data/lib/mws/api/base.rb +55 -0
- data/lib/mws/api/feeds.rb +30 -0
- data/lib/mws/api/feeds/envelope.rb +84 -0
- data/lib/mws/api/feeds/xsd/AdditionalProductInformation.xsd +23 -0
- data/lib/mws/api/feeds/xsd/Amazon.xsd +94 -0
- data/lib/mws/api/feeds/xsd/Arts.xsd +144 -0
- data/lib/mws/api/feeds/xsd/AutoAccessory.xsd +1714 -0
- data/lib/mws/api/feeds/xsd/Baby.xsd +206 -0
- data/lib/mws/api/feeds/xsd/Beauty.xsd +170 -0
- data/lib/mws/api/feeds/xsd/Books.xsd +135 -0
- data/lib/mws/api/feeds/xsd/CE.xsd +2878 -0
- data/lib/mws/api/feeds/xsd/CameraPhoto.xsd +2612 -0
- data/lib/mws/api/feeds/xsd/ClothingAccessories.xsd +128 -0
- data/lib/mws/api/feeds/xsd/Computers.xsd +2347 -0
- data/lib/mws/api/feeds/xsd/EUCompliance.xsd +24 -0
- data/lib/mws/api/feeds/xsd/EntertainmentCollectibles.xsd +99 -0
- data/lib/mws/api/feeds/xsd/FBA.xsd +28 -0
- data/lib/mws/api/feeds/xsd/FoodAndBeverages.xsd +1000 -0
- data/lib/mws/api/feeds/xsd/FoodServiceAndJanSan.xsd +216 -0
- data/lib/mws/api/feeds/xsd/FulfillmentCenter.xsd +57 -0
- data/lib/mws/api/feeds/xsd/GiftCards.xsd +97 -0
- data/lib/mws/api/feeds/xsd/Gourmet.xsd +85 -0
- data/lib/mws/api/feeds/xsd/Health.xsd +335 -0
- data/lib/mws/api/feeds/xsd/Home.xsd +1362 -0
- data/lib/mws/api/feeds/xsd/HomeImprovement.xsd +1065 -0
- data/lib/mws/api/feeds/xsd/Industrial.xsd +315 -0
- data/lib/mws/api/feeds/xsd/Inventory.xsd +49 -0
- data/lib/mws/api/feeds/xsd/Jewelry.xsd +916 -0
- data/lib/mws/api/feeds/xsd/LabSupplies.xsd +178 -0
- data/lib/mws/api/feeds/xsd/LargeAppliances.xsd +646 -0
- data/lib/mws/api/feeds/xsd/Lighting.xsd +243 -0
- data/lib/mws/api/feeds/xsd/Listings.xsd +32 -0
- data/lib/mws/api/feeds/xsd/Luggage.xsd +93 -0
- data/lib/mws/api/feeds/xsd/MechanicalFasteners.xsd +172 -0
- data/lib/mws/api/feeds/xsd/Miscellaneous.xsd +157 -0
- data/lib/mws/api/feeds/xsd/Motorcycles.xsd +348 -0
- data/lib/mws/api/feeds/xsd/Music.xsd +251 -0
- data/lib/mws/api/feeds/xsd/MusicalInstruments.xsd +853 -0
- data/lib/mws/api/feeds/xsd/Office.xsd +586 -0
- data/lib/mws/api/feeds/xsd/OrderAcknowledgement.xsd +55 -0
- data/lib/mws/api/feeds/xsd/OrderAdjustment.xsd +175 -0
- data/lib/mws/api/feeds/xsd/OrderFulfillment.xsd +57 -0
- data/lib/mws/api/feeds/xsd/Override.xsd +48 -0
- data/lib/mws/api/feeds/xsd/PetSupplies.xsd +197 -0
- data/lib/mws/api/feeds/xsd/PowerTransmission.xsd +87 -0
- data/lib/mws/api/feeds/xsd/Price.xsd +59 -0
- data/lib/mws/api/feeds/xsd/ProcessingReport.xsd +87 -0
- data/lib/mws/api/feeds/xsd/Product.xsd +399 -0
- data/lib/mws/api/feeds/xsd/ProductClothing.xsd +285 -0
- data/lib/mws/api/feeds/xsd/ProductImage.xsd +39 -0
- data/lib/mws/api/feeds/xsd/RawMaterials.xsd +125 -0
- data/lib/mws/api/feeds/xsd/Relationship.xsd +47 -0
- data/lib/mws/api/feeds/xsd/SWVG.xsd +345 -0
- data/lib/mws/api/feeds/xsd/SettlementReport.xsd +158 -0
- data/lib/mws/api/feeds/xsd/Shoes.xsd +213 -0
- data/lib/mws/api/feeds/xsd/Sports.xsd +772 -0
- data/lib/mws/api/feeds/xsd/SportsMemorabilia.xsd +55 -0
- data/lib/mws/api/feeds/xsd/TiresAndWheels.xsd +159 -0
- data/lib/mws/api/feeds/xsd/Tools.xsd +82 -0
- data/lib/mws/api/feeds/xsd/Toys.xsd +272 -0
- data/lib/mws/api/feeds/xsd/ToysBaby.xsd +335 -0
- data/lib/mws/api/feeds/xsd/Video.xsd +406 -0
- data/lib/mws/api/feeds/xsd/WineAndAlcohol.xsd +181 -0
- data/lib/mws/api/feeds/xsd/Wireless.xsd +128 -0
- data/lib/mws/api/feeds/xsd/amzn-base.xsd +4350 -0
- data/lib/mws/api/feeds/xsd/amzn-envelope.xsd +98 -0
- data/lib/mws/api/feeds/xsd/amzn-header.xsd +45 -0
- data/lib/mws/api/fulfillment_inbound_shipment.rb +16 -0
- data/lib/mws/api/fulfillment_inventory.rb +14 -0
- data/lib/mws/api/fulfillment_outbound_shipment.rb +24 -0
- data/lib/mws/api/orders.rb +16 -0
- data/lib/mws/api/products.rb +19 -0
- data/lib/mws/api/recommendations.rb +14 -0
- data/lib/mws/api/reports.rb +17 -0
- data/lib/mws/api/sellers.rb +18 -0
- data/lib/mws/api/subscriptions.rb +15 -0
- data/lib/mws/connection.rb +56 -0
- data/lib/mws/query.rb +104 -0
- data/lib/mws/version.rb +4 -0
- data/mws_rb.gemspec +32 -0
- data/spec/fixtures/vcr_cassettes/feeds/submit_feed/invalid_request.yml +194 -0
- data/spec/fixtures/vcr_cassettes/feeds/submit_feed/text_request.yml +188 -0
- data/spec/fixtures/vcr_cassettes/feeds/submit_feed/xml_request.yml +224 -0
- data/spec/mws-rb/api/base_spec.rb +48 -0
- data/spec/mws-rb/api/feeds/envelope/general_spec.rb +31 -0
- data/spec/mws-rb/api/feeds/envelope/xml_building_spec.rb +101 -0
- data/spec/mws-rb/api/feeds_spec.rb +88 -0
- data/spec/mws-rb/api/fulfillment_inbound_shipment_spec.rb +24 -0
- data/spec/mws-rb/api/fulfillment_inventory_spec.rb +24 -0
- data/spec/mws-rb/api/fulfillment_outbound_shipment_spec.rb +24 -0
- data/spec/mws-rb/api/orders_spec.rb +24 -0
- data/spec/mws-rb/api/products_spec.rb +24 -0
- data/spec/mws-rb/api/recommendations_spec.rb +24 -0
- data/spec/mws-rb/api/reports_spec.rb +24 -0
- data/spec/mws-rb/api/sellers_spec.rb +28 -0
- data/spec/mws-rb/api/subscriptions_spec.rb +24 -0
- data/spec/mws-rb/connection_spec.rb +77 -0
- data/spec/mws-rb/mws_spec.rb +12 -0
- data/spec/mws-rb/query_spec.rb +150 -0
- data/spec/spec_helper.rb +17 -0
- metadata +310 -0
data/lib/mws/version.rb
ADDED
data/mws_rb.gemspec
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
|
2
|
+
require 'mws/version'
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = 'mws_rb'
|
6
|
+
s.version = MWS::VERSION
|
7
|
+
s.authors = ['Jhimy Fernandes Villar']
|
8
|
+
s.email = ['stjhimy@gmail.com']
|
9
|
+
s.homepage = 'http://github.com/veeqo/mws-rb'
|
10
|
+
s.summary = 'Amazon MWS Gem'
|
11
|
+
s.description = "A complete wrapper for Amazon.com's Marketplace Web Service (MWS) API."
|
12
|
+
s.license = 'MIT'
|
13
|
+
|
14
|
+
s.rubyforge_project = 'ruby-mws'
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.require_paths = ['lib']
|
19
|
+
|
20
|
+
s.add_development_dependency 'rspec', '~> 3.4'
|
21
|
+
s.add_development_dependency 'guard', '~> 2.13'
|
22
|
+
s.add_development_dependency 'guard-rspec', '~> 4.6'
|
23
|
+
s.add_development_dependency 'guard-rubocop', '~> 1.2.0'
|
24
|
+
s.add_development_dependency 'vcr', '~> 3.0'
|
25
|
+
s.add_development_dependency 'webmock', '~> 1.22'
|
26
|
+
|
27
|
+
s.add_dependency 'httparty', '~> 0.13'
|
28
|
+
s.add_dependency 'nokogiri', '~> 1.6'
|
29
|
+
s.add_dependency 'activesupport', '~> 3.0'
|
30
|
+
s.add_dependency 'addressable', '~> 2.3'
|
31
|
+
s.add_dependency 'builder', '~> 3.2'
|
32
|
+
end
|
@@ -0,0 +1,194 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&SellerId=DUMMY_AWS_SELLER_ID&Signature=YhLXlDNxtEoA0JFn1Ou/g78cCk3wRsmm7DQM5Osv52U=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:48:47%2B03:00&Type=text&Version=2009-01-01
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "sku\tquantity\nLG-WHITE-1389247\t9"
|
9
|
+
headers:
|
10
|
+
Content-Md5:
|
11
|
+
- onDs6N53e7eIV6Clv1x4ag==
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 400
|
15
|
+
message: Bad Request
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Tue, 30 Jun 2015 12:48:47 GMT
|
19
|
+
Server:
|
20
|
+
- AmazonMWS
|
21
|
+
X-Mws-Quota-Max:
|
22
|
+
- '30.0'
|
23
|
+
X-Mws-Quota-Remaining:
|
24
|
+
- '30.0'
|
25
|
+
X-Mws-Quota-Resetson:
|
26
|
+
- '2015-06-30T13:47:00.000Z'
|
27
|
+
X-Mws-Response-Context:
|
28
|
+
- 9nvPYIFZcDSyJOo82gQXO7vbiHtlOMe7RuCEavas4rRUqwOYpytQj9URGbGRWqygBTt9uVxyqGM=
|
29
|
+
- tVEHw2ngd7MQqekkIH6SHdkc+GXWxabddBJmcP4jMnrFiP2APzjUpc0xLVo4MH0fokf+4ICKvJmR
|
30
|
+
9vEuq+KKAmNiuBML4vTW
|
31
|
+
Nncoection:
|
32
|
+
- close
|
33
|
+
X-Mws-Request-Id:
|
34
|
+
- b1ce0365-ed92-44ae-88fe-6dd3644faf0f
|
35
|
+
X-Mws-Timestamp:
|
36
|
+
- '2015-06-30T12:48:47.682Z'
|
37
|
+
Vary:
|
38
|
+
- User-Agent
|
39
|
+
Cneonction:
|
40
|
+
- close
|
41
|
+
Transfer-Encoding:
|
42
|
+
- chunked
|
43
|
+
Content-Type:
|
44
|
+
- application/octet-stream
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: |-
|
48
|
+
<?xml version="1.0"?>
|
49
|
+
<ErrorResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"><Error><Type>Sender</Type><Code>MissingParameter</Code><Message>The request must contain the parameter FeedType.</Message><Detail/></Error><RequestID>b1ce0365-ed92-44ae-88fe-6dd3644faf0f</RequestID></ErrorResponse>
|
50
|
+
http_version:
|
51
|
+
recorded_at: Tue, 30 Jun 2015 12:48:47 GMT
|
52
|
+
- request:
|
53
|
+
method: post
|
54
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&SellerId=DUMMY_AWS_SELLER_ID&Signature=mkKQFSiDGGTeBhL4wCREjg6nmkdYrytgjb8mokgF668=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:48:55%2B03:00&Type=text&Version=2009-01-01
|
55
|
+
body:
|
56
|
+
encoding: UTF-8
|
57
|
+
string: "sku\tquantity\nLG-WHITE-1389247\t9"
|
58
|
+
headers:
|
59
|
+
Content-Md5:
|
60
|
+
- onDs6N53e7eIV6Clv1x4ag==
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 400
|
64
|
+
message: Bad Request
|
65
|
+
headers:
|
66
|
+
Date:
|
67
|
+
- Tue, 30 Jun 2015 12:48:55 GMT
|
68
|
+
Server:
|
69
|
+
- AmazonMWS
|
70
|
+
X-Mws-Quota-Max:
|
71
|
+
- '30.0'
|
72
|
+
X-Mws-Quota-Remaining:
|
73
|
+
- '30.0'
|
74
|
+
X-Mws-Quota-Resetson:
|
75
|
+
- '2015-06-30T13:47:00.000Z'
|
76
|
+
X-Mws-Response-Context:
|
77
|
+
- "+izHFJjkotYh8SDI4vUSOaBC//TmEqzywyW25V187okF3Mj4AjBsXpqZarUGkTMJzRXQAsjwLEs="
|
78
|
+
- yFPp7p7vlQ6R976NrCohW0pMunlF08xF6ibip0L1jCozesa3la8cHV7VFoEWBJmK6itHkFfncUgj
|
79
|
+
XGDi1AswxJ6OaNiHAI+9
|
80
|
+
Nncoection:
|
81
|
+
- close
|
82
|
+
X-Mws-Request-Id:
|
83
|
+
- 823a0f36-d6e0-4664-9782-184da28077f8
|
84
|
+
X-Mws-Timestamp:
|
85
|
+
- '2015-06-30T12:48:56.086Z'
|
86
|
+
Vary:
|
87
|
+
- User-Agent
|
88
|
+
Cneonction:
|
89
|
+
- close
|
90
|
+
Transfer-Encoding:
|
91
|
+
- chunked
|
92
|
+
Content-Type:
|
93
|
+
- application/octet-stream
|
94
|
+
body:
|
95
|
+
encoding: UTF-8
|
96
|
+
string: |-
|
97
|
+
<?xml version="1.0"?>
|
98
|
+
<ErrorResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"><Error><Type>Sender</Type><Code>MissingParameter</Code><Message>The request must contain the parameter FeedType.</Message><Detail/></Error><RequestID>823a0f36-d6e0-4664-9782-184da28077f8</RequestID></ErrorResponse>
|
99
|
+
http_version:
|
100
|
+
recorded_at: Tue, 30 Jun 2015 12:48:55 GMT
|
101
|
+
- request:
|
102
|
+
method: post
|
103
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&SellerId=DUMMY_AWS_SELLER_ID&Signature=SMX0ReknNEVJEZCzbTFHXwWpjx7xrBpoqXAmCcx4vmI=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:49:09%2B03:00&Type=text&Version=2009-01-01
|
104
|
+
body:
|
105
|
+
encoding: UTF-8
|
106
|
+
string: "sku\tquantity\nLG-WHITE-1389247\t9"
|
107
|
+
headers:
|
108
|
+
Content-Md5:
|
109
|
+
- onDs6N53e7eIV6Clv1x4ag==
|
110
|
+
response:
|
111
|
+
status:
|
112
|
+
code: 400
|
113
|
+
message: Bad Request
|
114
|
+
headers:
|
115
|
+
Date:
|
116
|
+
- Tue, 30 Jun 2015 12:49:10 GMT
|
117
|
+
Server:
|
118
|
+
- AmazonMWS
|
119
|
+
X-Mws-Quota-Max:
|
120
|
+
- '30.0'
|
121
|
+
X-Mws-Quota-Remaining:
|
122
|
+
- '30.0'
|
123
|
+
X-Mws-Quota-Resetson:
|
124
|
+
- '2015-06-30T13:47:00.000Z'
|
125
|
+
X-Mws-Response-Context:
|
126
|
+
- 8IhxzU2OUesViaDvmTjU0M2K7LLJdHh4NilYtL9c2W89FqrAKH++hUVym5BSIRAeQlDvCEXL4YQb
|
127
|
+
Z20AKzlz7yu5fBpSqvAf
|
128
|
+
- 8RAkAVr+/YBmLQE3ELVqtUZqg/qm3wkrpf8xC7ZEcrKj9YoY7Qzr6sLaXSaFcaSYDVkPeIC6xXY=
|
129
|
+
Nncoection:
|
130
|
+
- close
|
131
|
+
X-Mws-Request-Id:
|
132
|
+
- f81e12bb-d84e-4ca4-b7ef-ec40def8989f
|
133
|
+
X-Mws-Timestamp:
|
134
|
+
- '2015-06-30T12:49:10.502Z'
|
135
|
+
Vary:
|
136
|
+
- User-Agent
|
137
|
+
Cneonction:
|
138
|
+
- close
|
139
|
+
Transfer-Encoding:
|
140
|
+
- chunked
|
141
|
+
Content-Type:
|
142
|
+
- application/octet-stream
|
143
|
+
body:
|
144
|
+
encoding: UTF-8
|
145
|
+
string: |-
|
146
|
+
<?xml version="1.0"?>
|
147
|
+
<ErrorResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"><Error><Type>Sender</Type><Code>MissingParameter</Code><Message>The request must contain the parameter FeedType.</Message><Detail/></Error><RequestID>f81e12bb-d84e-4ca4-b7ef-ec40def8989f</RequestID></ErrorResponse>
|
148
|
+
http_version:
|
149
|
+
recorded_at: Tue, 30 Jun 2015 12:49:10 GMT
|
150
|
+
- request:
|
151
|
+
method: post
|
152
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&SellerId=DUMMY_AWS_SELLER_ID&Signature=LoM5rj6Ejh%2BucLHPs%2BdUnNlyPuaUU6vxh7vbqYkevvs=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:49:17%2B03:00&Type=text&Version=2009-01-01
|
153
|
+
body:
|
154
|
+
encoding: UTF-8
|
155
|
+
string: "sku\tquantity\nLG-WHITE-1389247\t9"
|
156
|
+
headers:
|
157
|
+
Content-Md5:
|
158
|
+
- onDs6N53e7eIV6Clv1x4ag==
|
159
|
+
response:
|
160
|
+
status:
|
161
|
+
code: 403
|
162
|
+
message: Forbidden
|
163
|
+
headers:
|
164
|
+
Date:
|
165
|
+
- Tue, 30 Jun 2015 12:49:17 GMT
|
166
|
+
Server:
|
167
|
+
- AmazonMWS
|
168
|
+
X-Mws-Request-Id:
|
169
|
+
- 6f688b33-132d-49ff-a13e-4bce92617d14
|
170
|
+
X-Mws-Timestamp:
|
171
|
+
- '2015-06-30T12:49:18.497Z'
|
172
|
+
X-Mws-Response-Context:
|
173
|
+
- 076VUzKDY6FaNTCNHJIIgDxQ1pzFIQbfPwndCFjOhCPosgq696KYqQEn3jI+GJTw2W4SF0CEP5I=
|
174
|
+
Content-Type:
|
175
|
+
- text/xml
|
176
|
+
Content-Length:
|
177
|
+
- '336'
|
178
|
+
Vary:
|
179
|
+
- User-Agent
|
180
|
+
body:
|
181
|
+
encoding: UTF-8
|
182
|
+
string: |
|
183
|
+
<?xml version="1.0"?>
|
184
|
+
<ErrorResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
|
185
|
+
<Error>
|
186
|
+
<Type>Sender</Type>
|
187
|
+
<Code>InvalidAccessKeyId</Code>
|
188
|
+
<Message>The AWS Access Key Id you provided does not exist in our records.</Message>
|
189
|
+
</Error>
|
190
|
+
<RequestID>6f688b33-132d-49ff-a13e-4bce92617d14</RequestID>
|
191
|
+
</ErrorResponse>
|
192
|
+
http_version:
|
193
|
+
recorded_at: Tue, 30 Jun 2015 12:49:18 GMT
|
194
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,188 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&FeedType=_POST_FLAT_FILE_INVLOADER_DATA_&SellerId=DUMMY_AWS_SELLER_ID&Signature=A1uUaa3E3Ruc5cpvqbY89cEc02HnkTSYtdjj7fziBk4=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:48:46%2B03:00&Type=text&Version=2009-01-01
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "sku\tquantity\nLG-WHITE-1389247\t9"
|
9
|
+
headers:
|
10
|
+
Content-Md5:
|
11
|
+
- onDs6N53e7eIV6Clv1x4ag==
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Tue, 30 Jun 2015 12:48:46 GMT
|
19
|
+
Server:
|
20
|
+
- AmazonMWS
|
21
|
+
X-Mws-Quota-Max:
|
22
|
+
- '30.0'
|
23
|
+
X-Mws-Quota-Remaining:
|
24
|
+
- '30.0'
|
25
|
+
X-Mws-Quota-Resetson:
|
26
|
+
- '2015-06-30T13:47:00.000Z'
|
27
|
+
X-Mws-Response-Context:
|
28
|
+
- oVjSJc3pK/oMLSuwwoPG1oO2t8HwOBG0BuA0aj8diCwI3ynAnZwqe+pCYe1aWhy+Bp1TJBcHJHU=
|
29
|
+
- pwr9RH5BLwPGPRabjlf/bUiwT/MTUqcdzNT2UQN4UI/7lZ15k+tiX8qRtYo3pgPX1nAI/ap1EzZ3
|
30
|
+
QfbgWLJ8ijpZKk7YHbzQ
|
31
|
+
X-Amz-Request-Id:
|
32
|
+
- 87e3c8cb-08f6-4714-a998-17aed6e7c1a2
|
33
|
+
X-Mws-Request-Id:
|
34
|
+
- 87e3c8cb-08f6-4714-a998-17aed6e7c1a2
|
35
|
+
X-Mws-Timestamp:
|
36
|
+
- '2015-06-30T12:48:46.735Z'
|
37
|
+
Content-Type:
|
38
|
+
- text/xml
|
39
|
+
Vary:
|
40
|
+
- User-Agent
|
41
|
+
Transfer-Encoding:
|
42
|
+
- chunked
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: |-
|
46
|
+
<?xml version="1.0"?>
|
47
|
+
<SubmitFeedResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"><SubmitFeedResult><FeedSubmissionInfo><FeedSubmissionId>66396016616</FeedSubmissionId><FeedType>_POST_FLAT_FILE_INVLOADER_DATA_</FeedType><SubmittedDate>2015-06-30T12:48:47+00:00</SubmittedDate><FeedProcessingStatus>_SUBMITTED_</FeedProcessingStatus></FeedSubmissionInfo></SubmitFeedResult><ResponseMetadata><RequestId>87e3c8cb-08f6-4714-a998-17aed6e7c1a2</RequestId></ResponseMetadata></SubmitFeedResponse>
|
48
|
+
http_version:
|
49
|
+
recorded_at: Tue, 30 Jun 2015 12:48:47 GMT
|
50
|
+
- request:
|
51
|
+
method: post
|
52
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&FeedType=_POST_FLAT_FILE_INVLOADER_DATA_&SellerId=DUMMY_AWS_SELLER_ID&Signature=A3UHdPt8cFhM2iFvLtGZE6Tsiqpw6QXWycCeCKPn9sQ=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:48:54%2B03:00&Type=text&Version=2009-01-01
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: "sku\tquantity\nLG-WHITE-1389247\t9"
|
56
|
+
headers:
|
57
|
+
Content-Md5:
|
58
|
+
- onDs6N53e7eIV6Clv1x4ag==
|
59
|
+
response:
|
60
|
+
status:
|
61
|
+
code: 200
|
62
|
+
message: OK
|
63
|
+
headers:
|
64
|
+
Date:
|
65
|
+
- Tue, 30 Jun 2015 12:48:55 GMT
|
66
|
+
Server:
|
67
|
+
- AmazonMWS
|
68
|
+
X-Mws-Quota-Max:
|
69
|
+
- '30.0'
|
70
|
+
X-Mws-Quota-Remaining:
|
71
|
+
- '30.0'
|
72
|
+
X-Mws-Quota-Resetson:
|
73
|
+
- '2015-06-30T13:47:00.000Z'
|
74
|
+
X-Mws-Response-Context:
|
75
|
+
- GgO3bam0oPV7R3LIsrL6ikggS7SazFRwGgnfb6nIrfLzTUJ99iE1JcxJSBB09mAxH6rXRNSpXPg=
|
76
|
+
- ZDI6z28zJEnmetOutJpxTrJhbuVJ0sRiTCMan1CT+I7WucgNSoaen3rQDpPMixf0xYYBe8j/LR50
|
77
|
+
gS1bSe3/8x1aLBq/Ua2v
|
78
|
+
X-Amz-Request-Id:
|
79
|
+
- 0b90fe39-7f4b-4f4e-8862-d864848e4b75
|
80
|
+
X-Mws-Request-Id:
|
81
|
+
- 0b90fe39-7f4b-4f4e-8862-d864848e4b75
|
82
|
+
X-Mws-Timestamp:
|
83
|
+
- '2015-06-30T12:48:55.357Z'
|
84
|
+
Content-Type:
|
85
|
+
- text/xml
|
86
|
+
Vary:
|
87
|
+
- User-Agent
|
88
|
+
Transfer-Encoding:
|
89
|
+
- chunked
|
90
|
+
body:
|
91
|
+
encoding: UTF-8
|
92
|
+
string: |-
|
93
|
+
<?xml version="1.0"?>
|
94
|
+
<SubmitFeedResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"><SubmitFeedResult><FeedSubmissionInfo><FeedSubmissionId>66398016616</FeedSubmissionId><FeedType>_POST_FLAT_FILE_INVLOADER_DATA_</FeedType><SubmittedDate>2015-06-30T12:48:55+00:00</SubmittedDate><FeedProcessingStatus>_SUBMITTED_</FeedProcessingStatus></FeedSubmissionInfo></SubmitFeedResult><ResponseMetadata><RequestId>0b90fe39-7f4b-4f4e-8862-d864848e4b75</RequestId></ResponseMetadata></SubmitFeedResponse>
|
95
|
+
http_version:
|
96
|
+
recorded_at: Tue, 30 Jun 2015 12:48:55 GMT
|
97
|
+
- request:
|
98
|
+
method: post
|
99
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&FeedType=_POST_FLAT_FILE_INVLOADER_DATA_&SellerId=DUMMY_AWS_SELLER_ID&Signature=60oTMt8KWMpd8g31ovDOe3dr3o%2BU5PP7hIkrT3aFtmk=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:49:09%2B03:00&Type=text&Version=2009-01-01
|
100
|
+
body:
|
101
|
+
encoding: UTF-8
|
102
|
+
string: "sku\tquantity\nLG-WHITE-1389247\t9"
|
103
|
+
headers:
|
104
|
+
Content-Md5:
|
105
|
+
- onDs6N53e7eIV6Clv1x4ag==
|
106
|
+
response:
|
107
|
+
status:
|
108
|
+
code: 200
|
109
|
+
message: OK
|
110
|
+
headers:
|
111
|
+
Date:
|
112
|
+
- Tue, 30 Jun 2015 12:49:09 GMT
|
113
|
+
Server:
|
114
|
+
- AmazonMWS
|
115
|
+
X-Mws-Quota-Max:
|
116
|
+
- '30.0'
|
117
|
+
X-Mws-Quota-Remaining:
|
118
|
+
- '30.0'
|
119
|
+
X-Mws-Quota-Resetson:
|
120
|
+
- '2015-06-30T13:47:00.000Z'
|
121
|
+
X-Mws-Response-Context:
|
122
|
+
- 2QaLvo6z/OBiRN9rcElL5yIYmzN1EXUISVchu1IFqB94RxYmD3rdtJmRUTH6zmJ9XZozYe1Bh80k
|
123
|
+
LCwKv137nkzhsWm5uiXZ
|
124
|
+
- SNjcNjBxzgDJfQBEYvZOn5DuKGhpkwoz94l8QXUWXWc1NUGTfJV91nH6lHDyhdRHOUZo3Hss9Cg=
|
125
|
+
X-Amz-Request-Id:
|
126
|
+
- 680de541-5ead-46f3-ae6c-2466f4fa8cca
|
127
|
+
X-Mws-Request-Id:
|
128
|
+
- 680de541-5ead-46f3-ae6c-2466f4fa8cca
|
129
|
+
X-Mws-Timestamp:
|
130
|
+
- '2015-06-30T12:49:09.790Z'
|
131
|
+
Content-Type:
|
132
|
+
- text/xml
|
133
|
+
Vary:
|
134
|
+
- User-Agent
|
135
|
+
Transfer-Encoding:
|
136
|
+
- chunked
|
137
|
+
body:
|
138
|
+
encoding: UTF-8
|
139
|
+
string: |-
|
140
|
+
<?xml version="1.0"?>
|
141
|
+
<SubmitFeedResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"><SubmitFeedResult><FeedSubmissionInfo><FeedSubmissionId>66400016616</FeedSubmissionId><FeedType>_POST_FLAT_FILE_INVLOADER_DATA_</FeedType><SubmittedDate>2015-06-30T12:49:10+00:00</SubmittedDate><FeedProcessingStatus>_SUBMITTED_</FeedProcessingStatus></FeedSubmissionInfo></SubmitFeedResult><ResponseMetadata><RequestId>680de541-5ead-46f3-ae6c-2466f4fa8cca</RequestId></ResponseMetadata></SubmitFeedResponse>
|
142
|
+
http_version:
|
143
|
+
recorded_at: Tue, 30 Jun 2015 12:49:09 GMT
|
144
|
+
- request:
|
145
|
+
method: post
|
146
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&FeedType=_POST_FLAT_FILE_INVLOADER_DATA_&SellerId=DUMMY_AWS_SELLER_ID&Signature=ZCLHB9oh2RTi9UeXIbl/JU3BcZ0wTBNkTGZNy8LniZM=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:49:17%2B03:00&Type=text&Version=2009-01-01
|
147
|
+
body:
|
148
|
+
encoding: UTF-8
|
149
|
+
string: "sku\tquantity\nLG-WHITE-1389247\t9"
|
150
|
+
headers:
|
151
|
+
Content-Md5:
|
152
|
+
- onDs6N53e7eIV6Clv1x4ag==
|
153
|
+
response:
|
154
|
+
status:
|
155
|
+
code: 403
|
156
|
+
message: Forbidden
|
157
|
+
headers:
|
158
|
+
Date:
|
159
|
+
- Tue, 30 Jun 2015 12:49:17 GMT
|
160
|
+
Server:
|
161
|
+
- AmazonMWS
|
162
|
+
X-Mws-Request-Id:
|
163
|
+
- 575b4ee6-c958-4a0c-9066-df78c4102699
|
164
|
+
X-Mws-Timestamp:
|
165
|
+
- '2015-06-30T12:49:18.179Z'
|
166
|
+
X-Mws-Response-Context:
|
167
|
+
- BQOMvUJMDnPK4A/5geZLko/zcz7DRZBV56IlGiuJe7VZ+WT5TSkqK1b8lN3dLHxpm+H1mkgYg70=
|
168
|
+
Content-Type:
|
169
|
+
- text/xml
|
170
|
+
Content-Length:
|
171
|
+
- '336'
|
172
|
+
Vary:
|
173
|
+
- User-Agent
|
174
|
+
body:
|
175
|
+
encoding: UTF-8
|
176
|
+
string: |
|
177
|
+
<?xml version="1.0"?>
|
178
|
+
<ErrorResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
|
179
|
+
<Error>
|
180
|
+
<Type>Sender</Type>
|
181
|
+
<Code>InvalidAccessKeyId</Code>
|
182
|
+
<Message>The AWS Access Key Id you provided does not exist in our records.</Message>
|
183
|
+
</Error>
|
184
|
+
<RequestID>575b4ee6-c958-4a0c-9066-df78c4102699</RequestID>
|
185
|
+
</ErrorResponse>
|
186
|
+
http_version:
|
187
|
+
recorded_at: Tue, 30 Jun 2015 12:49:17 GMT
|
188
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,224 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&FeedType=_POST_INVENTORY_AVAILABILITY_DATA_&SellerId=DUMMY_AWS_SELLER_ID&Signature=XWuD6msl6t2qzX1huD1cKHdaIzVCvljdM6LxjPN8U%2Bw=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:48:45%2B03:00&Version=2009-01-01
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |-
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?><AmazonEnvelope><Header><DocumentVersion>1.01</DocumentVersion><MerchantIdentifier>DUMMY_AWS_SELLER_ID</MerchantIdentifier></Header><MessageType>Inventory</MessageType><PurgeAndReplace>false</PurgeAndReplace><Message>
|
10
|
+
<MessageID>187791059</MessageID>
|
11
|
+
<OperationType>Update</OperationType>
|
12
|
+
<Inventory>
|
13
|
+
<SKU>LG-WHITE-1389247</SKU>
|
14
|
+
<Quantity>9</Quantity>
|
15
|
+
</Inventory>
|
16
|
+
</Message>
|
17
|
+
</AmazonEnvelope>
|
18
|
+
headers:
|
19
|
+
Content-Md5:
|
20
|
+
- 6N4Mkq/8Ic5aJcb9BwEniw==
|
21
|
+
response:
|
22
|
+
status:
|
23
|
+
code: 200
|
24
|
+
message: OK
|
25
|
+
headers:
|
26
|
+
Date:
|
27
|
+
- Tue, 30 Jun 2015 12:48:45 GMT
|
28
|
+
Server:
|
29
|
+
- AmazonMWS
|
30
|
+
X-Mws-Quota-Max:
|
31
|
+
- '30.0'
|
32
|
+
X-Mws-Quota-Remaining:
|
33
|
+
- '30.0'
|
34
|
+
X-Mws-Quota-Resetson:
|
35
|
+
- '2015-06-30T13:47:00.000Z'
|
36
|
+
X-Mws-Response-Context:
|
37
|
+
- 3Pckn8wilUn9aIuEmPAFedSqbXHUshMlOLodhm5LUGzZ8Mqr1bXLybj50nPfbnEcwo/mLddWPY1e
|
38
|
+
lyEPqi3xvAjy6x7qL+DI
|
39
|
+
- obP4oqdnVecgZxkrlz1tVzBgdvzTsoyYchCr9/VrrLkO+v2oYO4OIh6MQgKUK5Z69thUT+drw7Q=
|
40
|
+
X-Amz-Request-Id:
|
41
|
+
- af92fe96-2d65-4027-8add-b2cd6914cb44
|
42
|
+
X-Mws-Request-Id:
|
43
|
+
- af92fe96-2d65-4027-8add-b2cd6914cb44
|
44
|
+
X-Mws-Timestamp:
|
45
|
+
- '2015-06-30T12:48:45.757Z'
|
46
|
+
Content-Type:
|
47
|
+
- text/xml
|
48
|
+
Vary:
|
49
|
+
- User-Agent
|
50
|
+
Transfer-Encoding:
|
51
|
+
- chunked
|
52
|
+
body:
|
53
|
+
encoding: UTF-8
|
54
|
+
string: |-
|
55
|
+
<?xml version="1.0"?>
|
56
|
+
<SubmitFeedResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"><SubmitFeedResult><FeedSubmissionInfo><FeedSubmissionId>66395016616</FeedSubmissionId><FeedType>_POST_INVENTORY_AVAILABILITY_DATA_</FeedType><SubmittedDate>2015-06-30T12:48:46+00:00</SubmittedDate><FeedProcessingStatus>_SUBMITTED_</FeedProcessingStatus></FeedSubmissionInfo></SubmitFeedResult><ResponseMetadata><RequestId>af92fe96-2d65-4027-8add-b2cd6914cb44</RequestId></ResponseMetadata></SubmitFeedResponse>
|
57
|
+
http_version:
|
58
|
+
recorded_at: Tue, 30 Jun 2015 12:48:46 GMT
|
59
|
+
- request:
|
60
|
+
method: post
|
61
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&FeedType=_POST_INVENTORY_AVAILABILITY_DATA_&SellerId=DUMMY_AWS_SELLER_ID&Signature=qv50y6EcrCS5nhSrkuKu0uXHHAMn0SYAclFYo44bFtE=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:48:53%2B03:00&Version=2009-01-01
|
62
|
+
body:
|
63
|
+
encoding: UTF-8
|
64
|
+
string: |-
|
65
|
+
<?xml version="1.0" encoding="UTF-8"?><AmazonEnvelope><Header><DocumentVersion>1.01</DocumentVersion><MerchantIdentifier>DUMMY_AWS_SELLER_ID</MerchantIdentifier></Header><MessageType>Inventory</MessageType><PurgeAndReplace>false</PurgeAndReplace><Message>
|
66
|
+
<MessageID>119467838</MessageID>
|
67
|
+
<OperationType>Update</OperationType>
|
68
|
+
<Inventory>
|
69
|
+
<SKU>LG-WHITE-1389247</SKU>
|
70
|
+
<Quantity>9</Quantity>
|
71
|
+
</Inventory>
|
72
|
+
</Message>
|
73
|
+
</AmazonEnvelope>
|
74
|
+
headers:
|
75
|
+
Content-Md5:
|
76
|
+
- PX5rQkl65fhsCdPtOZ+zQg==
|
77
|
+
response:
|
78
|
+
status:
|
79
|
+
code: 200
|
80
|
+
message: OK
|
81
|
+
headers:
|
82
|
+
Date:
|
83
|
+
- Tue, 30 Jun 2015 12:48:53 GMT
|
84
|
+
Server:
|
85
|
+
- AmazonMWS
|
86
|
+
X-Mws-Quota-Max:
|
87
|
+
- '30.0'
|
88
|
+
X-Mws-Quota-Remaining:
|
89
|
+
- '30.0'
|
90
|
+
X-Mws-Quota-Resetson:
|
91
|
+
- '2015-06-30T13:47:00.000Z'
|
92
|
+
X-Mws-Response-Context:
|
93
|
+
- SQ/bavLyHZxmrSZvTMpkxy0IUYX1e3BEy1eLE0tO7T5WNPDNHR5xspwHJbeUJky8VIQCeqop9Eg=
|
94
|
+
- Zv0CSW7kiCIdjxlQ+Rw8E6cT6zjjJ+SFxn0pZs3OyZw6/TvOJuyce98JS9Kx3PHNMhoxqASJJxyG
|
95
|
+
2l9mPO5/VbpCvQuQ4EJY
|
96
|
+
X-Amz-Request-Id:
|
97
|
+
- f1137f6d-605f-45ca-b023-78067c9ff61b
|
98
|
+
X-Mws-Request-Id:
|
99
|
+
- f1137f6d-605f-45ca-b023-78067c9ff61b
|
100
|
+
X-Mws-Timestamp:
|
101
|
+
- '2015-06-30T12:48:54.502Z'
|
102
|
+
Content-Type:
|
103
|
+
- text/xml
|
104
|
+
Vary:
|
105
|
+
- User-Agent
|
106
|
+
Transfer-Encoding:
|
107
|
+
- chunked
|
108
|
+
body:
|
109
|
+
encoding: UTF-8
|
110
|
+
string: |-
|
111
|
+
<?xml version="1.0"?>
|
112
|
+
<SubmitFeedResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"><SubmitFeedResult><FeedSubmissionInfo><FeedSubmissionId>66397016616</FeedSubmissionId><FeedType>_POST_INVENTORY_AVAILABILITY_DATA_</FeedType><SubmittedDate>2015-06-30T12:48:54+00:00</SubmittedDate><FeedProcessingStatus>_SUBMITTED_</FeedProcessingStatus></FeedSubmissionInfo></SubmitFeedResult><ResponseMetadata><RequestId>f1137f6d-605f-45ca-b023-78067c9ff61b</RequestId></ResponseMetadata></SubmitFeedResponse>
|
113
|
+
http_version:
|
114
|
+
recorded_at: Tue, 30 Jun 2015 12:48:54 GMT
|
115
|
+
- request:
|
116
|
+
method: post
|
117
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&FeedType=_POST_INVENTORY_AVAILABILITY_DATA_&SellerId=DUMMY_AWS_SELLER_ID&Signature=sOBVPfBsN72Fxvc9pBBpNU9lEH0HKoMqro%2BQ43An4E4=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:49:08%2B03:00&Version=2009-01-01
|
118
|
+
body:
|
119
|
+
encoding: UTF-8
|
120
|
+
string: |-
|
121
|
+
<?xml version="1.0" encoding="UTF-8"?><AmazonEnvelope><Header><DocumentVersion>1.01</DocumentVersion><MerchantIdentifier>DUMMY_AWS_SELLER_ID</MerchantIdentifier></Header><MessageType>Inventory</MessageType><PurgeAndReplace>false</PurgeAndReplace><Message>
|
122
|
+
<MessageID>357155942</MessageID>
|
123
|
+
<OperationType>Update</OperationType>
|
124
|
+
<Inventory>
|
125
|
+
<SKU>LG-WHITE-1389247</SKU>
|
126
|
+
<Quantity>9</Quantity>
|
127
|
+
</Inventory>
|
128
|
+
</Message>
|
129
|
+
</AmazonEnvelope>
|
130
|
+
headers:
|
131
|
+
Content-Md5:
|
132
|
+
- 8jloAkK/xNR6l8RkqR5C3Q==
|
133
|
+
response:
|
134
|
+
status:
|
135
|
+
code: 200
|
136
|
+
message: OK
|
137
|
+
headers:
|
138
|
+
Date:
|
139
|
+
- Tue, 30 Jun 2015 12:49:08 GMT
|
140
|
+
Server:
|
141
|
+
- AmazonMWS
|
142
|
+
X-Mws-Quota-Max:
|
143
|
+
- '30.0'
|
144
|
+
X-Mws-Quota-Remaining:
|
145
|
+
- '30.0'
|
146
|
+
X-Mws-Quota-Resetson:
|
147
|
+
- '2015-06-30T13:47:00.000Z'
|
148
|
+
X-Mws-Response-Context:
|
149
|
+
- Zv0CSW7kiCIdjxlQ+Rw8E6cT6zjjJ+SFxn0pZs3OyZw6/TvOJuyce98JS9Kx3PHNMhoxqASJJxyG
|
150
|
+
2l9mPO5/VbpCvQuQ4EJY
|
151
|
+
- biAaQfvAPHbw1EmLG9e9GxmOMiqvAo5fAGX2ybs+Gd2lsDdnE4+ID/xOk1NjbpmGhvPLtwlX3pA=
|
152
|
+
X-Amz-Request-Id:
|
153
|
+
- efc71a9c-4391-4dd8-a55c-4cde500e175d
|
154
|
+
X-Mws-Request-Id:
|
155
|
+
- efc71a9c-4391-4dd8-a55c-4cde500e175d
|
156
|
+
X-Mws-Timestamp:
|
157
|
+
- '2015-06-30T12:49:09.025Z'
|
158
|
+
Content-Type:
|
159
|
+
- text/xml
|
160
|
+
Vary:
|
161
|
+
- User-Agent
|
162
|
+
Transfer-Encoding:
|
163
|
+
- chunked
|
164
|
+
body:
|
165
|
+
encoding: UTF-8
|
166
|
+
string: |-
|
167
|
+
<?xml version="1.0"?>
|
168
|
+
<SubmitFeedResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"><SubmitFeedResult><FeedSubmissionInfo><FeedSubmissionId>66399016616</FeedSubmissionId><FeedType>_POST_INVENTORY_AVAILABILITY_DATA_</FeedType><SubmittedDate>2015-06-30T12:49:09+00:00</SubmittedDate><FeedProcessingStatus>_SUBMITTED_</FeedProcessingStatus></FeedSubmissionInfo></SubmitFeedResult><ResponseMetadata><RequestId>efc71a9c-4391-4dd8-a55c-4cde500e175d</RequestId></ResponseMetadata></SubmitFeedResponse>
|
169
|
+
http_version:
|
170
|
+
recorded_at: Tue, 30 Jun 2015 12:49:09 GMT
|
171
|
+
- request:
|
172
|
+
method: post
|
173
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=DUMMY_AWS_ACCESS_KEY&Action=SubmitFeed&FeedType=_POST_INVENTORY_AVAILABILITY_DATA_&SellerId=DUMMY_AWS_SELLER_ID&Signature=79Vjr7DFnD5NptbZnqMYvzNrHjrGPC3D5LXpbiw%2Bdq4=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-06-30T15:49:17%2B03:00&Version=2009-01-01
|
174
|
+
body:
|
175
|
+
encoding: UTF-8
|
176
|
+
string: |-
|
177
|
+
<?xml version="1.0" encoding="UTF-8"?><AmazonEnvelope><Header><DocumentVersion>1.01</DocumentVersion><MerchantIdentifier>DUMMY_AWS_SELLER_ID</MerchantIdentifier></Header><MessageType>Inventory</MessageType><PurgeAndReplace>false</PurgeAndReplace><Message>
|
178
|
+
<MessageID>1348089256</MessageID>
|
179
|
+
<OperationType>Update</OperationType>
|
180
|
+
<Inventory>
|
181
|
+
<SKU>LG-WHITE-1389247</SKU>
|
182
|
+
<Quantity>9</Quantity>
|
183
|
+
</Inventory>
|
184
|
+
</Message>
|
185
|
+
</AmazonEnvelope>
|
186
|
+
headers:
|
187
|
+
Content-Md5:
|
188
|
+
- 6XOh/zz8u3E+t4Dfq1OWGw==
|
189
|
+
response:
|
190
|
+
status:
|
191
|
+
code: 403
|
192
|
+
message: Forbidden
|
193
|
+
headers:
|
194
|
+
Date:
|
195
|
+
- Tue, 30 Jun 2015 12:49:17 GMT
|
196
|
+
Server:
|
197
|
+
- AmazonMWS
|
198
|
+
X-Mws-Request-Id:
|
199
|
+
- 55e36357-52d5-49e6-be5d-191ac7ff40af
|
200
|
+
X-Mws-Timestamp:
|
201
|
+
- '2015-06-30T12:49:17.862Z'
|
202
|
+
X-Mws-Response-Context:
|
203
|
+
- 25buhjM60rp1+W3lzP9nK3pDpiLCEQ/qsuJUaAJEyA8NfjpIOK51ggJ4BCHiTmz5wzFqYG7wJAs=
|
204
|
+
Content-Type:
|
205
|
+
- text/xml
|
206
|
+
Content-Length:
|
207
|
+
- '336'
|
208
|
+
Vary:
|
209
|
+
- User-Agent
|
210
|
+
body:
|
211
|
+
encoding: UTF-8
|
212
|
+
string: |
|
213
|
+
<?xml version="1.0"?>
|
214
|
+
<ErrorResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
|
215
|
+
<Error>
|
216
|
+
<Type>Sender</Type>
|
217
|
+
<Code>InvalidAccessKeyId</Code>
|
218
|
+
<Message>The AWS Access Key Id you provided does not exist in our records.</Message>
|
219
|
+
</Error>
|
220
|
+
<RequestID>55e36357-52d5-49e6-be5d-191ac7ff40af</RequestID>
|
221
|
+
</ErrorResponse>
|
222
|
+
http_version:
|
223
|
+
recorded_at: Tue, 30 Jun 2015 12:49:17 GMT
|
224
|
+
recorded_with: VCR 2.9.3
|