peddler 2.1.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -41
  3. data/lib/mws.rb +2 -1
  4. data/lib/mws/easy_ship.rb +3 -0
  5. data/lib/mws/easy_ship/client.rb +93 -0
  6. data/lib/mws/fulfillment_outbound_shipment/client.rb +1 -1
  7. data/lib/mws/orders/client.rb +6 -6
  8. data/lib/mws/shipment_invoicing.rb +3 -0
  9. data/lib/mws/shipment_invoicing/client.rb +74 -0
  10. data/lib/peddler/client.rb +11 -10
  11. data/lib/peddler/content.rb +2 -2
  12. data/lib/peddler/errors/builder.rb +7 -2
  13. data/lib/peddler/errors/class_generator.rb +1 -1
  14. data/lib/peddler/errors/error.rb +6 -2
  15. data/lib/peddler/errors/parser.rb +1 -1
  16. data/lib/peddler/flat_file_parser.rb +5 -3
  17. data/lib/peddler/marketplace.rb +23 -19
  18. data/lib/peddler/mws.rb +2 -2
  19. data/lib/peddler/operation.rb +17 -11
  20. data/lib/peddler/parser.rb +1 -1
  21. data/lib/peddler/structured_list.rb +1 -1
  22. data/lib/peddler/vcr_matcher.rb +7 -7
  23. data/lib/peddler/version.rb +1 -1
  24. data/lib/peddler/xml_parser.rb +1 -1
  25. data/lib/peddler/xml_response_parser.rb +1 -1
  26. metadata +11 -146
  27. data/lib/mws/off_amazon_payments/client.rb +0 -362
  28. data/test/credentials.rb +0 -23
  29. data/test/helper.rb +0 -15
  30. data/test/integration/internals/test_errors.rb +0 -17
  31. data/test/integration/internals/test_multibyte_queries.rb +0 -17
  32. data/test/integration/internals/test_mws_headers.rb +0 -21
  33. data/test/integration/internals/test_string_encodings.rb +0 -38
  34. data/test/integration/test_feeds.rb +0 -37
  35. data/test/integration/test_fulfillment_inbound_shipment.rb +0 -35
  36. data/test/integration/test_fulfillment_inventory.rb +0 -20
  37. data/test/integration/test_fulfillment_outbound_shipment.rb +0 -13
  38. data/test/integration/test_merchant_fulfillment.rb +0 -69
  39. data/test/integration/test_off_amazon_payments.rb +0 -13
  40. data/test/integration/test_orders.rb +0 -30
  41. data/test/integration/test_products.rb +0 -97
  42. data/test/integration/test_recommendations.rb +0 -20
  43. data/test/integration/test_reports.rb +0 -51
  44. data/test/integration/test_sellers.rb +0 -13
  45. data/test/integration/test_subscriptions.rb +0 -27
  46. data/test/integration_helper.rb +0 -53
  47. data/test/mws.yml +0 -36
  48. data/test/mws.yml.example +0 -32
  49. data/test/null_client.rb +0 -25
  50. data/test/recorder.rb +0 -39
  51. data/test/unit/mws/test_feeds_client.rb +0 -103
  52. data/test/unit/mws/test_finances_client.rb +0 -74
  53. data/test/unit/mws/test_fulfillment_inbound_shipment_client.rb +0 -426
  54. data/test/unit/mws/test_fulfillment_inventory_client.rb +0 -48
  55. data/test/unit/mws/test_fulfillment_outbound_shipment_client.rb +0 -202
  56. data/test/unit/mws/test_merchant_fulfillment_client.rb +0 -109
  57. data/test/unit/mws/test_off_amazon_payments_client.rb +0 -286
  58. data/test/unit/mws/test_orders_client.rb +0 -111
  59. data/test/unit/mws/test_products_client.rb +0 -248
  60. data/test/unit/mws/test_recommendations_client.rb +0 -62
  61. data/test/unit/mws/test_reports_client.rb +0 -209
  62. data/test/unit/mws/test_sellers_client.rb +0 -47
  63. data/test/unit/mws/test_subscriptions_client.rb +0 -182
  64. data/test/unit/peddler/errors/test_builder.rb +0 -65
  65. data/test/unit/peddler/errors/test_class_generator.rb +0 -18
  66. data/test/unit/peddler/errors/test_error.rb +0 -33
  67. data/test/unit/peddler/errors/test_parser.rb +0 -44
  68. data/test/unit/peddler/test_client.rb +0 -203
  69. data/test/unit/peddler/test_flat_file_parser.rb +0 -111
  70. data/test/unit/peddler/test_headers.rb +0 -103
  71. data/test/unit/peddler/test_marketplace.rb +0 -47
  72. data/test/unit/peddler/test_operation.rb +0 -87
  73. data/test/unit/peddler/test_parser.rb +0 -36
  74. data/test/unit/peddler/test_structured_list.rb +0 -39
  75. data/test/unit/peddler/test_vcr_matcher.rb +0 -55
  76. data/test/unit/peddler/test_xml_parser.rb +0 -37
  77. data/test/unit/peddler/test_xml_response_parser.rb +0 -39
  78. data/test/unit/test_mws.rb +0 -11
  79. data/test/vcr_cassettes/CartInformation.yml +0 -433
  80. data/test/vcr_cassettes/CustomerInformation.yml +0 -433
  81. data/test/vcr_cassettes/Errors.yml +0 -444
  82. data/test/vcr_cassettes/Feeds.yml +0 -9957
  83. data/test/vcr_cassettes/FulfillmentInboundShipment.yml +0 -6166
  84. data/test/vcr_cassettes/FulfillmentInventory.yml +0 -850
  85. data/test/vcr_cassettes/FulfillmentOutboundShipment.yml +0 -433
  86. data/test/vcr_cassettes/MWSHeaders.yml +0 -2964
  87. data/test/vcr_cassettes/MerchantFulfillment.yml +0 -753
  88. data/test/vcr_cassettes/MultibyteQueries.yml +0 -437
  89. data/test/vcr_cassettes/OffAmazonPayments.yml +0 -433
  90. data/test/vcr_cassettes/Orders.yml +0 -4740
  91. data/test/vcr_cassettes/PeddlerVCRMatcher.yml +0 -41
  92. data/test/vcr_cassettes/Products.yml +0 -7139
  93. data/test/vcr_cassettes/Recommendations.yml +0 -3145
  94. data/test/vcr_cassettes/Reports.yml +0 -5549
  95. data/test/vcr_cassettes/Sellers.yml +0 -433
  96. data/test/vcr_cassettes/Subscriptions.yml +0 -1529
@@ -1,433 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://mws.amazonservices.com/CustomerInformation/2014-03-01
6
- body:
7
- encoding: US-ASCII
8
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A34Z&Version=2014-03-01&Signature=1%2FL5NDm5Ouf2bLwtGovQmn54OtIeeZHLfzzBQJfZ6P0%3D
9
- headers:
10
- User-Agent:
11
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
12
- response:
13
- status:
14
- code: 200
15
- message:
16
- headers:
17
- Date:
18
- - Sat, 28 Mar 2015 18:10:34 GMT
19
- Server:
20
- - AmazonMWS
21
- x-mws-request-id:
22
- - 59802c9a-9289-44c6-b669-e5369fa00ad4
23
- x-mws-timestamp:
24
- - '2015-03-28T18:10:35.588Z'
25
- x-mws-response-context:
26
- - 0HZN4uk7KV5jLsO7w7F6B1bvstdu0WG+8RnAx56Hvoe2UbrejWTuhSkCyt0WR/tR0kRjzVhCHAs=
27
- Content-Type:
28
- - text/xml
29
- Content-Length:
30
- - '385'
31
- Vary:
32
- - User-Agent
33
- body:
34
- encoding: UTF-8
35
- string: |
36
- <?xml version="1.0"?>
37
- <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
38
- <GetServiceStatusResult>
39
- <Status>GREEN</Status>
40
- <Timestamp>2015-03-28T18:10:35.588Z</Timestamp>
41
- </GetServiceStatusResult>
42
- <ResponseMetadata>
43
- <RequestId>59802c9a-9289-44c6-b669-e5369fa00ad4</RequestId>
44
- </ResponseMetadata>
45
- </GetServiceStatusResponse>
46
- http_version:
47
- recorded_at: Sat, 28 Mar 2015 18:10:35 GMT
48
- - request:
49
- method: post
50
- uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01
51
- body:
52
- encoding: US-ASCII
53
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A35Z&Version=2014-03-01&Signature=0Z0UxCRnrGZoS%2F%2Bjtn%2F3g0dYYiC4fkyDKQayAkIPtzE%3D
54
- headers:
55
- User-Agent:
56
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
57
- response:
58
- status:
59
- code: 200
60
- message:
61
- headers:
62
- Date:
63
- - Sat, 28 Mar 2015 18:10:35 GMT
64
- Server:
65
- - AmazonMWS
66
- x-mws-request-id:
67
- - dc5ffe87-e14f-4eca-9e25-fa23c3e3fd00
68
- x-mws-timestamp:
69
- - '2015-03-28T18:10:36.060Z'
70
- x-mws-response-context:
71
- - 3RYkG8GUnx0ZPPkdNCgLgc47/3p3YpZ3dg/m9B81hInJwHOAUzkmU+by4tCAnWWSRjo9L8oWTxA=
72
- Content-Type:
73
- - text/xml
74
- Content-Length:
75
- - '385'
76
- Vary:
77
- - User-Agent
78
- body:
79
- encoding: UTF-8
80
- string: |
81
- <?xml version="1.0"?>
82
- <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
83
- <GetServiceStatusResult>
84
- <Status>GREEN</Status>
85
- <Timestamp>2015-03-28T18:10:36.060Z</Timestamp>
86
- </GetServiceStatusResult>
87
- <ResponseMetadata>
88
- <RequestId>dc5ffe87-e14f-4eca-9e25-fa23c3e3fd00</RequestId>
89
- </ResponseMetadata>
90
- </GetServiceStatusResponse>
91
- http_version:
92
- recorded_at: Sat, 28 Mar 2015 18:10:36 GMT
93
- - request:
94
- method: post
95
- uri: https://mws.amazonservices.jp/CustomerInformation/2014-03-01
96
- body:
97
- encoding: US-ASCII
98
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A36Z&Version=2014-03-01&Signature=nwmUlmdXDSzXRlMIkg3H%2FRVk8WFGs%2FkJYb%2FqMSjQi8U%3D
99
- headers:
100
- User-Agent:
101
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
102
- response:
103
- status:
104
- code: 200
105
- message:
106
- headers:
107
- Date:
108
- - Sat, 28 Mar 2015 18:10:36 GMT
109
- Server:
110
- - AmazonMWS
111
- x-mws-request-id:
112
- - 65b89734-45cb-40c6-aa47-75fdc8545e7c
113
- x-mws-timestamp:
114
- - '2015-03-28T18:10:37.070Z'
115
- x-mws-response-context:
116
- - vcnuvV/aIuWw+RhEJW+ClP7Z/nbCFXprFN9c0lk1b0PSQ56Sgn18fWHionCJyjAzfLkJjx/zV9Y=
117
- Content-Type:
118
- - text/xml
119
- Content-Length:
120
- - '385'
121
- Vary:
122
- - User-Agent
123
- body:
124
- encoding: UTF-8
125
- string: |
126
- <?xml version="1.0"?>
127
- <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
128
- <GetServiceStatusResult>
129
- <Status>GREEN</Status>
130
- <Timestamp>2015-03-28T18:10:37.070Z</Timestamp>
131
- </GetServiceStatusResult>
132
- <ResponseMetadata>
133
- <RequestId>65b89734-45cb-40c6-aa47-75fdc8545e7c</RequestId>
134
- </ResponseMetadata>
135
- </GetServiceStatusResponse>
136
- http_version:
137
- recorded_at: Sat, 28 Mar 2015 18:10:37 GMT
138
- - request:
139
- method: post
140
- uri: https://mws.amazonservices.com/CustomerInformation/2014-03-01
141
- body:
142
- encoding: US-ASCII
143
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A37Z&Version=2014-03-01&Signature=1gtD52L%2FPTkcgT%2FIOt40amQ1%2ByJXM9bXkqJz8ubiHf4%3D
144
- headers:
145
- User-Agent:
146
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
147
- response:
148
- status:
149
- code: 200
150
- message:
151
- headers:
152
- Date:
153
- - Sat, 28 Mar 2015 18:10:37 GMT
154
- Server:
155
- - AmazonMWS
156
- x-mws-request-id:
157
- - b1686c05-3b19-498f-90ba-b686458f5652
158
- x-mws-timestamp:
159
- - '2015-03-28T18:10:37.790Z'
160
- x-mws-response-context:
161
- - N0+1Og93yvLAFUErZfK4zJVPEPvWnxXKtBhYQGo1FJJw5ux8YUfPGXN4a0Fkd6L8KsR/G5LPiW8=
162
- Content-Type:
163
- - text/xml
164
- Content-Length:
165
- - '385'
166
- Vary:
167
- - User-Agent
168
- body:
169
- encoding: UTF-8
170
- string: |
171
- <?xml version="1.0"?>
172
- <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
173
- <GetServiceStatusResult>
174
- <Status>GREEN</Status>
175
- <Timestamp>2015-03-28T18:10:37.790Z</Timestamp>
176
- </GetServiceStatusResult>
177
- <ResponseMetadata>
178
- <RequestId>b1686c05-3b19-498f-90ba-b686458f5652</RequestId>
179
- </ResponseMetadata>
180
- </GetServiceStatusResponse>
181
- http_version:
182
- recorded_at: Sat, 28 Mar 2015 18:10:38 GMT
183
- - request:
184
- method: post
185
- uri: https://mws.amazonservices.com/CustomerInformation/2014-03-01
186
- body:
187
- encoding: UTF-8
188
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A37%3A18Z&Version=2014-03-01&Signature=ulFnKcmr%2Bo3DWGZMbbUllITdAOwwNlHTbQrIcq%2FXWQE%3D
189
- headers:
190
- User-Agent:
191
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
192
- Content-Type:
193
- - application/x-www-form-urlencoded
194
- response:
195
- status:
196
- code: 200
197
- message:
198
- headers:
199
- Server:
200
- - Server
201
- Date:
202
- - Mon, 23 May 2016 12:37:20 GMT
203
- Content-Type:
204
- - text/xml
205
- Content-Length:
206
- - '385'
207
- Connection:
208
- - keep-alive
209
- x-mws-request-id:
210
- - c1f79b32-dfa5-473e-b387-76832d787560
211
- x-mws-timestamp:
212
- - '2016-05-23T12:37:20.632Z'
213
- x-mws-response-context:
214
- - gaKrAo+3yc608ScG2XlLpw4Bj6U9Z2bKTyq3zQ06DvRMWDBmUSanifk+ADVLn18Oo/lS1I4w7eUb
215
- srrojI3l6A==
216
- Vary:
217
- - Accept-Encoding,User-Agent
218
- body:
219
- encoding: UTF-8
220
- string: |
221
- <?xml version="1.0"?>
222
- <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
223
- <GetServiceStatusResult>
224
- <Status>GREEN</Status>
225
- <Timestamp>2016-05-23T12:37:20.632Z</Timestamp>
226
- </GetServiceStatusResult>
227
- <ResponseMetadata>
228
- <RequestId>c1f79b32-dfa5-473e-b387-76832d787560</RequestId>
229
- </ResponseMetadata>
230
- </GetServiceStatusResponse>
231
- http_version:
232
- recorded_at: Mon, 23 May 2016 12:37:20 GMT
233
- - request:
234
- method: post
235
- uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01
236
- body:
237
- encoding: UTF-8
238
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A37%3A20Z&Version=2014-03-01&Signature=YO2xqZYI%2F5jCYgOq00tHWYklOU8akuk0FHY%2F0X%2F9hrI%3D
239
- headers:
240
- User-Agent:
241
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
242
- Content-Type:
243
- - application/x-www-form-urlencoded
244
- response:
245
- status:
246
- code: 200
247
- message:
248
- headers:
249
- Server:
250
- - Server
251
- Date:
252
- - Mon, 23 May 2016 12:37:21 GMT
253
- Content-Type:
254
- - text/xml
255
- Content-Length:
256
- - '385'
257
- Connection:
258
- - keep-alive
259
- x-mws-request-id:
260
- - 7e9a7a95-6aad-41d3-87a9-54c78b0e2779
261
- x-mws-timestamp:
262
- - '2016-05-23T12:37:21.446Z'
263
- x-mws-response-context:
264
- - xZY6gkPwY+qKD0tT18brEtxP2DnzFjylUN4XXttxHtGictVH7C7lOV2k+0OjahaXhiBrt1yrocJZ
265
- c3ASSFBMOw==
266
- Vary:
267
- - Accept-Encoding,User-Agent
268
- body:
269
- encoding: UTF-8
270
- string: |
271
- <?xml version="1.0"?>
272
- <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
273
- <GetServiceStatusResult>
274
- <Status>GREEN</Status>
275
- <Timestamp>2016-05-23T12:37:21.446Z</Timestamp>
276
- </GetServiceStatusResult>
277
- <ResponseMetadata>
278
- <RequestId>7e9a7a95-6aad-41d3-87a9-54c78b0e2779</RequestId>
279
- </ResponseMetadata>
280
- </GetServiceStatusResponse>
281
- http_version:
282
- recorded_at: Mon, 23 May 2016 12:37:21 GMT
283
- - request:
284
- method: post
285
- uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01
286
- body:
287
- encoding: UTF-8
288
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A37%3A21Z&Version=2014-03-01&Signature=NhjhZ7182OzwKG0dPMRbJ5KnB4G2dRdOFCvBFISyLWE%3D
289
- headers:
290
- User-Agent:
291
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
292
- Content-Type:
293
- - application/x-www-form-urlencoded
294
- response:
295
- status:
296
- code: 200
297
- message:
298
- headers:
299
- Server:
300
- - Server
301
- Date:
302
- - Mon, 23 May 2016 12:37:21 GMT
303
- Content-Type:
304
- - text/xml
305
- Content-Length:
306
- - '385'
307
- Connection:
308
- - keep-alive
309
- x-mws-request-id:
310
- - 73c23d8f-2566-46bb-b3c6-06be73712b8c
311
- x-mws-timestamp:
312
- - '2016-05-23T12:37:21.781Z'
313
- x-mws-response-context:
314
- - pcyZ3G7tztrajN2Uma+N0jTHCq6YnekhH1VA7XBOOxjj7he85j24nvRwYh+vtMeJJk36VU/ZF7ed
315
- xdr095hD1w==
316
- Vary:
317
- - Accept-Encoding,User-Agent
318
- body:
319
- encoding: UTF-8
320
- string: |
321
- <?xml version="1.0"?>
322
- <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
323
- <GetServiceStatusResult>
324
- <Status>GREEN</Status>
325
- <Timestamp>2016-05-23T12:37:21.781Z</Timestamp>
326
- </GetServiceStatusResult>
327
- <ResponseMetadata>
328
- <RequestId>73c23d8f-2566-46bb-b3c6-06be73712b8c</RequestId>
329
- </ResponseMetadata>
330
- </GetServiceStatusResponse>
331
- http_version:
332
- recorded_at: Mon, 23 May 2016 12:37:21 GMT
333
- - request:
334
- method: post
335
- uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01
336
- body:
337
- encoding: UTF-8
338
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A37%3A21Z&Version=2014-03-01&Signature=mIV1JMvgycHCj7xRR9wrhkIJLOd30ydlu%2Blh6l43rH0%3D
339
- headers:
340
- User-Agent:
341
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
342
- Content-Type:
343
- - application/x-www-form-urlencoded
344
- response:
345
- status:
346
- code: 200
347
- message:
348
- headers:
349
- Server:
350
- - Server
351
- Date:
352
- - Mon, 23 May 2016 12:37:22 GMT
353
- Content-Type:
354
- - text/xml
355
- Content-Length:
356
- - '385'
357
- Connection:
358
- - keep-alive
359
- x-mws-request-id:
360
- - ae2b6ac3-0031-48ee-8443-654567005203
361
- x-mws-timestamp:
362
- - '2016-05-23T12:37:22.028Z'
363
- x-mws-response-context:
364
- - L4/dMHfGSNXz1SWF0Vt3+bfBN2pLzx/3f7VVbnwSO3bXm/N85Z4Bdi76uC074BwVQX74WADE6XqJ
365
- yEtvdE2Okw==
366
- Vary:
367
- - Accept-Encoding,User-Agent
368
- body:
369
- encoding: UTF-8
370
- string: |
371
- <?xml version="1.0"?>
372
- <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
373
- <GetServiceStatusResult>
374
- <Status>GREEN</Status>
375
- <Timestamp>2016-05-23T12:37:22.028Z</Timestamp>
376
- </GetServiceStatusResult>
377
- <ResponseMetadata>
378
- <RequestId>ae2b6ac3-0031-48ee-8443-654567005203</RequestId>
379
- </ResponseMetadata>
380
- </GetServiceStatusResponse>
381
- http_version:
382
- recorded_at: Mon, 23 May 2016 12:37:22 GMT
383
- - request:
384
- method: post
385
- uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01
386
- body:
387
- encoding: UTF-8
388
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A37%3A22Z&Version=2014-03-01&Signature=3FoVyLOV9DSHEVssJRfniw6TtAovo7Vx4TqrhlQCT5c%3D
389
- headers:
390
- User-Agent:
391
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
392
- Content-Type:
393
- - application/x-www-form-urlencoded
394
- response:
395
- status:
396
- code: 200
397
- message:
398
- headers:
399
- Server:
400
- - Server
401
- Date:
402
- - Mon, 23 May 2016 12:37:22 GMT
403
- Content-Type:
404
- - text/xml
405
- Content-Length:
406
- - '385'
407
- Connection:
408
- - keep-alive
409
- x-mws-request-id:
410
- - 092d1128-bad6-4a64-abda-8ec3a8e47661
411
- x-mws-timestamp:
412
- - '2016-05-23T12:37:22.277Z'
413
- x-mws-response-context:
414
- - xgKs055/1JvZv1n2u4Hnl5wbHVVS/7NITLPqTYXWu0rcQI9bt2nqFfVzeBJeeEaLCdGVg4ZedGVu
415
- M7/h/JbXHA==
416
- Vary:
417
- - Accept-Encoding,User-Agent
418
- body:
419
- encoding: UTF-8
420
- string: |
421
- <?xml version="1.0"?>
422
- <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
423
- <GetServiceStatusResult>
424
- <Status>GREEN</Status>
425
- <Timestamp>2016-05-23T12:37:22.277Z</Timestamp>
426
- </GetServiceStatusResult>
427
- <ResponseMetadata>
428
- <RequestId>092d1128-bad6-4a64-abda-8ec3a8e47661</RequestId>
429
- </ResponseMetadata>
430
- </GetServiceStatusResponse>
431
- http_version:
432
- recorded_at: Mon, 23 May 2016 12:37:22 GMT
433
- recorded_with: VCR 3.0.1
@@ -1,444 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://mws.amazonservices.com/Orders/2013-09-01
6
- body:
7
- encoding: UTF-8
8
- string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A01Z&Version=2013-09-01&Signature=MyyiEUzErh8YiguHaNFTHIU2DckQIGmyIlx5TPsDTuM%3D
9
- headers:
10
- User-Agent:
11
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
12
- Content-Type:
13
- - application/x-www-form-urlencoded
14
- response:
15
- status:
16
- code: 403
17
- message:
18
- headers:
19
- Server:
20
- - Server
21
- Date:
22
- - Mon, 23 May 2016 12:17:02 GMT
23
- Content-Type:
24
- - text/xml
25
- Content-Length:
26
- - '344'
27
- Connection:
28
- - keep-alive
29
- x-mws-request-id:
30
- - 00df398f-e78f-49ff-b71b-aef161edb82c
31
- x-mws-timestamp:
32
- - '2016-05-23T12:17:02.582Z'
33
- x-mws-response-context:
34
- - bUYOxpXi+PGNh8qrdEc9kNp/ooLyWO1crukK1cDkvBVJW7HEf3sp2ktciOyJT2XnnHtpcY4E7Xvj
35
- NaUV/Vk0KA==
36
- Vary:
37
- - Accept-Encoding,User-Agent
38
- body:
39
- encoding: UTF-8
40
- string: |
41
- <?xml version="1.0"?>
42
- <ErrorResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
43
- <Error>
44
- <Type>Sender</Type>
45
- <Code>InvalidAccessKeyId</Code>
46
- <Message>The AWS Access Key Id you provided does not exist in our records.</Message>
47
- </Error>
48
- <RequestID>00df398f-e78f-49ff-b71b-aef161edb82c</RequestID>
49
- </ErrorResponse>
50
- http_version:
51
- recorded_at: Mon, 23 May 2016 12:17:02 GMT
52
- - request:
53
- method: post
54
- uri: https://mws-eu.amazonservices.com/Orders/2013-09-01
55
- body:
56
- encoding: UTF-8
57
- string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A02Z&Version=2013-09-01&Signature=t0LccrY3UcTag6oztJwms4YaAHN%2FRku8D339MzuREJc%3D
58
- headers:
59
- User-Agent:
60
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
61
- Content-Type:
62
- - application/x-www-form-urlencoded
63
- response:
64
- status:
65
- code: 403
66
- message:
67
- headers:
68
- Server:
69
- - Server
70
- Date:
71
- - Mon, 23 May 2016 12:17:03 GMT
72
- Content-Type:
73
- - text/xml
74
- Content-Length:
75
- - '344'
76
- Connection:
77
- - keep-alive
78
- x-mws-request-id:
79
- - 1d076335-515f-451d-bc8f-c12c93e43874
80
- x-mws-timestamp:
81
- - '2016-05-23T12:17:03.527Z'
82
- x-mws-response-context:
83
- - wxjSPxLmtd2MjB+U8T6ibCRHp+80uxJDefc7wRqMusZsE/AWkAL2kCn098SkJSG5DllbPvgvYHWc
84
- p8OKqk30ag==
85
- Vary:
86
- - Accept-Encoding,User-Agent
87
- body:
88
- encoding: UTF-8
89
- string: |
90
- <?xml version="1.0"?>
91
- <ErrorResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
92
- <Error>
93
- <Type>Sender</Type>
94
- <Code>InvalidAccessKeyId</Code>
95
- <Message>The AWS Access Key Id you provided does not exist in our records.</Message>
96
- </Error>
97
- <RequestID>1d076335-515f-451d-bc8f-c12c93e43874</RequestID>
98
- </ErrorResponse>
99
- http_version:
100
- recorded_at: Mon, 23 May 2016 12:17:03 GMT
101
- - request:
102
- method: post
103
- uri: https://mws-eu.amazonservices.com/Orders/2013-09-01
104
- body:
105
- encoding: UTF-8
106
- string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A03Z&Version=2013-09-01&Signature=SMZmbd4bacx8bYkg6WJ198bIfkjQFLh7kWqGTqsVBg8%3D
107
- headers:
108
- User-Agent:
109
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
110
- Content-Type:
111
- - application/x-www-form-urlencoded
112
- response:
113
- status:
114
- code: 403
115
- message:
116
- headers:
117
- Server:
118
- - Server
119
- Date:
120
- - Mon, 23 May 2016 12:17:03 GMT
121
- Content-Type:
122
- - text/xml
123
- Content-Length:
124
- - '344'
125
- Connection:
126
- - keep-alive
127
- x-mws-request-id:
128
- - 8a975a37-ae3d-420c-b294-747ece38eb15
129
- x-mws-timestamp:
130
- - '2016-05-23T12:17:03.768Z'
131
- x-mws-response-context:
132
- - nq1uY2OtVML1oMuS81LCGiEz9sUZ69g5DcrAhm/LXQd7A47ENMes/ykmT1Tj7NzcPkXGYWmgDlCJ
133
- bSPOogd/bg==
134
- Vary:
135
- - Accept-Encoding,User-Agent
136
- body:
137
- encoding: UTF-8
138
- string: |
139
- <?xml version="1.0"?>
140
- <ErrorResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
141
- <Error>
142
- <Type>Sender</Type>
143
- <Code>InvalidAccessKeyId</Code>
144
- <Message>The AWS Access Key Id you provided does not exist in our records.</Message>
145
- </Error>
146
- <RequestID>8a975a37-ae3d-420c-b294-747ece38eb15</RequestID>
147
- </ErrorResponse>
148
- http_version:
149
- recorded_at: Mon, 23 May 2016 12:17:03 GMT
150
- - request:
151
- method: post
152
- uri: https://mws.amazonservices.com/Orders/2013-09-01
153
- body:
154
- encoding: UTF-8
155
- string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A03Z&Version=2013-09-01&Signature=LZJLm79FpUSEEE64JxOQl%2Fv9%2B8gJundIO9GCm59ZQCI%3D
156
- headers:
157
- User-Agent:
158
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
159
- Content-Type:
160
- - application/x-www-form-urlencoded
161
- response:
162
- status:
163
- code: 403
164
- message:
165
- headers:
166
- Server:
167
- - Server
168
- Date:
169
- - Mon, 23 May 2016 12:17:04 GMT
170
- Content-Type:
171
- - text/xml
172
- Content-Length:
173
- - '344'
174
- Connection:
175
- - keep-alive
176
- x-mws-request-id:
177
- - 627c5924-6175-40bf-98b4-502a938310a6
178
- x-mws-timestamp:
179
- - '2016-05-23T12:17:04.795Z'
180
- x-mws-response-context:
181
- - d3QEKHI7fhB64Q9lCdTzO0FMWprAU3qHDCpgP0LmNl5diGZhXojnzBTnxRv+G0P6+/wXovJJQD17
182
- vuYS4GIdRg==
183
- Vary:
184
- - Accept-Encoding,User-Agent
185
- body:
186
- encoding: UTF-8
187
- string: |
188
- <?xml version="1.0"?>
189
- <ErrorResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
190
- <Error>
191
- <Type>Sender</Type>
192
- <Code>InvalidAccessKeyId</Code>
193
- <Message>The AWS Access Key Id you provided does not exist in our records.</Message>
194
- </Error>
195
- <RequestID>627c5924-6175-40bf-98b4-502a938310a6</RequestID>
196
- </ErrorResponse>
197
- http_version:
198
- recorded_at: Mon, 23 May 2016 12:17:04 GMT
199
- - request:
200
- method: post
201
- uri: https://mws-eu.amazonservices.com/Orders/2013-09-01
202
- body:
203
- encoding: UTF-8
204
- string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A04Z&Version=2013-09-01&Signature=yzJY8FrVzr3BazJSk3RZPeYseVI1qkj%2FpKi1aP%2FFPqA%3D
205
- headers:
206
- User-Agent:
207
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
208
- Content-Type:
209
- - application/x-www-form-urlencoded
210
- response:
211
- status:
212
- code: 403
213
- message:
214
- headers:
215
- Server:
216
- - Server
217
- Date:
218
- - Mon, 23 May 2016 12:17:05 GMT
219
- Content-Type:
220
- - text/xml
221
- Content-Length:
222
- - '344'
223
- Connection:
224
- - keep-alive
225
- x-mws-request-id:
226
- - 3a0e7604-1e30-4a02-bcbb-80b241aeb392
227
- x-mws-timestamp:
228
- - '2016-05-23T12:17:05.057Z'
229
- x-mws-response-context:
230
- - UH8GNaqfHirrCUobeac7hbz5u+TOqt1ha58Yrid9jNX0lNuq2k5GxwJTydwazd30B2SAlU7d+AUg
231
- B3uVG+KqFQ==
232
- Vary:
233
- - Accept-Encoding,User-Agent
234
- body:
235
- encoding: UTF-8
236
- string: |
237
- <?xml version="1.0"?>
238
- <ErrorResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
239
- <Error>
240
- <Type>Sender</Type>
241
- <Code>InvalidAccessKeyId</Code>
242
- <Message>The AWS Access Key Id you provided does not exist in our records.</Message>
243
- </Error>
244
- <RequestID>3a0e7604-1e30-4a02-bcbb-80b241aeb392</RequestID>
245
- </ErrorResponse>
246
- http_version:
247
- recorded_at: Mon, 23 May 2016 12:17:05 GMT
248
- - request:
249
- method: post
250
- uri: https://mws.amazonservices.jp/Orders/2013-09-01
251
- body:
252
- encoding: UTF-8
253
- string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A05Z&Version=2013-09-01&Signature=bQZQObbWut7cVRsrurA8MbM48cbX0b65hJIUxj%2FDnKU%3D
254
- headers:
255
- User-Agent:
256
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
257
- Content-Type:
258
- - application/x-www-form-urlencoded
259
- response:
260
- status:
261
- code: 403
262
- message:
263
- headers:
264
- Server:
265
- - Server
266
- Date:
267
- - Mon, 23 May 2016 12:17:07 GMT
268
- Content-Type:
269
- - text/xml
270
- Content-Length:
271
- - '344'
272
- Connection:
273
- - keep-alive
274
- x-mws-request-id:
275
- - 336abcbc-d2e0-482e-a17c-3ebc1840702b
276
- x-mws-timestamp:
277
- - '2016-05-23T12:17:07.113Z'
278
- x-mws-response-context:
279
- - rVYRsv0Rhzc0hQs8SDAxk3PNN45ICeRqrxEpoezGCqq9dmP4+uErMDT6lUksS8uWdUdrLk5+Y2Dy
280
- wf00rhdpCw==
281
- Vary:
282
- - Accept-Encoding,User-Agent
283
- body:
284
- encoding: UTF-8
285
- string: |
286
- <?xml version="1.0"?>
287
- <ErrorResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
288
- <Error>
289
- <Type>Sender</Type>
290
- <Code>InvalidAccessKeyId</Code>
291
- <Message>The AWS Access Key Id you provided does not exist in our records.</Message>
292
- </Error>
293
- <RequestID>336abcbc-d2e0-482e-a17c-3ebc1840702b</RequestID>
294
- </ErrorResponse>
295
- http_version:
296
- recorded_at: Mon, 23 May 2016 12:17:07 GMT
297
- - request:
298
- method: post
299
- uri: https://mws-eu.amazonservices.com/Orders/2013-09-01
300
- body:
301
- encoding: UTF-8
302
- string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A07Z&Version=2013-09-01&Signature=HSnE4R93J5MFUX496b4t%2F7mWlW6k094mv0itVF3YoOE%3D
303
- headers:
304
- User-Agent:
305
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
306
- Content-Type:
307
- - application/x-www-form-urlencoded
308
- response:
309
- status:
310
- code: 403
311
- message:
312
- headers:
313
- Server:
314
- - Server
315
- Date:
316
- - Mon, 23 May 2016 12:17:07 GMT
317
- Content-Type:
318
- - text/xml
319
- Content-Length:
320
- - '344'
321
- Connection:
322
- - keep-alive
323
- x-mws-request-id:
324
- - fa494823-6cc9-4a16-9ec2-2d219c793f10
325
- x-mws-timestamp:
326
- - '2016-05-23T12:17:07.603Z'
327
- x-mws-response-context:
328
- - hiHNyXMVlAzfxNrBusigW/Ianmjbo/W7rQWvZKlyNwcZqxNUnNs3d2QLN8KLut2wyu3mPLOPNbKc
329
- k2RLkc4S6A==
330
- Vary:
331
- - Accept-Encoding,User-Agent
332
- body:
333
- encoding: UTF-8
334
- string: |
335
- <?xml version="1.0"?>
336
- <ErrorResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
337
- <Error>
338
- <Type>Sender</Type>
339
- <Code>InvalidAccessKeyId</Code>
340
- <Message>The AWS Access Key Id you provided does not exist in our records.</Message>
341
- </Error>
342
- <RequestID>fa494823-6cc9-4a16-9ec2-2d219c793f10</RequestID>
343
- </ErrorResponse>
344
- http_version:
345
- recorded_at: Mon, 23 May 2016 12:17:07 GMT
346
- - request:
347
- method: post
348
- uri: https://mws-eu.amazonservices.com/Orders/2013-09-01
349
- body:
350
- encoding: UTF-8
351
- string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A07Z&Version=2013-09-01&Signature=2IC%2B6asAEkPu09p7pYusA5z2mzuLhVRuprtpPLHA6ao%3D
352
- headers:
353
- User-Agent:
354
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
355
- Content-Type:
356
- - application/x-www-form-urlencoded
357
- response:
358
- status:
359
- code: 403
360
- message:
361
- headers:
362
- Server:
363
- - Server
364
- Date:
365
- - Mon, 23 May 2016 12:17:07 GMT
366
- Content-Type:
367
- - text/xml
368
- Content-Length:
369
- - '344'
370
- Connection:
371
- - keep-alive
372
- x-mws-request-id:
373
- - c84732da-1e06-4be4-afa7-ddbabbe2de28
374
- x-mws-timestamp:
375
- - '2016-05-23T12:17:07.862Z'
376
- x-mws-response-context:
377
- - j2hhCArf+5eJ5TDCBKz5by7w9P6My7gvAgSb3DpWacOVw+7DMtMFoVun8fde2u8KvWd0aTy5CN9b
378
- o9HakS7/Aw==
379
- Vary:
380
- - Accept-Encoding,User-Agent
381
- body:
382
- encoding: UTF-8
383
- string: |
384
- <?xml version="1.0"?>
385
- <ErrorResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
386
- <Error>
387
- <Type>Sender</Type>
388
- <Code>InvalidAccessKeyId</Code>
389
- <Message>The AWS Access Key Id you provided does not exist in our records.</Message>
390
- </Error>
391
- <RequestID>c84732da-1e06-4be4-afa7-ddbabbe2de28</RequestID>
392
- </ErrorResponse>
393
- http_version:
394
- recorded_at: Mon, 23 May 2016 12:17:07 GMT
395
- - request:
396
- method: post
397
- uri: https://mws.amazonservices.com/Orders/2013-09-01
398
- body:
399
- encoding: UTF-8
400
- string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A07Z&Version=2013-09-01&Signature=fNYJaW9V0dFEkNnollJMKdsNqPX585iH0SpnghCRN%2Bg%3D
401
- headers:
402
- User-Agent:
403
- - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
404
- Content-Type:
405
- - application/x-www-form-urlencoded
406
- response:
407
- status:
408
- code: 403
409
- message:
410
- headers:
411
- Server:
412
- - Server
413
- Date:
414
- - Mon, 23 May 2016 12:17:08 GMT
415
- Content-Type:
416
- - text/xml
417
- Content-Length:
418
- - '344'
419
- Connection:
420
- - keep-alive
421
- x-mws-request-id:
422
- - e62e40db-56b1-426a-9931-e0ae1855ab3a
423
- x-mws-timestamp:
424
- - '2016-05-23T12:17:08.351Z'
425
- x-mws-response-context:
426
- - NK1tq0RbDyInkgO/Wv6uxNwqrVHWSip2dpUTRwLR821er9uBeB2OYFEgVAEffhUXexSTyItqpiZp
427
- 3453n2OBpA==
428
- Vary:
429
- - Accept-Encoding,User-Agent
430
- body:
431
- encoding: UTF-8
432
- string: |
433
- <?xml version="1.0"?>
434
- <ErrorResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
435
- <Error>
436
- <Type>Sender</Type>
437
- <Code>InvalidAccessKeyId</Code>
438
- <Message>The AWS Access Key Id you provided does not exist in our records.</Message>
439
- </Error>
440
- <RequestID>e62e40db-56b1-426a-9931-e0ae1855ab3a</RequestID>
441
- </ErrorResponse>
442
- http_version:
443
- recorded_at: Mon, 23 May 2016 12:17:08 GMT
444
- recorded_with: VCR 3.0.1