Skip to content

Instantly share code, notes, and snippets.

@RohanM
Created March 17, 2016 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RohanM/043c8fc608aa814634a0 to your computer and use it in GitHub Desktop.
Save RohanM/043c8fc608aa814634a0 to your computer and use it in GitHub Desktop.
[
{
"id": 353,
"name": "Alfalfa Hay",
"permalink": "alfalfa-hay",
"on_demand": false,
"group_buy": null,
"notes": null,
"description": "Fresh cut hay for horses and mules.",
"properties_with_values": [
],
"variants": [
{
"id": 954,
"is_master": false,
"count_on_hand": 127,
"name_to_display": "Alfalfa Hay",
"unit_to_display": "20kg",
"options_text": "20kg",
"on_demand": false,
"price": "110.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "112.0",
"product_name": "Alfalfa Hay"
}
],
"master": null,
"primary_taxon": {
"id": 65,
"name": "Specials",
"permalink": "products/specials",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/65/original/taxons_specials.svg?1402988939"
},
"taxons": [
{
"id": 65
}
],
"images": [
],
"supplier": {
"id": 177
},
"price": "50.0"
},
{
"id": 290,
"name": "Brussel Sprouts",
"permalink": "brussel-sprouts-1",
"on_demand": false,
"group_buy": null,
"notes": null,
"description": "yummy.",
"properties_with_values": [
],
"variants": [
{
"id": 851,
"is_master": false,
"count_on_hand": 18,
"name_to_display": "Brussel Sprouts",
"unit_to_display": "200g",
"options_text": "200g",
"on_demand": false,
"price": "2.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "4.0",
"product_name": "Brussel Sprouts"
}
],
"master": null,
"primary_taxon": {
"id": 57,
"name": "Vegetables",
"permalink": "products/vegetables",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/57/original/taxons_vegetables.svg?1402988822"
},
"taxons": [
{
"id": 57
}
],
"images": [
],
"supplier": {
"id": 145
},
"price": "2.0"
},
{
"id": 291,
"name": "Brussel Sprouts",
"permalink": "brussel-sprouts-1-2",
"on_demand": false,
"group_buy": false,
"notes": "",
"description": "yummy.",
"properties_with_values": [
],
"variants": [
{
"id": 869,
"is_master": false,
"count_on_hand": 16,
"name_to_display": "Brussel Sprouts",
"unit_to_display": "200g",
"options_text": "200g",
"on_demand": false,
"price": "2.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "4.0",
"product_name": "Brussel Sprouts"
}
],
"master": null,
"primary_taxon": {
"id": 57,
"name": "Vegetables",
"permalink": "products/vegetables",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/57/original/taxons_vegetables.svg?1402988822"
},
"taxons": [
{
"id": 57
}
],
"images": [
],
"supplier": {
"id": 145
},
"price": "2.0"
},
{
"id": 332,
"name": "Carrots",
"permalink": "carrots-31",
"on_demand": false,
"group_buy": true,
"notes": "",
"description": "",
"properties_with_values": [
],
"variants": [
{
"id": 910,
"is_master": false,
"count_on_hand": 35,
"name_to_display": "Carrots",
"unit_to_display": "1kg",
"options_text": "1kg",
"on_demand": false,
"price": "1.3",
"fees": {
"sales": "2.0"
},
"price_with_fees": "3.3",
"product_name": "Carrots"
}
],
"master": null,
"primary_taxon": {
"id": 57,
"name": "Vegetables",
"permalink": "products/vegetables",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/57/original/taxons_vegetables.svg?1402988822"
},
"taxons": [
{
"id": 57
}
],
"images": [
{
"id": 200,
"alt": null,
"small_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/200/small/The_Able_Bake_House_Logosmall.jpg",
"large_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/200/large/The_Able_Bake_House_Logosmall.jpg"
},
{
"id": 201,
"alt": "test img",
"small_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/201/small/user.png",
"large_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/201/large/user.png"
}
],
"supplier": {
"id": 145
},
"price": "1.3"
},
{
"id": 367,
"name": "Champaign",
"permalink": "champaign",
"on_demand": false,
"group_buy": null,
"notes": null,
"description": "",
"properties_with_values": [
-
+ {
+ "id": 6,
+ "name": "Free Range",
+ "value": ""
+ }
],
"variants": [
{
"id": 983,
"is_master": false,
"count_on_hand": 2,
"name_to_display": "Champaign",
"unit_to_display": "750mL",
"options_text": "750mL",
"on_demand": false,
"price": "3.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "5.0",
"product_name": "Champaign"
}
],
"master": null,
"primary_taxon": {
"id": 64,
"name": "Drinks",
"permalink": "products/drinks",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925"
},
"taxons": [
{
"id": 64
}
],
"images": [
],
"supplier": {
"id": 179
},
"price": "10.0"
},
{
"id": 347,
"name": "Chardonnay",
"permalink": "chardonnay",
"on_demand": false,
"group_buy": null,
"notes": null,
"description": "",
"properties_with_values": [
-
+ {
+ "id": 6,
+ "name": "Free Range",
+ "value": ""
+ }
],
"variants": [
{
"id": 942,
"is_master": false,
"count_on_hand": 1,
"name_to_display": "Chardonnay",
"unit_to_display": "750mL",
"options_text": "750mL",
"on_demand": false,
"price": "3.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "5.0",
"product_name": "Chardonnay"
}
],
"master": null,
"primary_taxon": {
"id": 64,
"name": "Drinks",
"permalink": "products/drinks",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925"
},
"taxons": [
{
"id": 64
}
],
"images": [
],
"supplier": {
"id": 179
},
"price": "10.0"
},
{
"id": 346,
"name": "Grapefruit Juice",
"permalink": "grapefruit-juice",
"on_demand": false,
"group_buy": true,
"notes": "",
"description": "Grapefruit Juice",
"properties_with_values": [
{
"id": 3,
"name": "Organic - not certified",
"value": "We only use organic inputs."
},
{
"id": 15,
"name": "No Preservatives",
"value": "No peservatives or poison"
},
{
"id": 11,
"name": "Locally Grown",
"value": "So local"
},
{
"id": 13,
"name": "Naturally Ripened",
"value": "Natural so natural"
}
],
"variants": [
{
"id": 939,
"is_master": false,
"count_on_hand": 51,
"name_to_display": "Yellow Grapefruit Juice",
"unit_to_display": "1L",
"options_text": "1L",
"on_demand": false,
"price": "6.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "8.0",
"product_name": "Grapefruit Juice"
},
{
"id": 940,
"is_master": false,
"count_on_hand": 50,
"name_to_display": "Pink Grapefruit Juice",
"unit_to_display": "1L",
"options_text": "1L",
"on_demand": false,
"price": "6.5",
"fees": {
"sales": "2.0"
},
"price_with_fees": "8.5",
"product_name": "Grapefruit Juice"
}
],
"master": null,
"primary_taxon": {
"id": 64,
"name": "Drinks",
"permalink": "products/drinks",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925"
},
"taxons": [
{
"id": 64
}
],
"images": [
],
"supplier": {
"id": 146
},
"price": "6.0"
},
{
"id": 312,
"name": "Green Capsicum",
"permalink": "green-capsicum",
"on_demand": false,
"group_buy": null,
"notes": null,
"description": "",
"properties_with_values": [
],
"variants": [
{
"id": 771,
"is_master": false,
"count_on_hand": 873,
"name_to_display": "Green Capsicum",
"unit_to_display": "1kg",
"options_text": "1kg",
"on_demand": false,
"price": "10.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "12.0",
"product_name": "Green Capsicum"
}
],
"master": null,
"primary_taxon": {
"id": 57,
"name": "Vegetables",
"permalink": "products/vegetables",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/57/original/taxons_vegetables.svg?1402988822"
},
"taxons": [
{
"id": 57
}
],
"images": [
],
"supplier": {
"id": 145
},
"price": "10.0"
},
{
"id": 275,
"name": "Leek",
"permalink": "leek-1",
"on_demand": false,
"group_buy": null,
"notes": null,
"description": "",
"properties_with_values": [
],
"variants": [
{
"id": 845,
"is_master": false,
"count_on_hand": 6,
"name_to_display": "Leek",
"unit_to_display": "1 Leek",
"options_text": "1 Leek",
"on_demand": false,
"price": "1.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "3.0",
"product_name": "Leek"
}
],
"master": null,
"primary_taxon": {
"id": 57,
"name": "Vegetables",
"permalink": "products/vegetables",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/57/original/taxons_vegetables.svg?1402988822"
},
"taxons": [
{
"id": 57
}
],
"images": [
{
"id": 191,
"alt": null,
"small_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/191/small/leek.jpg",
"large_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/191/large/leek.jpg"
}
],
"supplier": {
"id": 145
},
"price": "1.0"
},
{
"id": 271,
"name": "Mandarins Juicy",
"permalink": "mandarins",
"on_demand": false,
"group_buy": false,
"notes": "",
"description": "Juicy",
"properties_with_values": [
{
"id": 3,
"name": "Organic - not certified",
"value": "We only use organic inputs."
},
{
"id": 15,
"name": "No Preservatives",
"value": "No peservatives or poison"
},
{
"id": 11,
"name": "Locally Grown",
"value": "So local"
},
{
"id": 13,
"name": "Naturally Ripened",
"value": "Natural so natural"
}
],
"variants": [
{
"id": 815,
"is_master": false,
"count_on_hand": 35,
"name_to_display": "Mandarins Juicy",
"unit_to_display": "1kg",
"options_text": "1kg",
"on_demand": false,
"price": "6.3",
"fees": {
"sales": "2.0"
},
"price_with_fees": "8.3",
"product_name": "Mandarins Juicy"
}
],
"master": null,
"primary_taxon": {
"id": 58,
"name": "Fruit",
"permalink": "products/fruit",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/58/original/taxons_fruit.svg?1402988839"
},
"taxons": [
{
"id": 58
}
],
"images": [
{
"id": 187,
"alt": null,
"small_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/187/small/mandarin.jpg",
"large_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/187/large/mandarin.jpg"
}
],
"supplier": {
"id": 146
},
"price": "6.3"
},
{
"id": 270,
"name": "Pear",
"permalink": "pear-3",
"on_demand": false,
"group_buy": true,
"notes": "",
"description": "",
"properties_with_values": [
{
"id": 7,
"name": "Regional",
"value": "Regional Pears"
}
],
"variants": [
{
"id": 644,
"is_master": false,
"count_on_hand": 15,
"name_to_display": "Pear",
"unit_to_display": "1 Box",
"options_text": "1 Box",
"on_demand": false,
"price": "15.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "17.0",
"product_name": "Pear"
}
],
"master": null,
"primary_taxon": {
"id": 58,
"name": "Fruit",
"permalink": "products/fruit",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/58/original/taxons_fruit.svg?1402988839"
},
"taxons": [
{
"id": 58
}
],
"images": [
{
"id": 186,
"alt": null,
"small_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/186/small/pear.jpg",
"large_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/186/large/pear.jpg"
}
],
"supplier": {
"id": 146
},
"price": "15.0"
},
{
"id": 371,
"name": "Pinot Noir",
"permalink": "pinot-noir",
"on_demand": false,
"group_buy": null,
"notes": null,
"description": "",
"properties_with_values": [
-
+ {
+ "id": 6,
+ "name": "Free Range",
+ "value": ""
+ }
],
"variants": [
{
"id": 985,
"is_master": false,
"count_on_hand": 2,
"name_to_display": "Pinot Noir",
"unit_to_display": "750mL",
"options_text": "750mL",
"on_demand": false,
"price": "3.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "5.0",
"product_name": "Pinot Noir"
},
{
"id": 991,
"is_master": false,
"count_on_hand": 10,
"name_to_display": "Tiny Pinot Noir",
"unit_to_display": "750mL",
"options_text": "750mL",
"on_demand": false,
"price": "6.5",
"fees": {
"sales": "2.0"
},
"price_with_fees": "8.5",
"product_name": "Pinot Noir"
}
],
"master": null,
"primary_taxon": {
"id": 64,
"name": "Drinks",
"permalink": "products/drinks",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925"
},
"taxons": [
{
"id": 64
}
],
"images": [
],
"supplier": {
"id": 179
},
"price": "10.0"
},
{
"id": 374,
"name": "Scnappssss",
"permalink": "scnapps",
"on_demand": false,
"group_buy": false,
"notes": "",
"description": "",
"properties_with_values": [
{
"id": 11,
"name": "Locally Grown",
"value": ""
+ },
+ {
+ "id": 6,
+ "name": "Free Range",
+ "value": ""
}
],
"variants": [
{
"id": 993,
"is_master": false,
"count_on_hand": 60,
"name_to_display": "Scnappssss",
"unit_to_display": "750mL",
"options_text": "750mL",
"on_demand": false,
"price": "10.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "12.0",
"product_name": "Scnappssss"
}
],
"master": null,
"primary_taxon": {
"id": 59,
"name": "Dairy",
"permalink": "products/dairy",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/59/original/taxons_dairy_milk.svg?1402988858"
},
"taxons": [
{
"id": 59
},
{
"id": 61
}
],
"images": [
],
"supplier": {
"id": 179
},
"price": "10.0"
},
{
"id": 348,
"name": "Shiraz",
"permalink": "chardonnay1",
"on_demand": false,
"group_buy": false,
"notes": "",
"description": "",
"properties_with_values": [
-
+ {
+ "id": 6,
+ "name": "Free Range",
+ "value": ""
+ }
],
"variants": [
{
"id": 944,
"is_master": false,
"count_on_hand": 2,
"name_to_display": "Shiraz",
"unit_to_display": "750mL",
"options_text": "750mL",
"on_demand": false,
"price": "3.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "5.0",
"product_name": "Shiraz"
}
],
"master": null,
"primary_taxon": {
"id": 64,
"name": "Drinks",
"permalink": "products/drinks",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925"
},
"taxons": [
{
"id": 64
}
],
"images": [
],
"supplier": {
"id": 179
},
"price": "10.0"
},
{
"id": 311,
"name": "Tomatos",
"permalink": "tomatos-1",
"on_demand": false,
"group_buy": false,
"notes": "",
"description": "",
"properties_with_values": [
],
"variants": [
{
"id": 828,
"is_master": false,
"count_on_hand": 576,
"name_to_display": "Tomatos",
"unit_to_display": "1kg",
"options_text": "1kg",
"on_demand": false,
"price": "10.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "12.0",
"product_name": "Tomatos"
}
],
"master": null,
"primary_taxon": {
"id": 57,
"name": "Vegetables",
"permalink": "products/vegetables",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/57/original/taxons_vegetables.svg?1402988822"
},
"taxons": [
{
"id": 57
}
],
"images": [
],
"supplier": {
"id": 145
},
"price": "10.0"
},
{
"id": 354,
"name": "Triticale Hay",
"permalink": "triticale-hay",
"on_demand": false,
"group_buy": null,
"notes": null,
"description": "",
"properties_with_values": [
],
"variants": [
{
"id": 957,
"is_master": false,
"count_on_hand": 670,
"name_to_display": "Extra Dry Hay",
"unit_to_display": "20kg",
"options_text": "20kg",
"on_demand": false,
"price": "40.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "42.0",
"product_name": "Triticale Hay"
},
{
"id": 956,
"is_master": false,
"count_on_hand": 620,
"name_to_display": "Dry Hay",
"unit_to_display": "20kg",
"options_text": "20kg",
"on_demand": false,
"price": "40.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "42.0",
"product_name": "Triticale Hay"
}
],
"master": null,
"primary_taxon": {
"id": 65,
"name": "Specials",
"permalink": "products/specials",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/65/original/taxons_specials.svg?1402988939"
},
"taxons": [
{
"id": 65
}
],
"images": [
],
"supplier": {
"id": 177
},
"price": "40.0"
},
{
"id": 362,
"name": "Vegetable (on demand)",
"permalink": "vegetable-on-demand",
"on_demand": true,
"group_buy": null,
"notes": null,
"description": "",
"properties_with_values": [
],
"variants": [
{
"id": 973,
"is_master": false,
"count_on_hand": 0,
"name_to_display": "Vegetable (on demand)",
"unit_to_display": "1kg",
"options_text": "1kg",
"on_demand": true,
"price": "10.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "12.0",
"product_name": "Vegetable (on demand)"
}
],
"master": null,
"primary_taxon": {
"id": 65,
"name": "Specials",
"permalink": "products/specials",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/65/original/taxons_specials.svg?1402988939"
},
"taxons": [
{
"id": 65
}
],
"images": [
],
"supplier": {
"id": 145
},
"price": "10.0"
},
{
"id": 360,
"name": "Vegetable (on hand 100)",
"permalink": "vegetable-on-hand-100",
"on_demand": false,
"group_buy": null,
"notes": null,
"description": "",
"properties_with_values": [
],
"variants": [
{
"id": 969,
"is_master": false,
"count_on_hand": 99,
"name_to_display": "Vegetable (on hand 100)",
"unit_to_display": "1kg",
"options_text": "1kg",
"on_demand": false,
"price": "10.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "12.0",
"product_name": "Vegetable (on hand 100)"
}
],
"master": null,
"primary_taxon": {
"id": 63,
"name": "Prepared Meals",
"permalink": "products/prepared-meals",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/63/original/taxons_prepared-meals.svg?1402988914"
},
"taxons": [
{
"id": 63
}
],
"images": [
],
"supplier": {
"id": 145
},
"price": "10.0"
},
{
"id": 272,
"name": "Watermelon",
"permalink": "watermelon",
"on_demand": false,
"group_buy": null,
"notes": null,
"description": "",
"properties_with_values": [
{
"id": 3,
"name": "Organic - not certified",
"value": "We only use organic inputs."
},
{
"id": 15,
"name": "No Preservatives",
"value": "No peservatives or poison"
},
{
"id": 11,
"name": "Locally Grown",
"value": "So local"
},
{
"id": 13,
"name": "Naturally Ripened",
"value": "Natural so natural"
}
],
"variants": [
{
"id": 890,
"is_master": false,
"count_on_hand": 34,
"name_to_display": "Watermelon",
"unit_to_display": "1 Quarter",
"options_text": "1 Quarter",
"on_demand": false,
"price": "3.0",
"fees": {
"sales": "2.0"
},
"price_with_fees": "5.0",
"product_name": "Watermelon"
}
],
"master": null,
"primary_taxon": {
"id": 58,
"name": "Fruit",
"permalink": "products/fruit",
"icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/58/original/taxons_fruit.svg?1402988839"
},
"taxons": [
{
"id": 58
}
],
"images": [
{
"id": 188,
"alt": null,
"small_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/188/small/watermelon.jpg",
"large_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/188/large/watermelon.jpg"
}
],
"supplier": {
"id": 146
},
"price": "3.0"
}
]
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment