Skip to content

Instantly share code, notes, and snippets.

@charusat09
Created December 19, 2016 08:46
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 charusat09/dcda5f7778867c9c3e4e1ab54886c056 to your computer and use it in GitHub Desktop.
Save charusat09/dcda5f7778867c9c3e4e1ab54886c056 to your computer and use it in GitHub Desktop.
BigCommerce Product response
{
"data": [
{
"id": 11,
"name": "Test",
"type": "physical",
"sku": "TEST-TEST",
"description": "<p>Awesome product</p>",
"weight": 1,
"width": 10,
"depth": 10,
"height": 10,
"price": 1.48,
"cost_price": 0,
"retail_price": 0,
"sale_price": 0,
"tax_class_id": 0,
"product_tax_code": "",
"calculated_price": 1.48,
"categories": [
23
],
"brand_id": 0,
"option_set_id": 13,
"option_set_display": "right",
"inventory_level": 0,
"inventory_warning_level": 0,
"inventory_tracking": "none",
"fixed_cost_shipping_price": 0,
"is_free_shipping": true,
"is_visible": true,
"is_featured": false,
"warranty": "",
"bin_picking_number": "",
"layout_file": "product.html",
"upc": "",
"search_keywords": "",
"availability": "available",
"availability_description": "",
"gift_wrapping_options_type": "any",
"gift_wrapping_options_list": [],
"sort_order": 0,
"condition": "New",
"is_condition_shown": false,
"order_quantity_minimum": 0,
"order_quantity_maximum": 0,
"page_title": "",
"meta_keywords": [],
"meta_description": "",
"date_created": "2016-12-15T06:36:28+00:00",
"date_modified": "2016-12-16T13:45:13+00:00",
"view_count": 6,
"preorder_release_date": null,
"preorder_message": "",
"is_preorder_only": false,
"is_price_hidden": false,
"price_hidden_label": "",
"custom_url": {
"url": "/test/",
"is_customized": false
},
"variants": [
{
"id": 87,
"product_id": 118,
"sku": "RED",
"sku_id": 130,
"price": null,
"calculated_price": 1.48,
"weight": null,
"calculated_weight": 1,
"purchasing_disabled": false,
"purchasing_disabled_message": "",
"image_url": "https://cdn6.bigcommerce.com/s-nlxse1w1bi/product_images/attribute_rule_images/10_source_1481895857.png",
"cost_price": 0,
"upc": "",
"inventory_level": 0,
"inventory_warning_level": 0,
"bin_picking_number": "",
"option_values": [
{
"id": 7,
"label": "Silver",
"option_id": 120,
"option_display_name": "Color"
}
]
}
],
"images": [
{
"id": 378,
"product_id": 118,
"is_thumbnail": false,
"sort_order": 1,
"description": "",
"image_file": "o/189/iphone-black1__87105.jpg",
"url_zoom": "https://cdn6.bigcommerce.com/s-nlxse6w1bi/products/118/images/378/iphone-black1__87105.1481895900.1280.1280.jpg?c=2",
"url_standard": "https://cdn6.bigcommerce.com/s-nlxse6w1bi/products/118/images/378/iphone-black1__87105.1481895900.500.750.jpg?c=2",
"url_thumbnail": "https://cdn6.bigcommerce.com/s-nlxse6w1bi/products/118/images/378/iphone-black1__87105.1481895900.190.285.jpg?c=2",
"url_tiny": "https://cdn6.bigcommerce.com/s-nlxse6w1bi/products/118/images/378/iphone-black1__87105.1481895900.60.90.jpg?c=2"
},
{
"id": 377,
"product_id": 118,
"is_thumbnail": true,
"sort_order": 0,
"description": "",
"image_file": "j/920/iphone-black2__30738.jpg",
"url_zoom": "https://cdn6.bigcommerce.com/s-nlxse6w1bi/products/118/images/377/iphone-black2__30738.1481895893.1280.1280.jpg?c=2",
"url_standard": "https://cdn6.bigcommerce.com/s-nlxse6w1bi/products/118/images/377/iphone-black2__30738.1481895893.500.750.jpg?c=2",
"url_thumbnail": "https://cdn6.bigcommerce.com/s-nlxse6w1bi/products/118/images/377/iphone-black2__30738.1481895893.190.285.jpg?c=2",
"url_tiny": "https://cdn6.bigcommerce.com/s-nlxse6w1bi/products/118/images/377/iphone-black2__30738.1481895893.60.90.jpg?c=2"
}
]
}
],
"meta": {
"pagination": {
"total": 2,
"count": 2,
"per_page": 50,
"current_page": 1,
"total_pages": 1,
"links": {
"current": "?include=images%2Cvariants&page=1&limit=50"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment