Skip to content

Instantly share code, notes, and snippets.

@UbaldoRosas

UbaldoRosas/Shopify

Created Sep 24, 2018
Embed
What would you like to do?
Shopify - Product information for email templates
{
"id":1503438176369,
"title":"Test Product Brazalete - Opción 3",
"price":"99.00",
"line_price":"99.00",
"quantity":1,
"sku":"",
"grams":0,
"properties":[
[
"color",
"color-1"
],
[
"material",
"material-2"
],
[
"notas",
"Nota"
]
],
"vendor":"JQL Store",
"requires_shipping":false,
"applied_discounts":[
],
"tax_lines":[
{
"tax_line":{
"title":"VAT",
"price":"0.00",
"rate":0.16
}
}
],
"taxable":false,
"gift_card":false,
"variant_id":14286035779697,
"variant":{
"id":14286035779697,
"product_id":1564974350449,
"title":"Opción 3",
"price":"99.00",
"sku":"",
"position":3,
"inventory_policy":"deny",
"compare_at_price":null,
"fulfillment_service":"manual",
"inventory_management":null,
"option1":"Opción 3",
"option2":null,
"option3":null,
"created_at":"2018-09-21T19:13:59-04:00",
"updated_at":"2018-09-24T13:00:43-04:00",
"taxable":false,
"barcode":"",
"grams":0,
"image_id":null,
"inventory_quantity":-3,
"weight":0.0,
"weight_unit":"kg",
"inventory_item_id":14461765582961,
"old_inventory_quantity":-3,
"requires_shipping":false
},
"url":"\/products\/test-product-brazalete?variant=14286035779697",
"product":{
"id":1564974350449,
"title":"Test Product Brazalete",
"body_html":"\u003cp class=\"p1\"\u003eLorem ipsum dolor sit amet consectetur adipiscing elit, vitae sociosqu natoque lobortis dictumst nec bibendum, risus varius felis venenatis et nam. Vivamus inceptos rhoncus ultrices id odio lectus habitasse eleifend hendrerit senectus sem tristique fringilla lacus netus, libero mauris proin lobortis egestas metus rutrum leo purus ante ridiculus ac velit.\u003c\/p\u003e",
"vendor":"JQL Store",
"product_type":"",
"created_at":"2018-09-21T19:13:59-04:00",
"handle":"test-product-brazalete",
"updated_at":"2018-09-24T12:29:50-04:00",
"published_at":"2018-09-21T12:45:10-04:00",
"template_suffix":"brazalete",
"tags":"",
"published_scope":"web",
"variants":[ ],
"options":[
{
"id":2145511407729,
"product_id":1564974350449,
"name":"Pedrería",
"position":1,
"values":[
"Opción 1",
"Opción 2",
"Opción 3"
]
}
],
"images":[
{
"id":4490648387697,
"product_id":1564974350449,
"position":1,
"created_at":"2018-09-21T19:14:00-04:00",
"updated_at":"2018-09-21T19:14:00-04:00",
"alt":null,
"width":166,
"height":124,
"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0031\/2056\/2289\/products\/screen-shot-2018-09-09-at-5-46-06-pm_2x_11b26922-1f16-45c6-a0e9-6a3837a858a1.jpg?v=1537571640",
"variant_ids":[
]
},
{
"id":4490648420465,
"product_id":1564974350449,
"position":2,
"created_at":"2018-09-21T19:14:00-04:00",
"updated_at":"2018-09-21T19:14:00-04:00",
"alt":null,
"width":249,
"height":186,
"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0031\/2056\/2289\/products\/screen-shot-2018-09-09-at-5-46-06-pm_3x_e2ed6ce1-2c1a-433e-9a2b-bf332a4e12c2.jpg?v=1537571640",
"variant_ids":[
]
},
{
"id":4490648486001,
"product_id":1564974350449,
"position":3,
"created_at":"2018-09-21T19:14:00-04:00",
"updated_at":"2018-09-21T19:14:00-04:00",
"alt":null,
"width":83,
"height":62,
"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0031\/2056\/2289\/products\/screen-shot-2018-09-09-at-5-46-06-pm_ec2424f8-22f5-4372-9431-fa8d4e75676a.jpg?v=1537571640",
"variant_ids":[
]
}
],
"image":{
"id":4490648387697,
"product_id":1564974350449,
"position":1,
"created_at":"2018-09-21T19:14:00-04:00",
"updated_at":"2018-09-21T19:14:00-04:00",
"alt":null,
"width":166,
"height":124,
"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0031\/2056\/2289\/products\/screen-shot-2018-09-09-at-5-46-06-pm_2x_11b26922-1f16-45c6-a0e9-6a3837a858a1.jpg?v=1537571640",
"variant_ids":[
]
}
},
"fulfillment":null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment