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
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://tophatter.dev/merchant_api/v1/products/retrieve.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: identifier=PFTBNU5&access_token=
|
8
|
+
string: identifier=PFTBNU5&access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
@@ -31,23 +31,23 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"a301a512e1d5de695255e03b9ac4a119"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 4a245f48-3299-493f-8152-4f6821174678
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.063549'
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Fri, 31 Mar 2017 23:32:55 GMT
|
43
43
|
Connection:
|
44
44
|
- close
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
47
|
string: '{"identifier":"PFTBNU5","category":"Apparel | Tops | Shirts","title":"Pay
|
48
|
-
Flow Test, With Shipping Price","description":"This is the lot description.","condition":"New","brand":"Foo","material":null,"available_quantity":100,"variations":[{"identifier":"PFTBNU5","size":null,"color":null,"quantity":100,"created_at":"2017-03-
|
48
|
+
Flow Test, With Shipping Price","description":"This is the lot description.","condition":"New","brand":"Foo","material":null,"available_quantity":100,"variations":[{"identifier":"PFTBNU5","size":null,"color":null,"quantity":100,"created_at":"2017-03-31T16:32:25-07:00"}],"starting_bid":18,"buy_now_price":399,"retail_price":1099,"cost_basis":"300.0","shipping_price":13,"shipping_origin":"United
|
49
49
|
States","weight":6,"days_to_fulfill":4,"days_to_deliver":4,"expedited_shipping_price":23,"expedited_days_to_deliver":1,"buy_one_get_one_price":50,"accessory_price":25,"accessory_description":"This
|
50
|
-
is a super awesome accessory.","primary_image":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/large.jpg","original":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/large.jpg","original":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-
|
50
|
+
is a super awesome accessory.","primary_image":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/large.jpg","original":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/large.jpg","original":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-31T16:32:25-07:00","updated_at":"2017-03-31T16:32:25-07:00","disabled_at":null,"deleted_at":null,"internal_id":992996129,"slug":"PFTBNU5","admin_banned_at":null,"admin_hold_at":null,"admin_reason":null,"success_fee_bid_enabled":false,"success_fee_bid":null}'
|
51
51
|
http_version:
|
52
|
-
recorded_at:
|
52
|
+
recorded_at: Fri, 31 Mar 2017 23:32:55 GMT
|
53
53
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://tophatter.dev/merchant_api/v1/products/schema.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: access_token=
|
8
|
+
string: access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
@@ -31,15 +31,15 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"6dca85d24e48b7e1b8fa05197b323666"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- a72289da-fae2-4f7f-93b4-ee19ca80d7ef
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.060902'
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Fri, 31 Mar 2017 23:32:54 GMT
|
43
43
|
Connection:
|
44
44
|
- close
|
45
45
|
body:
|
@@ -69,29 +69,27 @@ http_interactions:
|
|
69
69
|
Suggested Retail Price. This field is recommended as it will show as a strikethrough
|
70
70
|
price and appears next to the selling price for the product."},{"field":"cost_basis","name":"Cost
|
71
71
|
Basis","required":false,"readonly":false,"description":"The original cost
|
72
|
-
(to you) of a product. Specifying it will allow you to easily see your profits."},{"field":"
|
73
|
-
|
74
|
-
|
75
|
-
shipping price
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
ships from."},{"field":"weight","name":"Shipping Weight In Ounces","required":false,"readonly":false,"description":"The
|
80
|
-
weight (in ounces) of the package when you ship this item. Used to help determine
|
81
|
-
shipping costs in certain scenarios."},{"field":"days_to_fulfill","name":"Days
|
82
|
-
To Process Order","required":true,"readonly":false,"description":"The number
|
83
|
-
of days (after purchase) that it will take you to process & fulfill the order
|
84
|
-
by shipping the item."},{"field":"days_to_deliver","name":"Days To Deliver","required":true,"readonly":false,"description":"The
|
85
|
-
number of days you expect the shipment to be in transit to the buyer. Do not
|
86
|
-
include the number of days it will take to fulfill the order."},{"field":"expedited_shipping_price","name":"Expedited
|
72
|
+
(to you) of a product. Specifying it will allow you to easily see your profits."},{"field":"shipping_price","name":"Shipping
|
73
|
+
Price","required":true,"readonly":false,"description":"The shipping price
|
74
|
+
of the product when someone in the US purchases one. This price determines
|
75
|
+
the shipping price to other countries when you set up your [shipping rates](https://tophatter.com/sellers/shipping_rates)."},{"field":"days_to_deliver","name":"Days
|
76
|
+
To Deliver","required":true,"readonly":false,"description":"The number of
|
77
|
+
days you expect the shipment to be in transit to the buyer. Do not include
|
78
|
+
the number of days it will take to fulfill the order."},{"field":"expedited_shipping_price","name":"Expedited
|
87
79
|
Shipping Price","required":false,"readonly":false,"description":"The shipping
|
88
80
|
price of the product when someone in the US purchases one and chooses expedited
|
89
|
-
shipping."},{"field":"expedited_days_to_deliver","name":"Expedited
|
90
|
-
|
81
|
+
shipping."},{"field":"expedited_days_to_deliver","name":"Expedited Days To
|
82
|
+
Deliver","required":false,"readonly":false,"description":"The number of days
|
91
83
|
you expect the shipment to be in transit to the buyer when the buyer chooses
|
92
|
-
expedited shipping."},{"field":"
|
93
|
-
|
94
|
-
|
84
|
+
expedited shipping."},{"field":"days_to_fulfill","name":"Days To Process Order","required":true,"readonly":false,"description":"The
|
85
|
+
number of days (after purchase) that it will take you to process & fulfill
|
86
|
+
the order by shipping the item."},{"field":"shipping_origin","name":"Shipping
|
87
|
+
Origin","required":true,"readonly":false,"description":"The country the product
|
88
|
+
ships from."},{"field":"weight","name":"Shipping Weight In Ounces","required":false,"readonly":false,"description":"The
|
89
|
+
weight (in ounces) of the package when you ship this item. Used to help determine
|
90
|
+
shipping costs in certain scenarios."},{"field":"buy_one_get_one_price","name":"Buy
|
91
|
+
One Get One Price","required":false,"readonly":false,"description":"Offer
|
92
|
+
\"Buy One Get One\" for $XX (should include any additional shipping cost)."},{"field":"accessory_price","name":"Accessory
|
95
93
|
Price","required":false,"readonly":false,"description":"Offer an accessory
|
96
94
|
for $XX."},{"field":"accessory_description","name":"Accessory Description","required":false,"readonly":false,"description":"Description
|
97
95
|
of the accessory."},{"field":"primary_image","name":"Primary Image","required":true,"readonly":false,"description":"URL
|
@@ -112,13 +110,15 @@ http_interactions:
|
|
112
110
|
At","required":false,"readonly":false,"description":"The date and time the
|
113
111
|
product was disabled (if it is disabled)."},{"field":"deleted_at","name":"Deleted
|
114
112
|
At","required":false,"readonly":true,"description":"The date and time the
|
115
|
-
product was deleted (if it is deleted)."},{"field":"
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
use."},{"field":"
|
120
|
-
internal use."},{"field":"
|
121
|
-
internal use."}
|
113
|
+
product was deleted (if it is deleted)."},{"field":"internal_id","name":"Internal
|
114
|
+
ID","required":false,"readonly":true,"description":"For internal use."},{"field":"slug","name":"Slug","required":false,"readonly":true,"description":"For
|
115
|
+
internal use."},{"field":"admin_banned_at","name":"Admin Banned At","required":false,"readonly":true,"description":"For
|
116
|
+
internal use."},{"field":"admin_hold_at","name":"Admin Hold At","required":false,"readonly":true,"description":"For
|
117
|
+
internal use."},{"field":"admin_reason","name":"Admin Reason","required":false,"readonly":true,"description":"For
|
118
|
+
internal use."},{"field":"success_fee_bid_enabled","name":"Success Fee Bid
|
119
|
+
Enabled?","required":false,"readonly":true,"description":"For internal use."},{"field":"success_fee_bid","name":"Success
|
120
|
+
Fee Bid Amount","required":false,"readonly":true,"description":"For internal
|
121
|
+
use."}]'
|
122
122
|
http_version:
|
123
|
-
recorded_at:
|
123
|
+
recorded_at: Fri, 31 Mar 2017 23:32:54 GMT
|
124
124
|
recorded_with: VCR 3.0.3
|
data/spec/cassettes/TophatterMerchant_Product/_search/returns_products_matching_search_terms.yml
CHANGED
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://tophatter.dev/merchant_api/v1/products/search.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: query=Cute&page=1&per_page=5&pagination=&access_token=
|
8
|
+
string: query=Cute&page=1&per_page=5&pagination=&access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
@@ -31,27 +31,27 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"23065de290e4c6491446a03eed8f3372"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 157ae329-56f9-476c-95e7-458c0d02a649
|
39
39
|
X-Runtime:
|
40
|
-
- '
|
40
|
+
- '1.003186'
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Fri, 31 Mar 2017 23:32:55 GMT
|
43
43
|
Connection:
|
44
44
|
- close
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
47
|
string: '[{"identifier":"C T.3","category":"Apparel | Tops | Shirts","title":"Cute
|
48
|
-
Top 3 - Sizes & Colors","description":"This is a cute top.","condition":"New","brand":null,"material":null,"available_quantity":39,"variations":[{"identifier":"CT3-S-BLUE","size":"S","color":"Blue","quantity":10,"created_at":"2017-03-
|
48
|
+
Top 3 - Sizes & Colors","description":"This is a cute top.","condition":"New","brand":null,"material":null,"available_quantity":39,"variations":[{"identifier":"CT3-S-BLUE","size":"S","color":"Blue","quantity":10,"created_at":"2017-03-31T16:32:25-07:00"},{"identifier":"CT3-S-PINK","size":"S","color":"Pink","quantity":10,"created_at":"2017-03-31T16:32:25-07:00"},{"identifier":"CT3-M-BLUE","size":"M","color":"Blue","quantity":10,"created_at":"2017-03-31T16:32:25-07:00"},{"identifier":"CT3-M-PINK","size":"M","color":"Pink","quantity":10,"created_at":"2017-03-31T16:32:25-07:00"}],"starting_bid":1,"buy_now_price":10,"retail_price":15,"cost_basis":null,"shipping_price":5,"shipping_origin":"Canada","weight":null,"days_to_fulfill":5,"days_to_deliver":10,"expedited_shipping_price":null,"expedited_days_to_deliver":null,"buy_one_get_one_price":null,"accessory_price":null,"accessory_description":null,"primary_image":"https://d38eepresuu519.cloudfront.net/56a63fd91ba79ff0abb7fe35b86db375/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/10633836e10239001fa830ab6f36071a/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/56a63fd91ba79ff0abb7fe35b86db375/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/56a63fd91ba79ff0abb7fe35b86db375/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/56a63fd91ba79ff0abb7fe35b86db375/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/56a63fd91ba79ff0abb7fe35b86db375/large.jpg","original":"https://d38eepresuu519.cloudfront.net/56a63fd91ba79ff0abb7fe35b86db375/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/10633836e10239001fa830ab6f36071a/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/10633836e10239001fa830ab6f36071a/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/10633836e10239001fa830ab6f36071a/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/10633836e10239001fa830ab6f36071a/large.jpg","original":"https://d38eepresuu519.cloudfront.net/10633836e10239001fa830ab6f36071a/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-31T16:32:25-07:00","updated_at":"2017-03-31T16:32:29-07:00","disabled_at":null,"deleted_at":null,"internal_id":623229114,"slug":"C:T~3","admin_banned_at":null,"admin_hold_at":null,"admin_reason":null,"success_fee_bid_enabled":false,"success_fee_bid":null},{"identifier":"C_T_2","category":"Apparel
|
49
49
|
| Tops | Shirts","title":"Cute Top 2 - Colors","description":"This is a cute
|
50
|
-
top.","condition":"New","brand":null,"material":null,"available_quantity":17,"variations":[{"identifier":"CT2-BLUE","size":null,"color":"Blue","quantity":10,"created_at":"2017-03-
|
51
|
-
States","weight":null,"days_to_fulfill":5,"days_to_deliver":10,"expedited_shipping_price":null,"expedited_days_to_deliver":null,"buy_one_get_one_price":null,"accessory_price":null,"accessory_description":null,"primary_image":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/large.jpg","original":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/large.jpg","original":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-
|
50
|
+
top.","condition":"New","brand":null,"material":null,"available_quantity":17,"variations":[{"identifier":"CT2-BLUE","size":null,"color":"Blue","quantity":10,"created_at":"2017-03-31T16:32:25-07:00"},{"identifier":"CT2-PINK","size":null,"color":"Pink","quantity":10,"created_at":"2017-03-31T16:32:25-07:00"}],"starting_bid":1,"buy_now_price":10,"retail_price":15,"cost_basis":null,"shipping_price":5,"shipping_origin":"United
|
51
|
+
States","weight":null,"days_to_fulfill":5,"days_to_deliver":10,"expedited_shipping_price":null,"expedited_days_to_deliver":null,"buy_one_get_one_price":null,"accessory_price":null,"accessory_description":null,"primary_image":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/large.jpg","original":"https://d38eepresuu519.cloudfront.net/4abc117c40f5f5064f2919af4be095bf/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/large.jpg","original":"https://d38eepresuu519.cloudfront.net/5d9419e28dfb7cb8c4542e5c525ccba3/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-31T16:32:25-07:00","updated_at":"2017-03-31T16:32:29-07:00","disabled_at":null,"deleted_at":null,"internal_id":304252963,"slug":"C_T_2","admin_banned_at":null,"admin_hold_at":null,"admin_reason":null,"success_fee_bid_enabled":false,"success_fee_bid":null},{"identifier":"C-T-1","category":"Apparel
|
52
52
|
| Tops | Shirts","title":"Cute Top 1 - Sizes","description":"This is a cute
|
53
|
-
top.","condition":"New","brand":null,"material":null,"available_quantity":8,"variations":[{"identifier":"CT1-S","size":"S","color":null,"quantity":10,"created_at":"2017-03-
|
54
|
-
States","weight":null,"days_to_fulfill":5,"days_to_deliver":10,"expedited_shipping_price":null,"expedited_days_to_deliver":null,"buy_one_get_one_price":null,"accessory_price":null,"accessory_description":null,"primary_image":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/large.jpg","original":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/large.jpg","original":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-
|
53
|
+
top.","condition":"New","brand":null,"material":null,"available_quantity":8,"variations":[{"identifier":"CT1-S","size":"S","color":null,"quantity":10,"created_at":"2017-03-31T16:32:25-07:00"}],"starting_bid":1,"buy_now_price":10,"retail_price":15,"cost_basis":null,"shipping_price":5,"shipping_origin":"United
|
54
|
+
States","weight":null,"days_to_fulfill":5,"days_to_deliver":10,"expedited_shipping_price":null,"expedited_days_to_deliver":null,"buy_one_get_one_price":null,"accessory_price":null,"accessory_description":null,"primary_image":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/large.jpg","original":"https://d38eepresuu519.cloudfront.net/e3011018dd9fba13ba8094ff9411bb46/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/large.jpg","original":"https://d38eepresuu519.cloudfront.net/69ba52559996f45811d85eed9f807861/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-31T16:32:25-07:00","updated_at":"2017-03-31T16:32:29-07:00","disabled_at":null,"deleted_at":null,"internal_id":187423131,"slug":"C-T-1","admin_banned_at":null,"admin_hold_at":null,"admin_reason":null,"success_fee_bid_enabled":false,"success_fee_bid":null}]'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Fri, 31 Mar 2017 23:32:55 GMT
|
57
57
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://tophatter.dev/merchant_api/v1/products/retrieve.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: identifier=PFTBNU5&access_token=
|
8
|
+
string: identifier=PFTBNU5&access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
@@ -31,31 +31,31 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"a301a512e1d5de695255e03b9ac4a119"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- fb72c0d0-c06a-465a-a8cd-4520af723248
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.066648'
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Fri, 31 Mar 2017 23:33:07 GMT
|
43
43
|
Connection:
|
44
44
|
- close
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
47
|
string: '{"identifier":"PFTBNU5","category":"Apparel | Tops | Shirts","title":"Pay
|
48
|
-
Flow Test, With Shipping Price","description":"This is the lot description.","condition":"New","brand":"Foo","material":null,"available_quantity":100,"variations":[{"identifier":"PFTBNU5","size":null,"color":null,"quantity":100,"created_at":"2017-03-
|
48
|
+
Flow Test, With Shipping Price","description":"This is the lot description.","condition":"New","brand":"Foo","material":null,"available_quantity":100,"variations":[{"identifier":"PFTBNU5","size":null,"color":null,"quantity":100,"created_at":"2017-03-31T16:32:25-07:00"}],"starting_bid":18,"buy_now_price":399,"retail_price":1099,"cost_basis":"300.0","shipping_price":13,"shipping_origin":"United
|
49
49
|
States","weight":6,"days_to_fulfill":4,"days_to_deliver":4,"expedited_shipping_price":23,"expedited_days_to_deliver":1,"buy_one_get_one_price":50,"accessory_price":25,"accessory_description":"This
|
50
|
-
is a super awesome accessory.","primary_image":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/large.jpg","original":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/large.jpg","original":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-
|
50
|
+
is a super awesome accessory.","primary_image":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/large.jpg","original":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/large.jpg","original":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-31T16:32:25-07:00","updated_at":"2017-03-31T16:32:25-07:00","disabled_at":null,"deleted_at":null,"internal_id":992996129,"slug":"PFTBNU5","admin_banned_at":null,"admin_hold_at":null,"admin_reason":null,"success_fee_bid_enabled":false,"success_fee_bid":null}'
|
51
51
|
http_version:
|
52
|
-
recorded_at:
|
52
|
+
recorded_at: Fri, 31 Mar 2017 23:33:07 GMT
|
53
53
|
- request:
|
54
54
|
method: post
|
55
55
|
uri: http://tophatter.dev/merchant_api/v1/products/update.json
|
56
56
|
body:
|
57
57
|
encoding: UTF-8
|
58
|
-
string: buy_now_price=100&identifier=PFTBNU5&access_token=
|
58
|
+
string: buy_now_price=100&identifier=PFTBNU5&access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
59
59
|
headers:
|
60
60
|
Accept:
|
61
61
|
- "*/*; q=0.5, application/xml"
|
@@ -81,23 +81,23 @@ http_interactions:
|
|
81
81
|
Content-Type:
|
82
82
|
- application/json; charset=utf-8
|
83
83
|
Etag:
|
84
|
-
- W/"
|
84
|
+
- W/"ddabc2df9c830db453f65bb6c176a844"
|
85
85
|
Cache-Control:
|
86
86
|
- max-age=0, private, must-revalidate
|
87
87
|
X-Request-Id:
|
88
|
-
-
|
88
|
+
- 3482e3cb-d5cb-4f93-a8ff-b8b0b4197a47
|
89
89
|
X-Runtime:
|
90
|
-
- '0.
|
90
|
+
- '0.101590'
|
91
91
|
Date:
|
92
|
-
-
|
92
|
+
- Fri, 31 Mar 2017 23:33:07 GMT
|
93
93
|
Connection:
|
94
94
|
- close
|
95
95
|
body:
|
96
96
|
encoding: UTF-8
|
97
97
|
string: '{"identifier":"PFTBNU5","category":"Apparel | Tops | Shirts","title":"Pay
|
98
|
-
Flow Test, With Shipping Price","description":"This is the lot description.","condition":"New","brand":"Foo","material":null,"available_quantity":100,"variations":[{"identifier":"PFTBNU5","size":null,"color":null,"quantity":100,"created_at":"2017-03-
|
98
|
+
Flow Test, With Shipping Price","description":"This is the lot description.","condition":"New","brand":"Foo","material":null,"available_quantity":100,"variations":[{"identifier":"PFTBNU5","size":null,"color":null,"quantity":100,"created_at":"2017-03-31T16:32:25-07:00"}],"starting_bid":18,"buy_now_price":100,"retail_price":1099,"cost_basis":"300.0","shipping_price":13,"shipping_origin":"United
|
99
99
|
States","weight":6,"days_to_fulfill":4,"days_to_deliver":4,"expedited_shipping_price":23,"expedited_days_to_deliver":1,"buy_one_get_one_price":50,"accessory_price":25,"accessory_description":"This
|
100
|
-
is a super awesome accessory.","primary_image":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/large.jpg","original":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/large.jpg","original":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-
|
100
|
+
is a super awesome accessory.","primary_image":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg","extra_images":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg","all_images":[{"thumbnail":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/large.jpg","original":"https://d38eepresuu519.cloudfront.net/0127b02033b5ec927eef961f74688d5d/original.jpg"},{"thumbnail":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/thumbnail.jpg","square":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/square.jpg","medium":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/medium.jpg","large":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/large.jpg","original":"https://d38eepresuu519.cloudfront.net/60ded7eee5b92cdaffa13dd1ee5c0305/original.jpg"}],"ratings_count":null,"ratings_average":null,"created_at":"2017-03-31T16:32:25-07:00","updated_at":"2017-03-31T16:33:07-07:00","disabled_at":null,"deleted_at":null,"internal_id":992996129,"slug":"PFTBNU5","admin_banned_at":null,"admin_hold_at":null,"admin_reason":null,"success_fee_bid_enabled":false,"success_fee_bid":null}'
|
101
101
|
http_version:
|
102
|
-
recorded_at:
|
102
|
+
recorded_at: Fri, 31 Mar 2017 23:33:07 GMT
|
103
103
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://tophatter.dev/merchant_api/v1/variations.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: product_identifier=C-T-1&identifier=CT1-M&size=M&quantity=99&access_token=
|
8
|
+
string: product_identifier=C-T-1&identifier=CT1-M&size=M&quantity=99&access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
@@ -31,20 +31,20 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"61c2fd4f91cfa7741c5726738e964d82"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 2324e3a0-70cb-401d-8a3c-574b2401efc2
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.106959'
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Fri, 31 Mar 2017 23:33:08 GMT
|
43
43
|
Connection:
|
44
44
|
- close
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
|
-
string: '{"product_identifier":"C-T-1","identifier":"CT1-M","size":"M","color":null,"quantity":99,"created_at":"2017-03-
|
47
|
+
string: '{"product_identifier":"C-T-1","identifier":"CT1-M","size":"M","color":null,"quantity":99,"created_at":"2017-03-31T16:33:08-07:00","disabled_at":null,"deleted_at":null}'
|
48
48
|
http_version:
|
49
|
-
recorded_at:
|
49
|
+
recorded_at: Fri, 31 Mar 2017 23:33:08 GMT
|
50
50
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://tophatter.dev/merchant_api/v1/variations/retrieve.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: identifier=CT1-S&access_token=
|
8
|
+
string: identifier=CT1-S&access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
@@ -31,20 +31,20 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"a904bee91396bd30c9ea044d10f2d906"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 8ec3901f-19c5-462b-9c82-08f9491b42b5
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.031552'
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Fri, 31 Mar 2017 23:33:08 GMT
|
43
43
|
Connection:
|
44
44
|
- close
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
|
-
string: '{"product_identifier":"C-T-1","identifier":"CT1-S","size":"S","color":null,"quantity":
|
47
|
+
string: '{"product_identifier":"C-T-1","identifier":"CT1-S","size":"S","color":null,"quantity":10,"created_at":"2017-03-31T16:32:25-07:00","disabled_at":null,"deleted_at":null}'
|
48
48
|
http_version:
|
49
|
-
recorded_at:
|
49
|
+
recorded_at: Fri, 31 Mar 2017 23:33:08 GMT
|
50
50
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://tophatter.dev/merchant_api/v1/variations/schema.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: access_token=
|
8
|
+
string: access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
@@ -31,15 +31,15 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"2997c4864dcc76d8828f1189f17a099d"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- d05a2281-8713-49a9-b9fd-f3e34a9dd42b
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.055031'
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Fri, 31 Mar 2017 23:33:08 GMT
|
43
43
|
Connection:
|
44
44
|
- close
|
45
45
|
body:
|
@@ -55,7 +55,10 @@ http_interactions:
|
|
55
55
|
standardized list of colors here: https://tophatter.readme.io/docs/colors."},{"field":"quantity","name":"Quantity","required":true,"readonly":false,"description":"The
|
56
56
|
quantity available to sell for this variation."},{"field":"created_at","name":"Created
|
57
57
|
At","required":false,"readonly":true,"description":"The date and time the
|
58
|
-
variation was created."}
|
58
|
+
variation was created."},{"field":"disabled_at","name":"Disabled At","required":false,"readonly":true,"description":"The
|
59
|
+
date and time the variation was disabled."},{"field":"deleted_at","name":"Deleted
|
60
|
+
At","required":false,"readonly":true,"description":"The date and time the
|
61
|
+
variation was deleted."}]'
|
59
62
|
http_version:
|
60
|
-
recorded_at:
|
63
|
+
recorded_at: Fri, 31 Mar 2017 23:33:08 GMT
|
61
64
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://tophatter.dev/merchant_api/v1/variations/update.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: quantity=99&identifier=CT1-S&access_token=
|
8
|
+
string: quantity=99&identifier=CT1-S&access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
@@ -31,28 +31,28 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"6b51bc9a54481322b63c540fe3a1971b"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 9ef9edaf-bad4-4701-b2b9-70f4b8a76c95
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.055918'
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Fri, 31 Mar 2017 23:33:08 GMT
|
43
43
|
Connection:
|
44
44
|
- close
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
|
-
string: '{"product_identifier":"C-T-1","identifier":"CT1-S","size":"S","color":null,"quantity":99,"created_at":"2017-03-
|
47
|
+
string: '{"product_identifier":"C-T-1","identifier":"CT1-S","size":"S","color":null,"quantity":99,"created_at":"2017-03-31T16:32:25-07:00","disabled_at":null,"deleted_at":null}'
|
48
48
|
http_version:
|
49
|
-
recorded_at:
|
49
|
+
recorded_at: Fri, 31 Mar 2017 23:33:08 GMT
|
50
50
|
- request:
|
51
51
|
method: post
|
52
52
|
uri: http://tophatter.dev/merchant_api/v1/variations/update.json
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
|
-
string: quantity=999&identifier=CT1-S&access_token=
|
55
|
+
string: quantity=999&identifier=CT1-S&access_token=d8f979fc7d14fec0b075c0b73dbafb59
|
56
56
|
headers:
|
57
57
|
Accept:
|
58
58
|
- "*/*; q=0.5, application/xml"
|
@@ -78,20 +78,20 @@ http_interactions:
|
|
78
78
|
Content-Type:
|
79
79
|
- application/json; charset=utf-8
|
80
80
|
Etag:
|
81
|
-
- W/"
|
81
|
+
- W/"09668dab21ffc7b969b26dc0a71fec1a"
|
82
82
|
Cache-Control:
|
83
83
|
- max-age=0, private, must-revalidate
|
84
84
|
X-Request-Id:
|
85
|
-
-
|
85
|
+
- c183b6f8-9ef6-4c4e-b9a5-508757c44ef2
|
86
86
|
X-Runtime:
|
87
|
-
- '0.
|
87
|
+
- '0.054949'
|
88
88
|
Date:
|
89
|
-
-
|
89
|
+
- Fri, 31 Mar 2017 23:33:08 GMT
|
90
90
|
Connection:
|
91
91
|
- close
|
92
92
|
body:
|
93
93
|
encoding: UTF-8
|
94
|
-
string: '{"product_identifier":"C-T-1","identifier":"CT1-S","size":"S","color":null,"quantity":999,"created_at":"2017-03-
|
94
|
+
string: '{"product_identifier":"C-T-1","identifier":"CT1-S","size":"S","color":null,"quantity":999,"created_at":"2017-03-31T16:32:25-07:00","disabled_at":null,"deleted_at":null}'
|
95
95
|
http_version:
|
96
|
-
recorded_at:
|
96
|
+
recorded_at: Fri, 31 Mar 2017 23:33:08 GMT
|
97
97
|
recorded_with: VCR 3.0.3
|