Skip to content

Instantly share code, notes, and snippets.

@gmacdougall
Created July 13, 2016 19:14
Show Gist options
  • Save gmacdougall/4295d4f0c937fb39dc7718f3f483e98c to your computer and use it in GitHub Desktop.
Save gmacdougall/4295d4f0c937fb39dc7718f3f483e98c to your computer and use it in GitHub Desktop.
{
"pages": 1,
"per_page": 500,
"current_page": 1,
"total_count": 4,
"count": 4,
"products": [
{
"has_variants": false,
"classifications": [
{
"taxon": {
"taxons": [],
"taxonomy_id": 1,
"parent_id": 5,
"permalink": "categories/clothing/t-shirts",
"pretty_name": "Categories -> Clothing -> T-Shirts",
"name": "T-Shirts",
"id": 7
},
"position": 1,
"taxon_id": 7
},
{
"taxon": {
"taxons": [],
"taxonomy_id": 2,
"parent_id": 2,
"permalink": "brand/apache",
"pretty_name": "Brand -> Apache",
"name": "Apache",
"id": 9
},
"position": 1,
"taxon_id": 9
}
],
"meta_description": null,
"slug": "apache-baseball-jersey",
"available_on": "2016-07-02T02:11:07.831Z",
"display_price": "$19.99",
"price": "19.99",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"name": "Apache Baseball Jersey",
"id": 7,
"meta_keywords": null,
"shipping_category_id": 1,
"taxon_ids": [
7,
9
],
"total_on_hand": 10,
"master": {
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "APC-00001",
"name": "Apache Baseball Jersey",
"id": 7,
"is_master": true,
"slug": "apache-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [],
"images": [
{
"large_url": "/spree/products/33/large/apache_baseball.png?1467425481",
"product_url": "/spree/products/33/product/apache_baseball.png?1467425481",
"small_url": "/spree/products/33/small/apache_baseball.png?1467425481",
"mini_url": "/spree/products/33/mini/apache_baseball.png?1467425481",
"viewable_id": 7,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 33,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "apache_baseball.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:21.595Z",
"attachment_width": 504,
"attachment_height": 484
}
],
"display_price": "$19.99"
},
"variants": [],
"option_types": [],
"product_properties": []
},
{
"has_variants": false,
"classifications": [
{
"taxon": {
"taxons": [],
"taxonomy_id": 1,
"parent_id": 5,
"permalink": "categories/clothing/t-shirts",
"pretty_name": "Categories -> Clothing -> T-Shirts",
"name": "T-Shirts",
"id": 7
},
"position": 2,
"taxon_id": 7
},
{
"taxon": {
"taxons": [],
"taxonomy_id": 2,
"parent_id": 2,
"permalink": "brand/ruby",
"pretty_name": "Brand -> Ruby",
"name": "Ruby",
"id": 8
},
"position": 1,
"taxon_id": 8
}
],
"meta_description": null,
"slug": "ruby-baseball-jersey",
"available_on": "2016-07-02T02:11:07.831Z",
"display_price": "$19.99",
"price": "19.99",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"name": "Ruby Baseball Jersey",
"id": 6,
"meta_keywords": null,
"shipping_category_id": 1,
"taxon_ids": [
7,
8
],
"total_on_hand": 10,
"master": {
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "RUB-00001",
"name": "Ruby Baseball Jersey",
"id": 6,
"is_master": true,
"slug": "ruby-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [],
"images": [
{
"large_url": "/spree/products/34/large/ruby_baseball.png?1467425481",
"product_url": "/spree/products/34/product/ruby_baseball.png?1467425481",
"small_url": "/spree/products/34/small/ruby_baseball.png?1467425481",
"mini_url": "/spree/products/34/mini/ruby_baseball.png?1467425481",
"viewable_id": 6,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 34,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ruby_baseball.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:21.989Z",
"attachment_width": 495,
"attachment_height": 477
}
],
"display_price": "$19.99"
},
"variants": [],
"option_types": [],
"product_properties": []
},
{
"has_variants": true,
"classifications": [
{
"taxon": {
"taxons": [],
"taxonomy_id": 1,
"parent_id": 5,
"permalink": "categories/clothing/t-shirts",
"pretty_name": "Categories -> Clothing -> T-Shirts",
"name": "T-Shirts",
"id": 7
},
"position": 3,
"taxon_id": 7
},
{
"taxon": {
"taxons": [],
"taxonomy_id": 2,
"parent_id": 2,
"permalink": "brand/rails",
"pretty_name": "Brand -> Rails",
"name": "Rails",
"id": 10
},
"position": 5,
"taxon_id": 10
}
],
"meta_description": null,
"slug": "ruby-on-rails-baseball-jersey",
"available_on": "2016-07-02T02:11:07.831Z",
"display_price": "$19.99",
"price": "19.99",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"name": "Ruby on Rails Baseball Jersey",
"id": 3,
"meta_keywords": null,
"shipping_category_id": 1,
"taxon_ids": [
7,
10
],
"total_on_hand": 110,
"master": {
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-001",
"name": "Ruby on Rails Baseball Jersey",
"id": 3,
"is_master": true,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [],
"images": [
{
"large_url": "/spree/products/24/large/ror_baseball.jpeg?1467425479",
"product_url": "/spree/products/24/product/ror_baseball.jpeg?1467425479",
"small_url": "/spree/products/24/small/ror_baseball.jpeg?1467425479",
"mini_url": "/spree/products/24/mini/ror_baseball.jpeg?1467425479",
"viewable_id": 3,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 24,
"position": 1,
"attachment_content_type": "image/jpeg",
"attachment_file_name": "ror_baseball.jpeg",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:19.048Z",
"attachment_width": 360,
"attachment_height": 360
},
{
"large_url": "/spree/products/25/large/ror_baseball_back.jpeg?1467425479",
"product_url": "/spree/products/25/product/ror_baseball_back.jpeg?1467425479",
"small_url": "/spree/products/25/small/ror_baseball_back.jpeg?1467425479",
"mini_url": "/spree/products/25/mini/ror_baseball_back.jpeg?1467425479",
"viewable_id": 3,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 25,
"position": 2,
"attachment_content_type": "image/jpeg",
"attachment_file_name": "ror_baseball_back.jpeg",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:19.311Z",
"attachment_width": 360,
"attachment_height": 360
}
],
"display_price": "$19.99"
},
"variants": [
{
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "Size: S, Color: Red",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00001",
"name": "Ruby on Rails Baseball Jersey",
"id": 10,
"is_master": false,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [
{
"option_type_presentation": "Size",
"option_type_id": 1,
"option_type_name": "tshirt-size",
"presentation": "S",
"name": "Small",
"id": 1
},
{
"option_type_presentation": "Color",
"option_type_id": 2,
"option_type_name": "tshirt-color",
"presentation": "Red",
"name": "Red",
"id": 5
}
],
"images": [
{
"large_url": "/spree/products/1/large/ror_baseball_jersey_red.png?1467425472",
"product_url": "/spree/products/1/product/ror_baseball_jersey_red.png?1467425472",
"small_url": "/spree/products/1/small/ror_baseball_jersey_red.png?1467425472",
"mini_url": "/spree/products/1/mini/ror_baseball_jersey_red.png?1467425472",
"viewable_id": 10,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 1,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_red.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:12.098Z",
"attachment_width": 240,
"attachment_height": 240
},
{
"large_url": "/spree/products/2/large/ror_baseball_jersey_back_red.png?1467425472",
"product_url": "/spree/products/2/product/ror_baseball_jersey_back_red.png?1467425472",
"small_url": "/spree/products/2/small/ror_baseball_jersey_back_red.png?1467425472",
"mini_url": "/spree/products/2/mini/ror_baseball_jersey_back_red.png?1467425472",
"viewable_id": 10,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 2,
"position": 2,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_back_red.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:12.474Z",
"attachment_width": 240,
"attachment_height": 240
}
],
"display_price": "$19.99"
},
{
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "Size: S, Color: Blue",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00002",
"name": "Ruby on Rails Baseball Jersey",
"id": 11,
"is_master": false,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [
{
"option_type_presentation": "Size",
"option_type_id": 1,
"option_type_name": "tshirt-size",
"presentation": "S",
"name": "Small",
"id": 1
},
{
"option_type_presentation": "Color",
"option_type_id": 2,
"option_type_name": "tshirt-color",
"presentation": "Blue",
"name": "Blue",
"id": 7
}
],
"images": [
{
"large_url": "/spree/products/3/large/ror_baseball_jersey_blue.png?1467425472",
"product_url": "/spree/products/3/product/ror_baseball_jersey_blue.png?1467425472",
"small_url": "/spree/products/3/small/ror_baseball_jersey_blue.png?1467425472",
"mini_url": "/spree/products/3/mini/ror_baseball_jersey_blue.png?1467425472",
"viewable_id": 11,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 3,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_blue.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:12.757Z",
"attachment_width": 240,
"attachment_height": 240
},
{
"large_url": "/spree/products/4/large/ror_baseball_jersey_back_blue.png?1467425473",
"product_url": "/spree/products/4/product/ror_baseball_jersey_back_blue.png?1467425473",
"small_url": "/spree/products/4/small/ror_baseball_jersey_back_blue.png?1467425473",
"mini_url": "/spree/products/4/mini/ror_baseball_jersey_back_blue.png?1467425473",
"viewable_id": 11,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 4,
"position": 2,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_back_blue.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:13.064Z",
"attachment_width": 240,
"attachment_height": 240
}
],
"display_price": "$19.99"
},
{
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "Size: S, Color: Green",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00003",
"name": "Ruby on Rails Baseball Jersey",
"id": 12,
"is_master": false,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [
{
"option_type_presentation": "Size",
"option_type_id": 1,
"option_type_name": "tshirt-size",
"presentation": "S",
"name": "Small",
"id": 1
},
{
"option_type_presentation": "Color",
"option_type_id": 2,
"option_type_name": "tshirt-color",
"presentation": "Green",
"name": "Green",
"id": 6
}
],
"images": [
{
"large_url": "/spree/products/5/large/ror_baseball_jersey_green.png?1467425473",
"product_url": "/spree/products/5/product/ror_baseball_jersey_green.png?1467425473",
"small_url": "/spree/products/5/small/ror_baseball_jersey_green.png?1467425473",
"mini_url": "/spree/products/5/mini/ror_baseball_jersey_green.png?1467425473",
"viewable_id": 12,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 5,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_green.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:13.365Z",
"attachment_width": 240,
"attachment_height": 240
},
{
"large_url": "/spree/products/6/large/ror_baseball_jersey_back_green.png?1467425473",
"product_url": "/spree/products/6/product/ror_baseball_jersey_back_green.png?1467425473",
"small_url": "/spree/products/6/small/ror_baseball_jersey_back_green.png?1467425473",
"mini_url": "/spree/products/6/mini/ror_baseball_jersey_back_green.png?1467425473",
"viewable_id": 12,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 6,
"position": 2,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_back_green.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:13.654Z",
"attachment_width": 240,
"attachment_height": 240
}
],
"display_price": "$19.99"
},
{
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "Size: M, Color: Red",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00004",
"name": "Ruby on Rails Baseball Jersey",
"id": 13,
"is_master": false,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [
{
"option_type_presentation": "Size",
"option_type_id": 1,
"option_type_name": "tshirt-size",
"presentation": "M",
"name": "Medium",
"id": 2
},
{
"option_type_presentation": "Color",
"option_type_id": 2,
"option_type_name": "tshirt-color",
"presentation": "Red",
"name": "Red",
"id": 5
}
],
"images": [
{
"large_url": "/spree/products/7/large/ror_baseball_jersey_red.png?1467425473",
"product_url": "/spree/products/7/product/ror_baseball_jersey_red.png?1467425473",
"small_url": "/spree/products/7/small/ror_baseball_jersey_red.png?1467425473",
"mini_url": "/spree/products/7/mini/ror_baseball_jersey_red.png?1467425473",
"viewable_id": 13,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 7,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_red.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:13.939Z",
"attachment_width": 240,
"attachment_height": 240
},
{
"large_url": "/spree/products/8/large/ror_baseball_jersey_back_red.png?1467425474",
"product_url": "/spree/products/8/product/ror_baseball_jersey_back_red.png?1467425474",
"small_url": "/spree/products/8/small/ror_baseball_jersey_back_red.png?1467425474",
"mini_url": "/spree/products/8/mini/ror_baseball_jersey_back_red.png?1467425474",
"viewable_id": 13,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 8,
"position": 2,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_back_red.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:14.228Z",
"attachment_width": 240,
"attachment_height": 240
}
],
"display_price": "$19.99"
},
{
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "Size: M, Color: Blue",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00005",
"name": "Ruby on Rails Baseball Jersey",
"id": 14,
"is_master": false,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [
{
"option_type_presentation": "Size",
"option_type_id": 1,
"option_type_name": "tshirt-size",
"presentation": "M",
"name": "Medium",
"id": 2
},
{
"option_type_presentation": "Color",
"option_type_id": 2,
"option_type_name": "tshirt-color",
"presentation": "Blue",
"name": "Blue",
"id": 7
}
],
"images": [
{
"large_url": "/spree/products/9/large/ror_baseball_jersey_blue.png?1467425474",
"product_url": "/spree/products/9/product/ror_baseball_jersey_blue.png?1467425474",
"small_url": "/spree/products/9/small/ror_baseball_jersey_blue.png?1467425474",
"mini_url": "/spree/products/9/mini/ror_baseball_jersey_blue.png?1467425474",
"viewable_id": 14,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 9,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_blue.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:14.521Z",
"attachment_width": 240,
"attachment_height": 240
},
{
"large_url": "/spree/products/10/large/ror_baseball_jersey_back_blue.png?1467425474",
"product_url": "/spree/products/10/product/ror_baseball_jersey_back_blue.png?1467425474",
"small_url": "/spree/products/10/small/ror_baseball_jersey_back_blue.png?1467425474",
"mini_url": "/spree/products/10/mini/ror_baseball_jersey_back_blue.png?1467425474",
"viewable_id": 14,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 10,
"position": 2,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_back_blue.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:14.803Z",
"attachment_width": 240,
"attachment_height": 240
}
],
"display_price": "$19.99"
},
{
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "Size: M, Color: Green",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00006",
"name": "Ruby on Rails Baseball Jersey",
"id": 15,
"is_master": false,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [
{
"option_type_presentation": "Size",
"option_type_id": 1,
"option_type_name": "tshirt-size",
"presentation": "M",
"name": "Medium",
"id": 2
},
{
"option_type_presentation": "Color",
"option_type_id": 2,
"option_type_name": "tshirt-color",
"presentation": "Green",
"name": "Green",
"id": 6
}
],
"images": [
{
"large_url": "/spree/products/11/large/ror_baseball_jersey_green.png?1467425475",
"product_url": "/spree/products/11/product/ror_baseball_jersey_green.png?1467425475",
"small_url": "/spree/products/11/small/ror_baseball_jersey_green.png?1467425475",
"mini_url": "/spree/products/11/mini/ror_baseball_jersey_green.png?1467425475",
"viewable_id": 15,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 11,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_green.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:15.089Z",
"attachment_width": 240,
"attachment_height": 240
},
{
"large_url": "/spree/products/12/large/ror_baseball_jersey_back_green.png?1467425475",
"product_url": "/spree/products/12/product/ror_baseball_jersey_back_green.png?1467425475",
"small_url": "/spree/products/12/small/ror_baseball_jersey_back_green.png?1467425475",
"mini_url": "/spree/products/12/mini/ror_baseball_jersey_back_green.png?1467425475",
"viewable_id": 15,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 12,
"position": 2,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_back_green.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:15.390Z",
"attachment_width": 240,
"attachment_height": 240
}
],
"display_price": "$19.99"
},
{
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "Size: L, Color: Red",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00007",
"name": "Ruby on Rails Baseball Jersey",
"id": 16,
"is_master": false,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [
{
"option_type_presentation": "Size",
"option_type_id": 1,
"option_type_name": "tshirt-size",
"presentation": "L",
"name": "Large",
"id": 3
},
{
"option_type_presentation": "Color",
"option_type_id": 2,
"option_type_name": "tshirt-color",
"presentation": "Red",
"name": "Red",
"id": 5
}
],
"images": [
{
"large_url": "/spree/products/13/large/ror_baseball_jersey_red.png?1467425475",
"product_url": "/spree/products/13/product/ror_baseball_jersey_red.png?1467425475",
"small_url": "/spree/products/13/small/ror_baseball_jersey_red.png?1467425475",
"mini_url": "/spree/products/13/mini/ror_baseball_jersey_red.png?1467425475",
"viewable_id": 16,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 13,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_red.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:15.706Z",
"attachment_width": 240,
"attachment_height": 240
},
{
"large_url": "/spree/products/14/large/ror_baseball_jersey_back_red.png?1467425476",
"product_url": "/spree/products/14/product/ror_baseball_jersey_back_red.png?1467425476",
"small_url": "/spree/products/14/small/ror_baseball_jersey_back_red.png?1467425476",
"mini_url": "/spree/products/14/mini/ror_baseball_jersey_back_red.png?1467425476",
"viewable_id": 16,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 14,
"position": 2,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_back_red.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:16.012Z",
"attachment_width": 240,
"attachment_height": 240
}
],
"display_price": "$19.99"
},
{
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "Size: L, Color: Blue",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00008",
"name": "Ruby on Rails Baseball Jersey",
"id": 17,
"is_master": false,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [
{
"option_type_presentation": "Size",
"option_type_id": 1,
"option_type_name": "tshirt-size",
"presentation": "L",
"name": "Large",
"id": 3
},
{
"option_type_presentation": "Color",
"option_type_id": 2,
"option_type_name": "tshirt-color",
"presentation": "Blue",
"name": "Blue",
"id": 7
}
],
"images": [
{
"large_url": "/spree/products/15/large/ror_baseball_jersey_blue.png?1467425476",
"product_url": "/spree/products/15/product/ror_baseball_jersey_blue.png?1467425476",
"small_url": "/spree/products/15/small/ror_baseball_jersey_blue.png?1467425476",
"mini_url": "/spree/products/15/mini/ror_baseball_jersey_blue.png?1467425476",
"viewable_id": 17,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 15,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_blue.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:16.379Z",
"attachment_width": 240,
"attachment_height": 240
},
{
"large_url": "/spree/products/16/large/ror_baseball_jersey_back_blue.png?1467425476",
"product_url": "/spree/products/16/product/ror_baseball_jersey_back_blue.png?1467425476",
"small_url": "/spree/products/16/small/ror_baseball_jersey_back_blue.png?1467425476",
"mini_url": "/spree/products/16/mini/ror_baseball_jersey_back_blue.png?1467425476",
"viewable_id": 17,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 16,
"position": 2,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_back_blue.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:16.685Z",
"attachment_width": 240,
"attachment_height": 240
}
],
"display_price": "$19.99"
},
{
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "Size: L, Color: Green",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00009",
"name": "Ruby on Rails Baseball Jersey",
"id": 18,
"is_master": false,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [
{
"option_type_presentation": "Size",
"option_type_id": 1,
"option_type_name": "tshirt-size",
"presentation": "L",
"name": "Large",
"id": 3
},
{
"option_type_presentation": "Color",
"option_type_id": 2,
"option_type_name": "tshirt-color",
"presentation": "Green",
"name": "Green",
"id": 6
}
],
"images": [
{
"large_url": "/spree/products/17/large/ror_baseball_jersey_green.png?1467425476",
"product_url": "/spree/products/17/product/ror_baseball_jersey_green.png?1467425476",
"small_url": "/spree/products/17/small/ror_baseball_jersey_green.png?1467425476",
"mini_url": "/spree/products/17/mini/ror_baseball_jersey_green.png?1467425476",
"viewable_id": 18,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 17,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_green.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:16.974Z",
"attachment_width": 240,
"attachment_height": 240
},
{
"large_url": "/spree/products/18/large/ror_baseball_jersey_back_green.png?1467425477",
"product_url": "/spree/products/18/product/ror_baseball_jersey_back_green.png?1467425477",
"small_url": "/spree/products/18/small/ror_baseball_jersey_back_green.png?1467425477",
"mini_url": "/spree/products/18/mini/ror_baseball_jersey_back_green.png?1467425477",
"viewable_id": 18,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 18,
"position": 2,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_back_green.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:17.259Z",
"attachment_width": 240,
"attachment_height": 240
}
],
"display_price": "$19.99"
},
{
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "Size: XL, Color: Green",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00010",
"name": "Ruby on Rails Baseball Jersey",
"id": 19,
"is_master": false,
"slug": "ruby-on-rails-baseball-jersey",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [
{
"option_type_presentation": "Size",
"option_type_id": 1,
"option_type_name": "tshirt-size",
"presentation": "XL",
"name": "Extra Large",
"id": 4
},
{
"option_type_presentation": "Color",
"option_type_id": 2,
"option_type_name": "tshirt-color",
"presentation": "Green",
"name": "Green",
"id": 6
}
],
"images": [
{
"large_url": "/spree/products/19/large/ror_baseball_jersey_green.png?1467425477",
"product_url": "/spree/products/19/product/ror_baseball_jersey_green.png?1467425477",
"small_url": "/spree/products/19/small/ror_baseball_jersey_green.png?1467425477",
"mini_url": "/spree/products/19/mini/ror_baseball_jersey_green.png?1467425477",
"viewable_id": 19,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 19,
"position": 1,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_green.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:17.563Z",
"attachment_width": 240,
"attachment_height": 240
},
{
"large_url": "/spree/products/20/large/ror_baseball_jersey_back_green.png?1467425477",
"product_url": "/spree/products/20/product/ror_baseball_jersey_back_green.png?1467425477",
"small_url": "/spree/products/20/small/ror_baseball_jersey_back_green.png?1467425477",
"mini_url": "/spree/products/20/mini/ror_baseball_jersey_back_green.png?1467425477",
"viewable_id": 19,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 20,
"position": 2,
"attachment_content_type": "image/png",
"attachment_file_name": "ror_baseball_jersey_back_green.png",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:17.842Z",
"attachment_width": 240,
"attachment_height": 240
}
],
"display_price": "$19.99"
}
],
"option_types": [
{
"position": 1,
"presentation": "Size",
"name": "tshirt-size",
"id": 1
},
{
"position": 2,
"presentation": "Color",
"name": "tshirt-color",
"id": 2
}
],
"product_properties": [
{
"property_name": "Manufacturer",
"value": "Wilson",
"property_id": 1,
"product_id": 3,
"id": 1
},
{
"property_name": "Brand",
"value": "Wannabe Sports",
"property_id": 2,
"product_id": 3,
"id": 2
},
{
"property_name": "Model",
"value": "JK1002",
"property_id": 3,
"product_id": 3,
"id": 3
},
{
"property_name": "Shirt Type",
"value": "Baseball Jersey",
"property_id": 4,
"product_id": 3,
"id": 4
},
{
"property_name": "Sleeve Type",
"value": "Long",
"property_id": 5,
"product_id": 3,
"id": 5
},
{
"property_name": "Made from",
"value": "100% cotton",
"property_id": 6,
"product_id": 3,
"id": 6
},
{
"property_name": "Fit",
"value": "Loose",
"property_id": 7,
"product_id": 3,
"id": 7
},
{
"property_name": "Gender",
"value": "Men's",
"property_id": 8,
"product_id": 3,
"id": 8
}
]
},
{
"has_variants": false,
"classifications": [
{
"taxon": {
"taxons": [],
"taxonomy_id": 1,
"parent_id": 5,
"permalink": "categories/clothing/t-shirts",
"pretty_name": "Categories -> Clothing -> T-Shirts",
"name": "T-Shirts",
"id": 7
},
"position": 4,
"taxon_id": 7
},
{
"taxon": {
"taxons": [],
"taxonomy_id": 2,
"parent_id": 2,
"permalink": "brand/rails",
"pretty_name": "Brand -> Rails",
"name": "Rails",
"id": 10
},
"position": 7,
"taxon_id": 10
}
],
"meta_description": null,
"slug": "ruby-on-rails-ringer-t-shirt",
"available_on": "2016-07-02T02:11:07.831Z",
"display_price": "$19.99",
"price": "19.99",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"name": "Ruby on Rails Ringer T-Shirt",
"id": 5,
"meta_keywords": null,
"shipping_category_id": 1,
"taxon_ids": [
7,
10
],
"total_on_hand": 10,
"master": {
"is_destroyed": false,
"total_on_hand": 10,
"is_backorderable": true,
"in_stock": true,
"options_text": "",
"depth": null,
"width": null,
"height": null,
"weight": "0.0",
"price": "19.99",
"sku": "ROR-00015",
"name": "Ruby on Rails Ringer T-Shirt",
"id": 5,
"is_master": true,
"slug": "ruby-on-rails-ringer-t-shirt",
"description": "Amet eveniet laborum enim cupiditate praesentium laboriosam. Voluptatem porro iste optio repellat sit recusandae alias quos. Expedita quibusdam corporis aut qui quo iure. Nostrum sequi impedit facere perferendis.",
"track_inventory": true,
"cost_price": "17.0",
"option_values": [],
"images": [
{
"large_url": "/spree/products/29/large/ror_ringer.jpeg?1467425480",
"product_url": "/spree/products/29/product/ror_ringer.jpeg?1467425480",
"small_url": "/spree/products/29/small/ror_ringer.jpeg?1467425480",
"mini_url": "/spree/products/29/mini/ror_ringer.jpeg?1467425480",
"viewable_id": 5,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 29,
"position": 1,
"attachment_content_type": "image/jpeg",
"attachment_file_name": "ror_ringer.jpeg",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:20.402Z",
"attachment_width": 360,
"attachment_height": 360
},
{
"large_url": "/spree/products/30/large/ror_ringer_back.jpeg?1467425480",
"product_url": "/spree/products/30/product/ror_ringer_back.jpeg?1467425480",
"small_url": "/spree/products/30/small/ror_ringer_back.jpeg?1467425480",
"mini_url": "/spree/products/30/mini/ror_ringer_back.jpeg?1467425480",
"viewable_id": 5,
"viewable_type": "Spree::Variant",
"alt": null,
"id": 30,
"position": 2,
"attachment_content_type": "image/jpeg",
"attachment_file_name": "ror_ringer_back.jpeg",
"type": "Spree::Image",
"attachment_updated_at": "2016-07-02T02:11:20.674Z",
"attachment_width": 360,
"attachment_height": 360
}
],
"display_price": "$19.99"
},
"variants": [],
"option_types": [],
"product_properties": [
{
"property_name": "Manufacturer",
"value": "Jerseys",
"property_id": 1,
"product_id": 5,
"id": 17
},
{
"property_name": "Brand",
"value": "Conditioned",
"property_id": 2,
"product_id": 5,
"id": 18
},
{
"property_name": "Model",
"value": "TL9002",
"property_id": 3,
"product_id": 5,
"id": 19
},
{
"property_name": "Shirt Type",
"value": "Ringer T",
"property_id": 4,
"product_id": 5,
"id": 20
},
{
"property_name": "Sleeve Type",
"value": "Short",
"property_id": 5,
"product_id": 5,
"id": 21
},
{
"property_name": "Made from",
"value": "100% Vellum",
"property_id": 6,
"product_id": 5,
"id": 22
},
{
"property_name": "Fit",
"value": "Loose",
"property_id": 7,
"product_id": 5,
"id": 23
},
{
"property_name": "Gender",
"value": "Men's",
"property_id": 8,
"product_id": 5,
"id": 24
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment