shipwire 0.0.5 → 2.0.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.
- checksums.yaml +4 -4
- data/.gitignore +3 -3
- data/.rspec +2 -0
- data/.ruby-version +1 -1
- data/Gemfile +0 -1
- data/README.md +53 -29
- data/Rakefile +2 -3
- data/lib/generators/shipwire/install/install_generator.rb +13 -0
- data/lib/generators/shipwire/install/templates/config/initializers/shipwire.rb +27 -0
- data/lib/shipwire.rb +26 -33
- data/lib/shipwire/api.rb +7 -0
- data/lib/shipwire/configuration.rb +13 -3
- data/lib/shipwire/orders.rb +39 -0
- data/lib/shipwire/param_converter.rb +39 -0
- data/lib/shipwire/products.rb +53 -0
- data/lib/shipwire/products/base.rb +9 -0
- data/lib/shipwire/products/insert.rb +9 -0
- data/lib/shipwire/products/kit.rb +9 -0
- data/lib/shipwire/products/virtual_kit.rb +9 -0
- data/lib/shipwire/rate.rb +7 -0
- data/lib/shipwire/receivings.rb +50 -0
- data/lib/shipwire/request.rb +73 -0
- data/lib/shipwire/response.rb +79 -0
- data/lib/shipwire/returns.rb +35 -0
- data/lib/shipwire/secret.rb +20 -0
- data/lib/shipwire/stock.rb +7 -0
- data/lib/shipwire/utility.rb +22 -0
- data/lib/shipwire/version.rb +1 -1
- data/lib/shipwire/webhooks.rb +24 -0
- data/shipwire.gemspec +12 -15
- data/spec/features/access_spec.rb +61 -0
- data/spec/features/orders_spec.rb +280 -0
- data/spec/features/product_types_spec.rb +219 -0
- data/spec/features/products_spec.rb +282 -0
- data/spec/features/rate_spec.rb +50 -0
- data/spec/features/receivings_spec.rb +333 -0
- data/spec/features/returns_spec.rb +239 -0
- data/spec/features/secret_spec.rb +57 -0
- data/spec/features/stock_spec.rb +41 -0
- data/spec/features/webhooks_spec.rb +106 -0
- data/spec/spec_helper.rb +33 -12
- data/spec/support/shipwire.rb +10 -0
- data/spec/support/vcr.rb +9 -0
- data/spec/support/vcr_cassettes/credentials_incorrect.yml +47 -0
- data/spec/support/vcr_cassettes/credentials_missing.yml +47 -0
- data/spec/support/vcr_cassettes/order.yml +48 -0
- data/spec/support/vcr_cassettes/order_cancel.yml +54 -0
- data/spec/support/vcr_cassettes/order_cancel_fail.yml +47 -0
- data/spec/support/vcr_cassettes/order_find.yml +45 -0
- data/spec/support/vcr_cassettes/order_find_fail.yml +45 -0
- data/spec/support/vcr_cassettes/order_find_with_params.yml +45 -0
- data/spec/support/vcr_cassettes/order_holds.yml +50 -0
- data/spec/support/vcr_cassettes/order_holds_fail.yml +45 -0
- data/spec/support/vcr_cassettes/order_holds_with_params.yml +50 -0
- data/spec/support/vcr_cassettes/order_items.yml +45 -0
- data/spec/support/vcr_cassettes/order_items_fail.yml +45 -0
- data/spec/support/vcr_cassettes/order_returns.yml +47 -0
- data/spec/support/vcr_cassettes/order_returns_fail.yml +47 -0
- data/spec/support/vcr_cassettes/order_trackings.yml +45 -0
- data/spec/support/vcr_cassettes/order_trackings_fail.yml +45 -0
- data/spec/support/vcr_cassettes/order_update.yml +48 -0
- data/spec/support/vcr_cassettes/order_update_fail.yml +50 -0
- data/spec/support/vcr_cassettes/order_update_with_params.yml +48 -0
- data/spec/support/vcr_cassettes/order_with_warnings.yml +96 -0
- data/spec/support/vcr_cassettes/orders_list.yml +47 -0
- data/spec/support/vcr_cassettes/orders_list_with_params.yml +47 -0
- data/spec/support/vcr_cassettes/product.yml +48 -0
- data/spec/support/vcr_cassettes/product_base.yml +48 -0
- data/spec/support/vcr_cassettes/product_base_find.yml +48 -0
- data/spec/support/vcr_cassettes/product_base_find_fail.yml +47 -0
- data/spec/support/vcr_cassettes/product_base_retire_id.yml +47 -0
- data/spec/support/vcr_cassettes/product_base_retire_nonexistent.yml +47 -0
- data/spec/support/vcr_cassettes/product_base_update.yml +48 -0
- data/spec/support/vcr_cassettes/product_base_update_fail.yml +48 -0
- data/spec/support/vcr_cassettes/product_create_fail_with_invalid_classification.yml +51 -0
- data/spec/support/vcr_cassettes/product_find.yml +48 -0
- data/spec/support/vcr_cassettes/product_find_fail.yml +47 -0
- data/spec/support/vcr_cassettes/product_insert.yml +50 -0
- data/spec/support/vcr_cassettes/product_insert_find.yml +48 -0
- data/spec/support/vcr_cassettes/product_insert_find_fail.yml +47 -0
- data/spec/support/vcr_cassettes/product_insert_retire_id.yml +47 -0
- data/spec/support/vcr_cassettes/product_insert_retire_nonexistent.yml +47 -0
- data/spec/support/vcr_cassettes/product_insert_update.yml +49 -0
- data/spec/support/vcr_cassettes/product_insert_update_fail.yml +48 -0
- data/spec/support/vcr_cassettes/product_kit.yml +48 -0
- data/spec/support/vcr_cassettes/product_kit_find.yml +48 -0
- data/spec/support/vcr_cassettes/product_kit_find_fail.yml +47 -0
- data/spec/support/vcr_cassettes/product_kit_retire_id.yml +47 -0
- data/spec/support/vcr_cassettes/product_kit_retire_nonexistent.yml +47 -0
- data/spec/support/vcr_cassettes/product_kit_update.yml +48 -0
- data/spec/support/vcr_cassettes/product_kit_update_fail.yml +47 -0
- data/spec/support/vcr_cassettes/product_multiple_create_fail.yml +102 -0
- data/spec/support/vcr_cassettes/product_multiple_create_success.yml +100 -0
- data/spec/support/vcr_cassettes/product_retire_id.yml +47 -0
- data/spec/support/vcr_cassettes/product_retire_nonexistent.yml +47 -0
- data/spec/support/vcr_cassettes/product_update.yml +48 -0
- data/spec/support/vcr_cassettes/product_update_fail.yml +48 -0
- data/spec/support/vcr_cassettes/product_virtual_kit.yml +48 -0
- data/spec/support/vcr_cassettes/product_virtual_kit_find.yml +48 -0
- data/spec/support/vcr_cassettes/product_virtual_kit_find_fail.yml +47 -0
- data/spec/support/vcr_cassettes/product_virtual_kit_retire_id.yml +47 -0
- data/spec/support/vcr_cassettes/product_virtual_kit_retire_nonexistent.yml +47 -0
- data/spec/support/vcr_cassettes/product_virtual_kit_update.yml +49 -0
- data/spec/support/vcr_cassettes/product_virtual_kit_update_fail.yml +47 -0
- data/spec/support/vcr_cassettes/products_base_list.yml +49 -0
- data/spec/support/vcr_cassettes/products_base_list_with_params.yml +49 -0
- data/spec/support/vcr_cassettes/products_insert_list.yml +47 -0
- data/spec/support/vcr_cassettes/products_insert_list_with_params.yml +47 -0
- data/spec/support/vcr_cassettes/products_kit_list.yml +47 -0
- data/spec/support/vcr_cassettes/products_kit_list_with_params.yml +47 -0
- data/spec/support/vcr_cassettes/products_list.yml +49 -0
- data/spec/support/vcr_cassettes/products_list_with_params.yml +49 -0
- data/spec/support/vcr_cassettes/products_virtual_kit_list.yml +47 -0
- data/spec/support/vcr_cassettes/products_virtual_kit_list_with_params.yml +47 -0
- data/spec/support/vcr_cassettes/rate_find.yml +53 -0
- data/spec/support/vcr_cassettes/rate_find_fail.yml +50 -0
- data/spec/support/vcr_cassettes/receiving.yml +53 -0
- data/spec/support/vcr_cassettes/receiving_cancel.yml +98 -0
- data/spec/support/vcr_cassettes/receiving_cancel_label.yml +47 -0
- data/spec/support/vcr_cassettes/receiving_cancel_label_nonexistent.yml +47 -0
- data/spec/support/vcr_cassettes/receiving_find.yml +46 -0
- data/spec/support/vcr_cassettes/receiving_find_fail.yml +45 -0
- data/spec/support/vcr_cassettes/receiving_find_with_params.yml +48 -0
- data/spec/support/vcr_cassettes/receiving_holds.yml +47 -0
- data/spec/support/vcr_cassettes/receiving_holds_fail.yml +45 -0
- data/spec/support/vcr_cassettes/receiving_holds_with_params.yml +47 -0
- data/spec/support/vcr_cassettes/receiving_instructions_recipients.yml +45 -0
- data/spec/support/vcr_cassettes/receiving_instructions_recipients_fail.yml +45 -0
- data/spec/support/vcr_cassettes/receiving_items.yml +45 -0
- data/spec/support/vcr_cassettes/receiving_items_fail.yml +45 -0
- data/spec/support/vcr_cassettes/receiving_shipments.yml +45 -0
- data/spec/support/vcr_cassettes/receiving_shipments_fail.yml +45 -0
- data/spec/support/vcr_cassettes/receiving_tracking.yml +45 -0
- data/spec/support/vcr_cassettes/receiving_tracking_fail.yml +45 -0
- data/spec/support/vcr_cassettes/receiving_update.yml +53 -0
- data/spec/support/vcr_cassettes/receiving_update_fail.yml +49 -0
- data/spec/support/vcr_cassettes/receiving_update_with_params.yml +55 -0
- data/spec/support/vcr_cassettes/receivings_list.yml +53 -0
- data/spec/support/vcr_cassettes/receivings_list_with_params.yml +46 -0
- data/spec/support/vcr_cassettes/return.yml +98 -0
- data/spec/support/vcr_cassettes/return_cancel.yml +55 -0
- data/spec/support/vcr_cassettes/return_cancel_fail.yml +47 -0
- data/spec/support/vcr_cassettes/return_find.yml +47 -0
- data/spec/support/vcr_cassettes/return_find_fail.yml +45 -0
- data/spec/support/vcr_cassettes/return_find_with_params.yml +47 -0
- data/spec/support/vcr_cassettes/return_holds.yml +45 -0
- data/spec/support/vcr_cassettes/return_holds_fail.yml +45 -0
- data/spec/support/vcr_cassettes/return_holds_with_params.yml +45 -0
- data/spec/support/vcr_cassettes/return_items.yml +45 -0
- data/spec/support/vcr_cassettes/return_items_fail.yml +45 -0
- data/spec/support/vcr_cassettes/return_labels.yml +45 -0
- data/spec/support/vcr_cassettes/return_labels_fail.yml +45 -0
- data/spec/support/vcr_cassettes/return_trackings.yml +45 -0
- data/spec/support/vcr_cassettes/return_trackings_fail.yml +45 -0
- data/spec/support/vcr_cassettes/returns_list.yml +47 -0
- data/spec/support/vcr_cassettes/returns_list_with_params.yml +47 -0
- data/spec/support/vcr_cassettes/secret.yml +47 -0
- data/spec/support/vcr_cassettes/secret_find.yml +45 -0
- data/spec/support/vcr_cassettes/secret_find_fail.yml +43 -0
- data/spec/support/vcr_cassettes/secret_list.yml +45 -0
- data/spec/support/vcr_cassettes/secret_remove.yml +45 -0
- data/spec/support/vcr_cassettes/stock_with_params.yml +45 -0
- data/spec/support/vcr_cassettes/stock_with_params_no_sku.yml +45 -0
- data/spec/support/vcr_cassettes/stock_without_params.yml +45 -0
- data/spec/support/vcr_cassettes/webhook.yml +47 -0
- data/spec/support/vcr_cassettes/webhooks_create_insecure.yml +50 -0
- data/spec/support/vcr_cassettes/webhooks_find.yml +47 -0
- data/spec/support/vcr_cassettes/webhooks_find_fail.yml +47 -0
- data/spec/support/vcr_cassettes/webhooks_list.yml +47 -0
- data/spec/support/vcr_cassettes/webhooks_remove.yml +47 -0
- data/spec/support/vcr_cassettes/webhooks_update.yml +47 -0
- data/spec/support/vcr_cassettes/webhooks_update_fail.yml +49 -0
- data/spec/unit/shipwire/response_spec.rb +46 -0
- metadata +354 -80
- data/.env +0 -4
- data/.env.example +0 -4
- data/Gemfile.lock +0 -69
- data/lib/shipwire/fulfillment.rb +0 -100
- data/lib/shipwire/inventory.rb +0 -72
- data/lib/shipwire/service_request.rb +0 -42
- data/lib/shipwire/shipping_rate.rb +0 -121
- data/lib/shipwire/tracking.rb +0 -101
- data/spec/shipwire/fulfillment_spec.rb +0 -36
- data/spec/shipwire/inventory_spec.rb +0 -25
- data/spec/shipwire/shipping_rate_spec.rb +0 -62
- data/spec/shipwire/tracking_spec.rb +0 -20
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://david.freerksen%40groundctrl.com:gOg6maBr6E@api.beta.shipwire.com/api/v3/products?classification=kit
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Content-Type:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
+
Accept:
|
|
15
|
+
- "*/*"
|
|
16
|
+
User-Agent:
|
|
17
|
+
- Ruby
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Date:
|
|
24
|
+
- Mon, 22 Jun 2015 16:30:27 GMT
|
|
25
|
+
Server:
|
|
26
|
+
- Apache
|
|
27
|
+
X-Process-Time-Seconds:
|
|
28
|
+
- '0.028255'
|
|
29
|
+
X-Request-Id:
|
|
30
|
+
- 93d124c5eb91aaec84be9e26124f685c
|
|
31
|
+
Vary:
|
|
32
|
+
- Accept-Encoding
|
|
33
|
+
Strict-Transport-Security:
|
|
34
|
+
- max-age=31536000; includeSubDomains
|
|
35
|
+
P3p:
|
|
36
|
+
- policyref="/w3c/p3p.xml", CP="COM CNT INT NAV PUR STA UNI CAO DSP CUR o i
|
|
37
|
+
OUR IND"
|
|
38
|
+
Content-Length:
|
|
39
|
+
- '179'
|
|
40
|
+
Content-Type:
|
|
41
|
+
- application/json
|
|
42
|
+
body:
|
|
43
|
+
encoding: UTF-8
|
|
44
|
+
string: '{"status":200,"message":"Successful","resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products?offset=0&limit=20&classification=kit","resource":{"offset":0,"total":0,"previous":null,"next":null,"items":[]}}'
|
|
45
|
+
http_version:
|
|
46
|
+
recorded_at: Mon, 22 Jun 2015 16:30:27 GMT
|
|
47
|
+
recorded_with: VCR 2.9.3
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://david.freerksen%40groundctrl.com:gOg6maBr6E@api.beta.shipwire.com/api/v3/products?classification=kit&sku=TEST-PRODUCT
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Content-Type:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
+
Accept:
|
|
15
|
+
- "*/*"
|
|
16
|
+
User-Agent:
|
|
17
|
+
- Ruby
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Date:
|
|
24
|
+
- Mon, 22 Jun 2015 16:30:27 GMT
|
|
25
|
+
Server:
|
|
26
|
+
- Apache
|
|
27
|
+
X-Process-Time-Seconds:
|
|
28
|
+
- '0.027935'
|
|
29
|
+
X-Request-Id:
|
|
30
|
+
- 272295a6e696384b17a4c43c5391041a
|
|
31
|
+
Vary:
|
|
32
|
+
- Accept-Encoding
|
|
33
|
+
Strict-Transport-Security:
|
|
34
|
+
- max-age=31536000; includeSubDomains
|
|
35
|
+
P3p:
|
|
36
|
+
- policyref="/w3c/p3p.xml", CP="COM CNT INT NAV PUR STA UNI CAO DSP CUR o i
|
|
37
|
+
OUR IND"
|
|
38
|
+
Content-Length:
|
|
39
|
+
- '197'
|
|
40
|
+
Content-Type:
|
|
41
|
+
- application/json
|
|
42
|
+
body:
|
|
43
|
+
encoding: UTF-8
|
|
44
|
+
string: '{"status":200,"message":"Successful","resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products?offset=0&limit=20&classification=kit&sku=TEST-PRODUCT","resource":{"offset":0,"total":0,"previous":null,"next":null,"items":[]}}'
|
|
45
|
+
http_version:
|
|
46
|
+
recorded_at: Mon, 22 Jun 2015 16:30:27 GMT
|
|
47
|
+
recorded_with: VCR 2.9.3
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://david.freerksen%40groundctrl.com:gOg6maBr6E@api.beta.shipwire.com/api/v3/products
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Content-Type:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
+
Accept:
|
|
15
|
+
- "*/*"
|
|
16
|
+
User-Agent:
|
|
17
|
+
- Ruby
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Date:
|
|
24
|
+
- Mon, 22 Jun 2015 20:36:35 GMT
|
|
25
|
+
Server:
|
|
26
|
+
- Apache
|
|
27
|
+
X-Process-Time-Seconds:
|
|
28
|
+
- '0.054155'
|
|
29
|
+
X-Request-Id:
|
|
30
|
+
- a5c08b68df68f5f5bcf2315ef37c11e6
|
|
31
|
+
Vary:
|
|
32
|
+
- Accept-Encoding
|
|
33
|
+
Strict-Transport-Security:
|
|
34
|
+
- max-age=31536000; includeSubDomains
|
|
35
|
+
P3p:
|
|
36
|
+
- policyref="/w3c/p3p.xml", CP="COM CNT INT NAV PUR STA UNI CAO DSP CUR o i
|
|
37
|
+
OUR IND"
|
|
38
|
+
Content-Length:
|
|
39
|
+
- '580'
|
|
40
|
+
Content-Type:
|
|
41
|
+
- application/json
|
|
42
|
+
body:
|
|
43
|
+
encoding: UTF-8
|
|
44
|
+
string: '{"status":200,"message":"Successful","resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products?offset=0&limit=20","resource":{"offset":0,"total":2,"previous":null,"next":null,"items":[{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202574","resource":{"id":202574,"externalId":"TEST-PRODUCT","sku":"TEST-PRODUCT","description":"This
|
|
45
|
+
is a test product","hsCode":null,"countryOfOrigin":null,"creationDate":"2015-05-04T16:00:39-07:00","archivedDate":null,"status":"instock","storageConfiguration":"INDIVIDUAL_ITEM","batteryConfiguration":"NOBATTERY","classification":"baseProduct","category":"OTHER","itemCount":1,"vendorId":null,"vendorExternalId":null,"dimensions":{"resourceLocation":null},"values":{"resourceLocation":null},"alternateNames":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202574\/alternateNames?offset=0&limit=20"},"technicalData":{"resourceLocation":null},"flags":{"resourceLocation":null},"enqueuedDimensions":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202574\/enqueuedDimensions?offset=0&limit=20"},"innerPack":{"resourceLocation":null},"masterCase":{"resourceLocation":null},"pallet":{"resourceLocation":null}}},{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202946","resource":{"id":202946,"externalId":"TEST-PRODUCT2","sku":"TEST-PRODUCT2","description":"This
|
|
46
|
+
is another test product","hsCode":null,"countryOfOrigin":"US","creationDate":"2015-06-09T09:55:08-07:00","archivedDate":null,"status":"instock","storageConfiguration":"INDIVIDUAL_ITEM","batteryConfiguration":"NOBATTERY","classification":"baseProduct","category":"OTHER","itemCount":1,"vendorId":null,"vendorExternalId":null,"dimensions":{"resourceLocation":null},"values":{"resourceLocation":null},"alternateNames":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202946\/alternateNames?offset=0&limit=20"},"technicalData":{"resourceLocation":null},"flags":{"resourceLocation":null},"enqueuedDimensions":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202946\/enqueuedDimensions?offset=0&limit=20"},"innerPack":{"resourceLocation":null},"masterCase":{"resourceLocation":null},"pallet":{"resourceLocation":null}}}]}}'
|
|
47
|
+
http_version:
|
|
48
|
+
recorded_at: Mon, 22 Jun 2015 20:36:36 GMT
|
|
49
|
+
recorded_with: VCR 2.9.3
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://david.freerksen%40groundctrl.com:gOg6maBr6E@api.beta.shipwire.com/api/v3/products?sku=TEST-PRODUCT
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Content-Type:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
+
Accept:
|
|
15
|
+
- "*/*"
|
|
16
|
+
User-Agent:
|
|
17
|
+
- Ruby
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Date:
|
|
24
|
+
- Mon, 22 Jun 2015 20:36:36 GMT
|
|
25
|
+
Server:
|
|
26
|
+
- Apache
|
|
27
|
+
X-Process-Time-Seconds:
|
|
28
|
+
- '0.053104'
|
|
29
|
+
X-Request-Id:
|
|
30
|
+
- 5216fcc5b5485e08c3be98f558086325
|
|
31
|
+
Vary:
|
|
32
|
+
- Accept-Encoding
|
|
33
|
+
Strict-Transport-Security:
|
|
34
|
+
- max-age=31536000; includeSubDomains
|
|
35
|
+
P3p:
|
|
36
|
+
- policyref="/w3c/p3p.xml", CP="COM CNT INT NAV PUR STA UNI CAO DSP CUR o i
|
|
37
|
+
OUR IND"
|
|
38
|
+
Content-Length:
|
|
39
|
+
- '586'
|
|
40
|
+
Content-Type:
|
|
41
|
+
- application/json
|
|
42
|
+
body:
|
|
43
|
+
encoding: UTF-8
|
|
44
|
+
string: '{"status":200,"message":"Successful","resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products?offset=0&limit=20&sku=TEST-PRODUCT","resource":{"offset":0,"total":2,"previous":null,"next":null,"items":[{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202574","resource":{"id":202574,"externalId":"TEST-PRODUCT","sku":"TEST-PRODUCT","description":"This
|
|
45
|
+
is a test product","hsCode":null,"countryOfOrigin":null,"creationDate":"2015-05-04T16:00:39-07:00","archivedDate":null,"status":"instock","storageConfiguration":"INDIVIDUAL_ITEM","batteryConfiguration":"NOBATTERY","classification":"baseProduct","category":"OTHER","itemCount":1,"vendorId":null,"vendorExternalId":null,"dimensions":{"resourceLocation":null},"values":{"resourceLocation":null},"alternateNames":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202574\/alternateNames?offset=0&limit=20&sku=TEST-PRODUCT"},"technicalData":{"resourceLocation":null},"flags":{"resourceLocation":null},"enqueuedDimensions":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202574\/enqueuedDimensions?offset=0&limit=20&sku=TEST-PRODUCT"},"innerPack":{"resourceLocation":null},"masterCase":{"resourceLocation":null},"pallet":{"resourceLocation":null}}},{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202946","resource":{"id":202946,"externalId":"TEST-PRODUCT2","sku":"TEST-PRODUCT2","description":"This
|
|
46
|
+
is another test product","hsCode":null,"countryOfOrigin":"US","creationDate":"2015-06-09T09:55:08-07:00","archivedDate":null,"status":"instock","storageConfiguration":"INDIVIDUAL_ITEM","batteryConfiguration":"NOBATTERY","classification":"baseProduct","category":"OTHER","itemCount":1,"vendorId":null,"vendorExternalId":null,"dimensions":{"resourceLocation":null},"values":{"resourceLocation":null},"alternateNames":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202946\/alternateNames?offset=0&limit=20&sku=TEST-PRODUCT"},"technicalData":{"resourceLocation":null},"flags":{"resourceLocation":null},"enqueuedDimensions":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products\/baseProducts\/202946\/enqueuedDimensions?offset=0&limit=20&sku=TEST-PRODUCT"},"innerPack":{"resourceLocation":null},"masterCase":{"resourceLocation":null},"pallet":{"resourceLocation":null}}}]}}'
|
|
47
|
+
http_version:
|
|
48
|
+
recorded_at: Mon, 22 Jun 2015 20:36:36 GMT
|
|
49
|
+
recorded_with: VCR 2.9.3
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://david.freerksen%40groundctrl.com:gOg6maBr6E@api.beta.shipwire.com/api/v3/products?classification=virtualKit
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Content-Type:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
+
Accept:
|
|
15
|
+
- "*/*"
|
|
16
|
+
User-Agent:
|
|
17
|
+
- Ruby
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Date:
|
|
24
|
+
- Mon, 22 Jun 2015 16:30:31 GMT
|
|
25
|
+
Server:
|
|
26
|
+
- Apache
|
|
27
|
+
X-Process-Time-Seconds:
|
|
28
|
+
- '0.026696'
|
|
29
|
+
X-Request-Id:
|
|
30
|
+
- 189e73cf18954b308b36bceaafa8335f
|
|
31
|
+
Vary:
|
|
32
|
+
- Accept-Encoding
|
|
33
|
+
Strict-Transport-Security:
|
|
34
|
+
- max-age=31536000; includeSubDomains
|
|
35
|
+
P3p:
|
|
36
|
+
- policyref="/w3c/p3p.xml", CP="COM CNT INT NAV PUR STA UNI CAO DSP CUR o i
|
|
37
|
+
OUR IND"
|
|
38
|
+
Content-Length:
|
|
39
|
+
- '184'
|
|
40
|
+
Content-Type:
|
|
41
|
+
- application/json
|
|
42
|
+
body:
|
|
43
|
+
encoding: UTF-8
|
|
44
|
+
string: '{"status":200,"message":"Successful","resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products?offset=0&limit=20&classification=virtualKit","resource":{"offset":0,"total":0,"previous":null,"next":null,"items":[]}}'
|
|
45
|
+
http_version:
|
|
46
|
+
recorded_at: Mon, 22 Jun 2015 16:30:31 GMT
|
|
47
|
+
recorded_with: VCR 2.9.3
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://david.freerksen%40groundctrl.com:gOg6maBr6E@api.beta.shipwire.com/api/v3/products?classification=virtualKit&sku=TEST-PRODUCT
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Content-Type:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
+
Accept:
|
|
15
|
+
- "*/*"
|
|
16
|
+
User-Agent:
|
|
17
|
+
- Ruby
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Date:
|
|
24
|
+
- Mon, 22 Jun 2015 16:30:32 GMT
|
|
25
|
+
Server:
|
|
26
|
+
- Apache
|
|
27
|
+
X-Process-Time-Seconds:
|
|
28
|
+
- '0.026339'
|
|
29
|
+
X-Request-Id:
|
|
30
|
+
- 4b8de6468ba58f3b9075ac6a8ae23e99
|
|
31
|
+
Vary:
|
|
32
|
+
- Accept-Encoding
|
|
33
|
+
Strict-Transport-Security:
|
|
34
|
+
- max-age=31536000; includeSubDomains
|
|
35
|
+
P3p:
|
|
36
|
+
- policyref="/w3c/p3p.xml", CP="COM CNT INT NAV PUR STA UNI CAO DSP CUR o i
|
|
37
|
+
OUR IND"
|
|
38
|
+
Content-Length:
|
|
39
|
+
- '207'
|
|
40
|
+
Content-Type:
|
|
41
|
+
- application/json
|
|
42
|
+
body:
|
|
43
|
+
encoding: UTF-8
|
|
44
|
+
string: '{"status":200,"message":"Successful","resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/products?offset=0&limit=20&classification=virtualKit&sku=TEST-PRODUCT","resource":{"offset":0,"total":0,"previous":null,"next":null,"items":[]}}'
|
|
45
|
+
http_version:
|
|
46
|
+
recorded_at: Mon, 22 Jun 2015 16:30:32 GMT
|
|
47
|
+
recorded_with: VCR 2.9.3
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://david.freerksen%40groundctrl.com:gOg6maBr6E@api.beta.shipwire.com/api/v3/rate
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"options":{"currency":"USD","groupBy":"all"},"order":{"shipTo":{"address1":"540
|
|
9
|
+
West Boylston St.","city":"Worcester","postalCode":"01606","region":"MA","country":"US"},"items":[{"sku":"TEST-PRODUCT","quantity":1}]}}'
|
|
10
|
+
headers:
|
|
11
|
+
Content-Type:
|
|
12
|
+
- application/json
|
|
13
|
+
Accept-Encoding:
|
|
14
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
15
|
+
Accept:
|
|
16
|
+
- "*/*"
|
|
17
|
+
User-Agent:
|
|
18
|
+
- Ruby
|
|
19
|
+
response:
|
|
20
|
+
status:
|
|
21
|
+
code: 200
|
|
22
|
+
message: OK
|
|
23
|
+
headers:
|
|
24
|
+
Date:
|
|
25
|
+
- Wed, 24 Jun 2015 21:23:08 GMT
|
|
26
|
+
Server:
|
|
27
|
+
- Apache
|
|
28
|
+
X-Process-Time-Seconds:
|
|
29
|
+
- '0.157736'
|
|
30
|
+
X-Request-Id:
|
|
31
|
+
- 2c180aca319ff3589765d6d5c70d3f0d
|
|
32
|
+
Vary:
|
|
33
|
+
- Accept-Encoding
|
|
34
|
+
Strict-Transport-Security:
|
|
35
|
+
- max-age=31536000; includeSubDomains
|
|
36
|
+
P3p:
|
|
37
|
+
- policyref="/w3c/p3p.xml", CP="COM CNT INT NAV PUR STA UNI CAO DSP CUR o i
|
|
38
|
+
OUR IND"
|
|
39
|
+
Content-Length:
|
|
40
|
+
- '683'
|
|
41
|
+
Content-Type:
|
|
42
|
+
- application/json
|
|
43
|
+
body:
|
|
44
|
+
encoding: UTF-8
|
|
45
|
+
string: '{"status":200,"message":"Successful","resourceLocation":null,"resource":{"groupBy":"all","rates":[{"serviceOptions":[{"serviceLevelCode":"GD","serviceLevelName":"Ground","shipments":[{"warehouseName":"LA","carrier":{"code":"FDX
|
|
46
|
+
SP1","name":"FDX","description":"FedEx SmartPost","properties":["trackable"]},"cost":{"currency":"USD","type":"total","name":"Total","amount":9.79,"converted":false,"originalCost":9.79,"originalCurrency":"USD"},"subtotals":[{"currency":"USD","type":"shipping","name":"Shipping","amount":9.79,"converted":false,"originalCost":9.79,"originalCurrency":"USD"},{"currency":"USD","type":"insurance","name":"Insurance","amount":0,"converted":false,"originalCost":0,"originalCurrency":"USD"},{"currency":"USD","type":"packaging","name":"Packaging","amount":0,"converted":false,"originalCost":0,"originalCurrency":"USD"},{"currency":"USD","type":"handling","name":"Handling","amount":0,"converted":false,"originalCost":0,"originalCurrency":"USD"}],"pieces":[{"length":{"amount":8,"units":"in"},"width":{"amount":4,"units":"in"},"height":{"amount":4,"units":"in"},"weight":{"amount":1.3041666666667,"units":"lbs","type":"total"},"subweights":[{"amount":0.2,"units":"lbs","type":"packaging"},{"amount":0.10416666666667,"units":"lbs","type":"voidFill"},{"amount":1,"units":"lbs","type":"products"}],"contents":[{"sku":"TEST-PRODUCT","quantity":1}]}],"expectedShipDate":"2015-06-24T16:30:00-07:00","expectedDeliveryMinDate":"2015-06-26T16:30:00-07:00","expectedDeliveryMaxDate":"2015-07-03T16:30:00-07:00"}]},{"serviceLevelCode":"2D","serviceLevelName":"Second
|
|
47
|
+
Day","shipments":[{"warehouseName":"LA","carrier":{"code":"FDX 2D","name":"FDX","description":"FedEx
|
|
48
|
+
2Day","properties":["trackable"]},"cost":{"currency":"USD","type":"total","name":"Total","amount":31.98,"converted":false,"originalCost":31.98,"originalCurrency":"USD"},"subtotals":[{"currency":"USD","type":"shipping","name":"Shipping","amount":31.98,"converted":false,"originalCost":31.98,"originalCurrency":"USD"},{"currency":"USD","type":"insurance","name":"Insurance","amount":0,"converted":false,"originalCost":0,"originalCurrency":"USD"},{"currency":"USD","type":"packaging","name":"Packaging","amount":0,"converted":false,"originalCost":0,"originalCurrency":"USD"},{"currency":"USD","type":"handling","name":"Handling","amount":0,"converted":false,"originalCost":0,"originalCurrency":"USD"}],"pieces":[{"length":{"amount":8,"units":"in"},"width":{"amount":4,"units":"in"},"height":{"amount":4,"units":"in"},"weight":{"amount":1.3041666666667,"units":"lbs","type":"total"},"subweights":[{"amount":0.2,"units":"lbs","type":"packaging"},{"amount":0.10416666666667,"units":"lbs","type":"voidFill"},{"amount":1,"units":"lbs","type":"products"}],"contents":[{"sku":"TEST-PRODUCT","quantity":1}]}],"expectedShipDate":"2015-06-24T16:30:00-07:00","expectedDeliveryMinDate":"2015-06-26T16:30:00-07:00","expectedDeliveryMaxDate":"2015-06-26T16:30:00-07:00"}]},{"serviceLevelCode":"1D","serviceLevelName":"Next
|
|
49
|
+
Day","shipments":[{"warehouseName":"LA","carrier":{"code":"USPS XP","name":"USPS","description":"USPS
|
|
50
|
+
Express Mail","properties":["trackable"]},"cost":{"currency":"USD","type":"total","name":"Total","amount":37.33,"converted":false,"originalCost":37.33,"originalCurrency":"USD"},"subtotals":[{"currency":"USD","type":"shipping","name":"Shipping","amount":37.33,"converted":false,"originalCost":37.33,"originalCurrency":"USD"},{"currency":"USD","type":"insurance","name":"Insurance","amount":0,"converted":false,"originalCost":0,"originalCurrency":"USD"},{"currency":"USD","type":"packaging","name":"Packaging","amount":0,"converted":false,"originalCost":0,"originalCurrency":"USD"},{"currency":"USD","type":"handling","name":"Handling","amount":0,"converted":false,"originalCost":0,"originalCurrency":"USD"}],"pieces":[{"length":{"amount":8,"units":"in"},"width":{"amount":4,"units":"in"},"height":{"amount":4,"units":"in"},"weight":{"amount":1.3041666666667,"units":"lbs","type":"total"},"subweights":[{"amount":0.2,"units":"lbs","type":"packaging"},{"amount":0.10416666666667,"units":"lbs","type":"voidFill"},{"amount":1,"units":"lbs","type":"products"}],"contents":[{"sku":"TEST-PRODUCT","quantity":1}]}],"expectedShipDate":"2015-06-24T16:30:00-07:00","expectedDeliveryMinDate":"2015-06-25T16:30:00-07:00","expectedDeliveryMaxDate":"2015-06-25T16:30:00-07:00"}]}]}]}}'
|
|
51
|
+
http_version:
|
|
52
|
+
recorded_at: Wed, 24 Jun 2015 21:23:10 GMT
|
|
53
|
+
recorded_with: VCR 2.9.3
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://david.freerksen%40groundctrl.com:gOg6maBr6E@api.beta.shipwire.com/api/v3/rate
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"options":{"currency":"USD","groupBy":"all"},"order":{"shipTo":{"address1":"540
|
|
9
|
+
West Boylston St.","city":"Worcester","postalCode":"01606","region":"MA","country":"US"},"items":[{"sku":"FAKE-PRODUCT","quantity":1}]}}'
|
|
10
|
+
headers:
|
|
11
|
+
Content-Type:
|
|
12
|
+
- application/json
|
|
13
|
+
Accept-Encoding:
|
|
14
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
15
|
+
Accept:
|
|
16
|
+
- "*/*"
|
|
17
|
+
User-Agent:
|
|
18
|
+
- Ruby
|
|
19
|
+
response:
|
|
20
|
+
status:
|
|
21
|
+
code: 422
|
|
22
|
+
message: Unprocessable Entity
|
|
23
|
+
headers:
|
|
24
|
+
Date:
|
|
25
|
+
- Mon, 22 Jun 2015 23:06:18 GMT
|
|
26
|
+
Server:
|
|
27
|
+
- Apache
|
|
28
|
+
X-Process-Time-Seconds:
|
|
29
|
+
- '0.031043'
|
|
30
|
+
X-Request-Id:
|
|
31
|
+
- 48a3356777f586d7bad8d2f6b81f9716
|
|
32
|
+
Vary:
|
|
33
|
+
- Accept-Encoding
|
|
34
|
+
Strict-Transport-Security:
|
|
35
|
+
- max-age=31536000; includeSubDomains
|
|
36
|
+
P3p:
|
|
37
|
+
- policyref="/w3c/p3p.xml", CP="COM CNT INT NAV PUR STA UNI CAO DSP CUR o i
|
|
38
|
+
OUR IND"
|
|
39
|
+
Content-Length:
|
|
40
|
+
- '170'
|
|
41
|
+
Content-Type:
|
|
42
|
+
- application/json
|
|
43
|
+
body:
|
|
44
|
+
encoding: UTF-8
|
|
45
|
+
string: '{"status":422,"message":"One or more errors occurred processing this
|
|
46
|
+
rate request.","errors":[{"type":"error","code":"sku","message":"unknown SKU
|
|
47
|
+
''FAKE-PRODUCT''"}],"resourceLocation":null}'
|
|
48
|
+
http_version:
|
|
49
|
+
recorded_at: Mon, 22 Jun 2015 23:06:18 GMT
|
|
50
|
+
recorded_with: VCR 2.9.3
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://david.freerksen%40groundctrl.com:gOg6maBr6E@api.beta.shipwire.com/api/v3/receivings
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"externalId":"W70","expectedDate":"2015-06-09T16:28:46-07:00","arrangement":{"type":"none"},"items":[{"sku":"TEST-PRODUCT","quantity":5}],"shipments":[{"length":1,"width":1,"height":1,"weight":1,"type":"box"}],"options":{"warehouseRegion":"LAX"},"shipFrom":{"email":"shyann.kuvalis@watsica.biz","name":"Kurt
|
|
9
|
+
Daniel","address1":"540 West Boylston St.","city":"Worcester","state":"MA","postalCode":"01606","country":"US","phone":"912-866-3038"}}'
|
|
10
|
+
headers:
|
|
11
|
+
Content-Type:
|
|
12
|
+
- application/json
|
|
13
|
+
Accept-Encoding:
|
|
14
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
15
|
+
Accept:
|
|
16
|
+
- "*/*"
|
|
17
|
+
User-Agent:
|
|
18
|
+
- Ruby
|
|
19
|
+
response:
|
|
20
|
+
status:
|
|
21
|
+
code: 200
|
|
22
|
+
message: OK
|
|
23
|
+
headers:
|
|
24
|
+
Date:
|
|
25
|
+
- Tue, 09 Jun 2015 23:28:47 GMT
|
|
26
|
+
Server:
|
|
27
|
+
- Apache
|
|
28
|
+
Expires:
|
|
29
|
+
- Thu, 19 Nov 1981 08:52:00 GMT
|
|
30
|
+
Cache-Control:
|
|
31
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
|
32
|
+
Pragma:
|
|
33
|
+
- no-cache
|
|
34
|
+
X-Process-Time-Seconds:
|
|
35
|
+
- '5.199762'
|
|
36
|
+
Vary:
|
|
37
|
+
- Accept-Encoding
|
|
38
|
+
Strict-Transport-Security:
|
|
39
|
+
- max-age=31536000; includeSubDomains
|
|
40
|
+
P3p:
|
|
41
|
+
- policyref="/w3c/p3p.xml", CP="COM CNT INT NAV PUR STA UNI CAO DSP CUR o i
|
|
42
|
+
OUR IND"
|
|
43
|
+
Content-Length:
|
|
44
|
+
- '707'
|
|
45
|
+
Content-Type:
|
|
46
|
+
- application/json
|
|
47
|
+
body:
|
|
48
|
+
encoding: UTF-8
|
|
49
|
+
string: |
|
|
50
|
+
{"status":200,"message":"Successful","resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/receivings?offset=0&limit=1","resource":{"offset":0,"total":1,"previous":null,"next":null,"items":[{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/receivings\/91302993","resource":{"externalId":"W70","id":91302993,"transactionId":"1433892527","expectedDate":"2015-06-09T00:00:00-07:00","commerceName":"Shipwire","lastUpdatedDate":"2015-06-09T16:28:47-07:00","status":"processed","items":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/receivings\/91302993\/items?offset=0&limit=20"},"holds":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/receivings\/91302993\/holds?offset=0&limit=20"},"trackings":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/receivings\/91302993\/trackings?offset=0&limit=20"},"shipments":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/receivings\/91302993\/shipments?offset=0&limit=20"},"labels":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/receivings\/91302993\/labels?offset=0&limit=20"},"instructionsRecipients":{"resourceLocation":"https:\/\/api.beta.shipwire.com\/api\/v3\/receivings\/91302993\/instructionsRecipients?offset=0&limit=20"},"options":{"resourceLocation":null,"resource":{"warehouseId":11,"warehouseExternalId":null,"warehouseRegion":"LAX"}},"arrangement":{"resourceLocation":null,"resource":{"type":"none","contact":"","phone":""}},"shipFrom":{"resourceLocation":null,"resource":{"email":"shyann.kuvalis@watsica.biz","name":"Kurt Daniel","address1":"540 West Boylston St.","address2":null,"address3":null,"city":"Worcester","state":"MA","postalCode":"01606","country":"US","phone":"912-866-3038"}},"routing":{"resourceLocation":null,"resource":{"warehouseId":11,"warehouseExternalId":null,"warehouseName":"LA","originLongitude":34.075,"originLatitude":-117.378,"warehouseRegion":"LAX"}},"events":{"resourceLocation":null,"resource":{"createdDate":"2015-06-09T16:28:47-07:00","pickedUpDate":null,"submittedDate":null,"processedDate":"2015-06-09T16:28:47-07:00","completedDate":null,"expectedDate":"2015-06-09T00:00:00-07:00","deliveredDate":null,"cancelledDate":null,"returnedDate":null,"lastManualUpdateDate":null}}}}]}}
|
|
51
|
+
http_version:
|
|
52
|
+
recorded_at: Tue, 09 Jun 2015 23:28:52 GMT
|
|
53
|
+
recorded_with: VCR 2.9.3
|