tophatter-merchant 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.gitignore +4 -3
- data/.travis.yml +10 -0
- data/Gemfile +6 -0
- data/README.md +4 -0
- data/Rakefile +3 -0
- data/VERSION +1 -1
- data/lib/tophatter_merchant/product.rb +4 -6
- data/lib/tophatter_merchant/version.rb +1 -1
- data/spec/cassettes/TophatterMerchant_Metadata/_carriers/returns_carriers.yml +56 -50
- data/spec/cassettes/TophatterMerchant_Metadata/_categories/returns_categories.yml +101 -67
- data/spec/cassettes/TophatterMerchant_Metadata/_colors/returns_colors.yml +20 -37
- data/spec/cassettes/TophatterMerchant_Metadata/_conditions/returns_conditions.yml +22 -37
- data/spec/cassettes/TophatterMerchant_Metadata/_countries/returns_countries.yml +97 -70
- data/spec/cassettes/TophatterMerchant_Metadata/_country_codes/returns_country_codes.yml +129 -87
- data/spec/cassettes/TophatterMerchant_Metadata/_materials/returns_materials.yml +39 -52
- data/spec/cassettes/TophatterMerchant_Metadata/_metadata/returns_metadata.yml +509 -288
- data/spec/cassettes/TophatterMerchant_Metadata/_provinces/returns_provinces.yml +22 -39
- data/spec/cassettes/TophatterMerchant_Metadata/_sizes/returns_sizes.yml +28 -45
- data/spec/cassettes/TophatterMerchant_Metadata/_states/returns_states.yml +28 -48
- data/spec/cassettes/TophatterMerchant_Metadata/_territories/returns_territories.yml +22 -38
- data/spec/cassettes/TophatterMerchant_Order/_all/returns_all_orders.yml +11 -11
- data/spec/cassettes/TophatterMerchant_Order/_fulfill/fulfills_an_order.yml +8 -8
- data/spec/cassettes/TophatterMerchant_Order/_refund/refunds_an_order.yml +8 -8
- data/spec/cassettes/TophatterMerchant_Order/_retrieve/retrieves_an_order.yml +8 -8
- data/spec/cassettes/TophatterMerchant_Order/_schema/returns_the_schema.yml +5 -5
- data/spec/cassettes/TophatterMerchant_Product/_all/returns_all_products.yml +15 -15
- data/spec/cassettes/TophatterMerchant_Product/_create/creates_a_product.yml +8 -8
- data/spec/cassettes/TophatterMerchant_Product/_delete/deletes_a_product.yml +17 -17
- data/spec/cassettes/TophatterMerchant_Product/_disable/disables_a_product.yml +16 -16
- data/spec/cassettes/TophatterMerchant_Product/_enable/enables_a_product.yml +16 -16
- data/spec/cassettes/TophatterMerchant_Product/_retrieve/retrieves_a_product.yml +8 -8
- data/spec/cassettes/TophatterMerchant_Product/_schema/returns_the_schema.yml +33 -33
- data/spec/cassettes/TophatterMerchant_Product/_search/returns_products_matching_search_terms.yml +11 -11
- data/spec/cassettes/TophatterMerchant_Product/_update/updates_a_product.yml +16 -16
- data/spec/cassettes/TophatterMerchant_Variation/_create/creates_a_variation.yml +7 -7
- data/spec/cassettes/TophatterMerchant_Variation/_retrieve/retrieves_a_variation.yml +7 -7
- data/spec/cassettes/TophatterMerchant_Variation/_schema/returns_the_schema.yml +10 -7
- data/spec/cassettes/TophatterMerchant_Variation/_update/updates_a_variation.yml +14 -14
- data/spec/spec_helper.rb +6 -0
- data/spec/tophatter_merchant/metadata_spec.rb +7 -7
- data/spec/tophatter_merchant/order_spec.rb +1 -6
- data/spec/tophatter_merchant/product_spec.rb +0 -5
- data/spec/tophatter_merchant/variation_spec.rb +0 -5
- data/tophatter-merchant.gemspec +1 -0
- metadata +6 -5
- data/spec/cassettes/TophatterMerchant_Metadata/_brands/returns_brands.yml +0 -161
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a889d2a13b0c47078c54f5f5fe2b61c3c71496e
|
4
|
+
data.tar.gz: 4e5548bf6d7461619c9cd7ebbe6ecf95afe79a16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9ad961d6fe26b70e3869ebf9d0c616e971d1203132d4eab79f569d6299ec97ed7f19a1664e8d5142fa2c438241587c4c7386db082ed74d51813d0b3576d7942
|
7
|
+
data.tar.gz: be6e562a0b9736b324ef3e311e6cdc9087ce5d956f96544f6a29ad37a362c125208c36218dfd516f18e70d624a1a6a90e81964b99d4af71b599ed503912a085a
|
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
service_name: travis-ci
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/tophatter-merchant.svg)](https://badge.fury.io/rb/tophatter-merchant)
|
2
|
+
[![Build Status](https://travis-ci.org/tophatter/merchant-api-ruby.svg?branch=master)](https://travis-ci.org/tophatter/merchant-api-ruby)
|
3
|
+
[![Coverage Status](https://coveralls.io/repos/github/tophatter/merchant-api-ruby/badge.svg?branch=master)](https://coveralls.io/github/tophatter/merchant-api-ruby?branch=master)
|
4
|
+
|
1
5
|
### Tophatter Merchant API
|
2
6
|
Full documentation is available [here](https://tophatter.readme.io/v1/docs).
|
3
7
|
|
data/Rakefile
ADDED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.5
|
@@ -5,16 +5,14 @@ module TophatterMerchant
|
|
5
5
|
:condition, :brand, :material, # Facets
|
6
6
|
:available_quantity, :variations, # Variations
|
7
7
|
:starting_bid, :buy_now_price, :retail_price, :cost_basis, # Pricing
|
8
|
-
:
|
9
|
-
:
|
10
|
-
:
|
8
|
+
:shipping_price, :days_to_deliver, # Shipping
|
9
|
+
:expedited_shipping_price, :expedited_days_to_deliver, # Shipping (Expedited)
|
10
|
+
:days_to_fulfill, :shipping_origin, :weight, # Shipping (Handling)
|
11
11
|
:buy_one_get_one_price, :accessory_price, :accessory_description, # Upsells
|
12
12
|
:primary_image, :extra_images, :all_images, # Images
|
13
13
|
:ratings_average, :ratings_count, # Ratings
|
14
14
|
:created_at, :updated_at, :disabled_at, :deleted_at, # Timestamps
|
15
|
-
:
|
16
|
-
:blacklisted_at, :admin_hold_at,
|
17
|
-
:slug, :internal_id
|
15
|
+
:internal_id, :slug, :admin_banned_at, :admin_hold_at, :admin_reason, :success_fee_bid_enabled, :success_fee_bid # Admin
|
18
16
|
|
19
17
|
def id
|
20
18
|
created_at.present? ? identifier : nil
|
@@ -2,17 +2,17 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: http://tophatter.dev/merchant_api/v1/metadata/carriers.json
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
Content-Length:
|
15
|
-
- '
|
15
|
+
- '45'
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
User-Agent:
|
@@ -22,60 +22,66 @@ http_interactions:
|
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
|
-
|
26
|
-
-
|
27
|
-
|
28
|
-
-
|
25
|
+
X-Frame-Options:
|
26
|
+
- SAMEORIGIN
|
27
|
+
X-Xss-Protection:
|
28
|
+
- 1; mode=block
|
29
|
+
X-Content-Type-Options:
|
30
|
+
- nosniff
|
29
31
|
Content-Type:
|
30
32
|
- application/json; charset=utf-8
|
31
|
-
Date:
|
32
|
-
- Sat, 25 Mar 2017 22:19:56 GMT
|
33
33
|
Etag:
|
34
|
-
- W/"
|
35
|
-
|
36
|
-
-
|
37
|
-
Status:
|
38
|
-
- 200 OK
|
39
|
-
Vary:
|
40
|
-
- Accept-Encoding
|
41
|
-
X-Content-Type-Options:
|
42
|
-
- nosniff
|
43
|
-
X-Frame-Options:
|
44
|
-
- SAMEORIGIN
|
45
|
-
X-Powered-By:
|
46
|
-
- Phusion Passenger Enterprise
|
34
|
+
- W/"f2803c7b377ffc17447314bf2bcaa29e"
|
35
|
+
Cache-Control:
|
36
|
+
- max-age=0, private, must-revalidate
|
47
37
|
X-Request-Id:
|
48
|
-
-
|
49
|
-
X-Request-Start:
|
50
|
-
- t=1490480396.593
|
38
|
+
- 652edc9a-d3c3-4823-87ad-50070d1c6b4a
|
51
39
|
X-Runtime:
|
52
|
-
- '0.
|
53
|
-
|
54
|
-
-
|
55
|
-
Transfer-Encoding:
|
56
|
-
- chunked
|
40
|
+
- '0.030310'
|
41
|
+
Date:
|
42
|
+
- Fri, 31 Mar 2017 23:33:13 GMT
|
57
43
|
Connection:
|
58
|
-
-
|
44
|
+
- close
|
59
45
|
body:
|
60
46
|
encoding: ASCII-8BIT
|
61
47
|
string: !binary |-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
48
|
+
eyJVU1BTIjoidXNwcyIsIkZlZEV4IjoiZmVkZXgiLCJDYW5hZGEgUG9zdCI6
|
49
|
+
ImNhbmFkYS1wb3N0IiwiVVBTIjoidXBzIiwiVVBTIE1haWwgSW5ub3ZhdGlv
|
50
|
+
bnMiOiJ1cHMtbWkiLCJESEwiOiJkaGwiLCJESEwgZUNvbW1lcmNlIjoiZGhs
|
51
|
+
LWdsb2JhbC1tYWlsIiwiT25UcmFjIjoib250cmFjIiwiQ2hpbmEgRU1TIjoi
|
52
|
+
Y2hpbmEtZW1zIiwiQ2hpbmEgUG9zdCI6ImNoaW5hLXBvc3QiLCJZYW53ZW4i
|
53
|
+
OiJ5YW53ZW4iLCJJbmRpYSBQb3N0IjoiaW5kaWEtcG9zdCIsIkFzZW5kaWEg
|
54
|
+
VVNBIC8gVVNQUyI6ImFzZW5kaWEtdXNhIiwiQXNlbmRpYSBVSyI6ImFzZW5k
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: VCR 3.0.3
|
@@ -2,17 +2,17 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: http://tophatter.dev/merchant_api/v1/metadata/categories.json
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
Content-Length:
|
15
|
-
- '
|
15
|
+
- '45'
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
User-Agent:
|
@@ -22,76 +22,110 @@ http_interactions:
|
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
|
-
|
26
|
-
-
|
27
|
-
|
28
|
-
-
|
25
|
+
X-Frame-Options:
|
26
|
+
- SAMEORIGIN
|
27
|
+
X-Xss-Protection:
|
28
|
+
- 1; mode=block
|
29
|
+
X-Content-Type-Options:
|
30
|
+
- nosniff
|
29
31
|
Content-Type:
|
30
32
|
- application/json; charset=utf-8
|
31
|
-
Date:
|
32
|
-
- Sat, 25 Mar 2017 22:19:51 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"1fc46ae442e0793ca4f38061b1ba908a"
|
35
|
-
|
36
|
-
-
|
37
|
-
Status:
|
38
|
-
- 200 OK
|
39
|
-
Vary:
|
40
|
-
- Accept-Encoding
|
41
|
-
X-Content-Type-Options:
|
42
|
-
- nosniff
|
43
|
-
X-Frame-Options:
|
44
|
-
- SAMEORIGIN
|
45
|
-
X-Powered-By:
|
46
|
-
- Phusion Passenger Enterprise
|
35
|
+
Cache-Control:
|
36
|
+
- max-age=0, private, must-revalidate
|
47
37
|
X-Request-Id:
|
48
|
-
-
|
49
|
-
X-Request-Start:
|
50
|
-
- t=1490480391.785
|
38
|
+
- a10f3a92-9f06-4bdd-8077-53a359657865
|
51
39
|
X-Runtime:
|
52
|
-
- '0.
|
53
|
-
|
54
|
-
-
|
55
|
-
Transfer-Encoding:
|
56
|
-
- chunked
|
40
|
+
- '0.025105'
|
41
|
+
Date:
|
42
|
+
- Fri, 31 Mar 2017 23:33:13 GMT
|
57
43
|
Connection:
|
58
|
-
-
|
44
|
+
- close
|
59
45
|
body:
|
60
|
-
encoding:
|
61
|
-
string:
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
46
|
+
encoding: UTF-8
|
47
|
+
string: '["Accessories | Bags | Clutches & Evening Bags","Accessories | Bags
|
48
|
+
| Crossbody","Accessories | Bags | Satchels","Accessories | Bags | Shoulder
|
49
|
+
Bags & Hobos","Accessories | Bags | Totes & Backpacks","Accessories | Bags
|
50
|
+
| Weekenders & Duffles","Accessories | Bags | Other","Accessories | Sunglasses","Accessories
|
51
|
+
| Watches","Accessories | Wallets","Accessories | Wristlets","Accessories
|
52
|
+
| Other Accessories | Scarves","Accessories | Other Accessories | Keychains","Accessories
|
53
|
+
| Other Accessories | Hats","Accessories | Other Accessories | Hair Accessories","Accessories
|
54
|
+
| Other Accessories | Electronic Accessories","Accessories | Other Accessories
|
55
|
+
| Belts","Accessories | Other Accessories | Ties","Accessories | Other Accessories
|
56
|
+
| Tights/Socks","Accessories | Other Accessories | Other","Apparel | Intimates
|
57
|
+
| Bras","Apparel | Intimates | Underwear","Apparel | Intimates | Shapewear","Apparel
|
58
|
+
| Intimates | Other","Apparel | Tops | T-Shirts","Apparel | Tops | Blouses","Apparel
|
59
|
+
| Tops | Shirts","Apparel | Tops | Sweaters","Apparel | Tops | Sweatshirts","Apparel
|
60
|
+
| Tops | Vests","Apparel | Tops | Tanks","Apparel | Tops | Other","Apparel
|
61
|
+
| Jackets/Outerwear | Jackets","Apparel | Jackets/Outerwear | Coats","Apparel
|
62
|
+
| Jackets/Outerwear | Other","Apparel | Bottoms | Shorts","Apparel | Bottoms
|
63
|
+
| Skirts","Apparel | Bottoms | Pants","Apparel | Bottoms | Leggings","Apparel
|
64
|
+
| Bottoms | Other","Apparel | Dresses","Apparel | Sports & Fitness","Apparel
|
65
|
+
| Swim | Tops","Apparel | Swim | Bottoms","Apparel | Swim | One-pieces","Apparel
|
66
|
+
| Swim | Sets (Top & Bottom)","Apparel | Swim | Coverups","Apparel | Other","Beauty
|
67
|
+
| Skincare | Cleansers","Beauty | Skincare | Moisturizer","Beauty | Skincare
|
68
|
+
| Other","Beauty | Haircare | Shampoo","Beauty | Haircare | Conditioner","Beauty
|
69
|
+
| Haircare | Styling Tools","Beauty | Haircare | Other","Beauty | Hair Tools
|
70
|
+
| Flat Iron","Beauty | Hair Tools | Blow Dryer","Beauty | Hair Tools | Curling
|
71
|
+
Iron","Beauty | Hair Tools | Brushes","Beauty | Hair Tools | Other","Beauty
|
72
|
+
| Fragrance","Beauty | Makeup (Cosmetics) | Lip","Beauty | Makeup (Cosmetics)
|
73
|
+
| Eye","Beauty | Makeup (Cosmetics) | Face","Beauty | Makeup (Cosmetics) |
|
74
|
+
Cheek","Beauty | Makeup (Cosmetics) | Other","Beauty | Nails | Nail Polish","Beauty
|
75
|
+
| Nails | Nail Art","Beauty | Nails | Manicure Set","Beauty | Nails | Nail
|
76
|
+
Tools & Files","Beauty | Nails | Other","Beauty | Brushes | Face","Beauty
|
77
|
+
| Brushes | Eyes","Beauty | Brushes | Lip","Beauty | Brushes | Sets","Beauty
|
78
|
+
| Brushes | Other","Beauty | Bath & Body","Beauty | Other","Collectibles |
|
79
|
+
Memorabilia","Collectibles | Coins","Collectibles | Other","Edibles | Healthy","Edibles
|
80
|
+
| Desserts","Edibles | Gourmet","Edibles | Non Alcoholic Beverages","Edibles
|
81
|
+
| Other","Electronics | Audio | Headphones","Electronics | Audio | Home Theater
|
82
|
+
Systems","Electronics | Audio | Turntables","Electronics | Audio | MP3 Players","Electronics
|
83
|
+
| Audio | Shelf Systems","Electronics | Audio | Speakers","Electronics | Audio
|
84
|
+
| Other","Electronics | Hardware (Computers/Tablets/Phones) | TV","Electronics
|
85
|
+
| Hardware (Computers/Tablets/Phones) | Audio","Electronics | Hardware (Computers/Tablets/Phones)
|
86
|
+
| Mobile","Electronics | Hardware (Computers/Tablets/Phones) | Video","Electronics
|
87
|
+
| Hardware (Computers/Tablets/Phones) | Computers/Tablets","Electronics |
|
88
|
+
Hardware (Computers/Tablets/Phones) | Printers","Electronics | Hardware (Computers/Tablets/Phones)
|
89
|
+
| Other","Electronics | TV & Projectors","Electronics | Photography/Camera","Electronics
|
90
|
+
| Gaming","Electronics | Accessories","Electronics | Other","Home | Bed |
|
91
|
+
Pillows","Home | Bed | Sheets","Home | Bed | Comforter/Duvet","Home | Bed
|
92
|
+
| Throw","Home | Bed | Other","Home | Bath | Towels","Home | Bath | Other","Home
|
93
|
+
| Kitchen & Dining | Dinnerware","Home | Kitchen & Dining | Flatware","Home
|
94
|
+
| Kitchen & Dining | Serveware","Home | Kitchen & Dining | Bar & Glassware","Home
|
95
|
+
| Kitchen & Dining | Linens","Home | Kitchen & Dining | Other","Home | Lighting","Home
|
96
|
+
| Furniture","Home | Storage & Organization","Home | Electrics & Appliances
|
97
|
+
| Kitchen","Home | Electrics & Appliances | Cleaning","Home | Electrics &
|
98
|
+
Appliances | Other","Home | Decor | Art","Home | Decor | Wall Decor & Mirrors","Home
|
99
|
+
| Decor | Vases","Home | Decor | Other","Home | Outdoor | Tool","Home | Outdoor
|
100
|
+
| Seeds","Home | Outdoor | Outdoor Furniture","Home | Outdoor | Outdoor Accessories","Home
|
101
|
+
| Outdoor | Other","Home | Pet Supplies","Home | Other","Jewelry | Rings","Jewelry
|
102
|
+
| Necklaces","Jewelry | Bracelets","Jewelry | Earrings","Jewelry | Other","Jewelry
|
103
|
+
| Sets","Kids | Baby Apparel | Jackets/Outerwear","Kids | Baby Apparel | Tops","Kids
|
104
|
+
| Baby Apparel | Bottoms","Kids | Baby Apparel | Dresses","Kids | Baby Apparel
|
105
|
+
| Onesies","Kids | Baby Apparel | Pajamas","Kids | Baby Apparel | Sets","Kids
|
106
|
+
| Baby Apparel | Other","Kids | Toddler Apparel | Jackets/Outerwear","Kids
|
107
|
+
| Toddler Apparel | Tops","Kids | Toddler Apparel | Bottoms","Kids | Toddler
|
108
|
+
Apparel | Dresses","Kids | Toddler Apparel | Onesies","Kids | Toddler Apparel
|
109
|
+
| Pajamas","Kids | Toddler Apparel | Sets","Kids | Toddler Apparel | Other","Kids
|
110
|
+
| Kids/Youth Apparel | Jackets/Outerwear","Kids | Kids/Youth Apparel | Tops","Kids
|
111
|
+
| Kids/Youth Apparel | Bottoms","Kids | Kids/Youth Apparel | Dresses","Kids
|
112
|
+
| Kids/Youth Apparel | Onesies","Kids | Kids/Youth Apparel | Pajamas","Kids
|
113
|
+
| Kids/Youth Apparel | Sets","Kids | Kids/Youth Apparel | Other","Kids | Baby
|
114
|
+
Shoes | Boots","Kids | Baby Shoes | Sneakers","Kids | Baby Shoes | Sandals","Kids
|
115
|
+
| Baby Shoes | Booties","Kids | Baby Shoes | Other","Kids | Toddler Shoes
|
116
|
+
| Boots","Kids | Toddler Shoes | Sneakers","Kids | Toddler Shoes | Sandals","Kids
|
117
|
+
| Toddler Shoes | Booties","Kids | Toddler Shoes | Other","Kids | Kids/Youth
|
118
|
+
Shoes | Boots","Kids | Kids/Youth Shoes | Sneakers","Kids | Kids/Youth Shoes
|
119
|
+
| Sandals","Kids | Kids/Youth Shoes | Booties","Kids | Kids/Youth Shoes |
|
120
|
+
Other","Kids | Games & Toys","Shoes | Flats","Shoes | Heels","Shoes | Boots","Shoes
|
121
|
+
| Sneakers","Shoes | Sandals","Shoes | Wedges","Shoes | Other","Supplies |
|
122
|
+
Jewelry Supplies | Beads","Supplies | Jewelry Supplies | Charms","Supplies
|
123
|
+
| Jewelry Supplies | Pins","Supplies | Jewelry Supplies | Gemstones","Supplies
|
124
|
+
| Jewelry Supplies | Accessories","Supplies | Jewelry Supplies | Tools","Supplies
|
125
|
+
| Jewelry Supplies | Findings","Supplies | Jewelry Supplies | Other","Supplies
|
126
|
+
| Craft Supplies | Kits","Supplies | Craft Supplies | Fabric","Supplies |
|
127
|
+
Craft Supplies | Accessories","Supplies | Craft Supplies | Tools","Supplies
|
128
|
+
| Craft Supplies | Other","Supplies | Other","Other | Other"]'
|
95
129
|
http_version:
|
96
|
-
recorded_at:
|
130
|
+
recorded_at: Fri, 31 Mar 2017 23:33:13 GMT
|
97
131
|
recorded_with: VCR 3.0.3
|
@@ -2,17 +2,17 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: http://tophatter.dev/merchant_api/v1/metadata/colors.json
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
Content-Length:
|
15
|
-
- '
|
15
|
+
- '45'
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
User-Agent:
|
@@ -22,46 +22,29 @@ http_interactions:
|
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
|
-
|
26
|
-
-
|
27
|
-
|
28
|
-
-
|
25
|
+
X-Frame-Options:
|
26
|
+
- SAMEORIGIN
|
27
|
+
X-Xss-Protection:
|
28
|
+
- 1; mode=block
|
29
|
+
X-Content-Type-Options:
|
30
|
+
- nosniff
|
29
31
|
Content-Type:
|
30
32
|
- application/json; charset=utf-8
|
31
|
-
Date:
|
32
|
-
- Sat, 25 Mar 2017 22:19:54 GMT
|
33
33
|
Etag:
|
34
34
|
- W/"5653d45e453cf836f07f7c0b00b45dd1"
|
35
|
-
|
36
|
-
-
|
37
|
-
Status:
|
38
|
-
- 200 OK
|
39
|
-
Vary:
|
40
|
-
- Accept-Encoding
|
41
|
-
X-Content-Type-Options:
|
42
|
-
- nosniff
|
43
|
-
X-Frame-Options:
|
44
|
-
- SAMEORIGIN
|
45
|
-
X-Powered-By:
|
46
|
-
- Phusion Passenger Enterprise
|
35
|
+
Cache-Control:
|
36
|
+
- max-age=0, private, must-revalidate
|
47
37
|
X-Request-Id:
|
48
|
-
-
|
49
|
-
X-Request-Start:
|
50
|
-
- t=1490480393.993
|
38
|
+
- 8fad2ec1-fa98-4500-ab35-caebe001ffdd
|
51
39
|
X-Runtime:
|
52
|
-
- '0.
|
53
|
-
|
54
|
-
-
|
55
|
-
Content-Length:
|
56
|
-
- '111'
|
40
|
+
- '0.020794'
|
41
|
+
Date:
|
42
|
+
- Fri, 31 Mar 2017 23:33:13 GMT
|
57
43
|
Connection:
|
58
|
-
-
|
44
|
+
- close
|
59
45
|
body:
|
60
|
-
encoding:
|
61
|
-
string:
|
62
|
-
H4sIAAAAAAAAAxxMOwqAMAy9S2ZPoYOjooOIOAR9aDG0EqzF29t0ev+30ICd
|
63
|
-
KuqU/YFMZoiElEmrgM9YSzS/j3oLiubtyjid7kHp8We58+bWGpKtRicv1OIg
|
64
|
-
9t8IWGn9AQAA//8DAJ+V5R5vAAAA
|
46
|
+
encoding: UTF-8
|
47
|
+
string: '["Red","Orange","Yellow","Green","Blue","Purple","Black","White","Gray","Pink","Brown","Silver","Gold","Clear"]'
|
65
48
|
http_version:
|
66
|
-
recorded_at:
|
49
|
+
recorded_at: Fri, 31 Mar 2017 23:33:13 GMT
|
67
50
|
recorded_with: VCR 3.0.3
|