product_json.liquid

product_json.liquid

Quellcode

Status: 200 OK
{
"product": {
"id": {{ product.id | json }},
"timestamp": {{ product.timestamp | json }},
"handle": {{ product.handle | json }},
"title": {{ product.title | json }},
"subtitle": {{ product.subtitle | json }},
"category": {{ product.category | json }},
"type": {{ product.type | json }},
"vendor": {{ product.vendor | json }},
"weight": {{ product.weight | json }},
"description": {{ product.description | json }},
"content": {{ product.content | json }},
"price": {{ product.price | json }},
"price_extra_included": {{ product.price_extra_included | json }},
"extra_price": {{ product.price_extra | json }},
"price_min": {{ product.price_min | json }},
"price_max": {{ product.price_max | json }},
"price_varies": {{ product.price_varies | json }},
"compare_at_price": {{ product.compare_at_price | json }},
"compare_at_price_min": {{ product.compare_at_price_min | json }},
"compare_at_price_max": {{ product.compare_at_price_max | json }},
"compare_at_price_varies": {{ product.compare_at_price_varies | json }},
"featured_image": {
"image": {
"id": {{ product.featured_image.id | json }},
"content_type": {{ product.featured_image.content_type| json }},
"filename": {{ product.featured_image.filename | json }},
"height": {{ product.featured_image.height | json }},
"width": {{ product.featured_image.width | json }},
"url": {{ product.featured_image.url | json }}
}
},
"featured_image_url": {{ product.featured_image_url | json }},
"images": [
{% for image in product.images %}
{
"image": {
"id": {{ image.id | json }},
"content_type": {{ image.content_type | json }},
"filename": {{ image.filename | json }},
"height": {{ image.height | json }},
"width": {{ image.width | json }},
"url": {{ image.url | json }},
}
}{% if forloop.rindex > 1 %},{% endif %}
{% endfor %}
],
"images_count": {{ product.images_count | json }},,
"recommendations": [
{% for recommendation in product.recommendations %}
{
"recommendation": {
"id": {{ recommendation.id | json }},
"handle": {{ recommendation.handle | json }},
"url": {{ recommendation.url | json }},
"full_url": {{ recommendation.full_url | json }},
}
}{% if forloop.rindex > 1 %},{% endif %}
{% endfor %}
],
"recommendations_count": {{ product.recommendation_count | json }},
"is_recommendation": {{ product.is_recommendation | json }},
"main": {
"product": {
"id": {{ product.main.id | json }},
"handle": {{ product.main.handle | json }},
"url": {{ product.main.url | json }},
"full_url": {{ product.main.full_url | json }},
}
},
"variants": [
{% for variant in product.variants offset: 1 %}
{
"product": {
"id": {{ variant.id | json }},
"handle": {{ variant.handle | json }},
"url": {{ variant.url | json }},
"full_url": {{ variant.full_url | json }},
}
}{% if forloop.rindex > 1 %},{% endif %}
{% endfor %}
],
"variants_count": {{ product.variants_count | json }},
"is_variant": {{ product.is_variant | json }},
"considers_stock": {{ product.considers_stock | json }},
"available": {{ product.available? | json }},
"shows_stock_amount": {{ product.shows_stock_amount | json }},
"stock": {{ product.stock | json }},
"code": {{ product.code | json }},
"base_quantity_package": {{ product.base_quantify_package | json }},
"quantity": {{ product.quantity | json }},
"base_quantity_sold": {{ product.base_quantity_sold | json }},
"calculates_base": {{ product.calculates_base | json }},
"base_perform_calculation": {{ product.base_perform_calculation | json }},
"base_price": {{ product.base_price | json }},
"base_unit": {{ product.base_unit | json }},
"calculates_shipping_cost": {{ product.calculates_shipping_cost? | json }},
"shipping_types": {{ product.shipping_types | json }},
"shipping_types": [
{% for carrier in product.shipping_types %}
{
"carrier": {
"id": {{ carrier.id | json }},
"name": {{ carrier.name | json }},
"standard": {{ carrier.standard? | json }},
"price": {{ carrier.price | json }},
"estimated_delivery": {{ carrier.estimated_delivery | json }},
"order_within": {{ carrier.order_within | json }},
"delivery_countries": {{ carrier.delivery_countries | json }},
}
}{% if forloop.rindex > 1 %},{% endif %}
{% endfor %}
],
"shipping_types_count": {{ product.shipping_types_count | json }},
"minimum_shipping_cost": {{ product.minimum_shipping_cost | json }},
"new": {{ product.new? | json }},
"featured": {{ product.featured? | json }},
"new_and_featured": {{ product.new_and_featured? | json }},
"tax_rate": {{ product.tax_rate | json }},
"tax_amount": {{ product.tax_amount | json }},
"tags": [
{% for tag in product.tags %}
{
"tag": {
"id": {{ tag.id | json }},
"handle": {{ tag.handle | json }},
"name": {{ tag.name | json }},
"url": {{ tag.url | json }},
"tagged_products_count": {{ tag.tagged_products_count | json }}
}
}{% if forloop.rindex > 1 %},{% endif %}
{% endfor %}
],
"tags_count": {{ product.tags_count | json }},
"properties": [
{% for property in product.properties %}
{
"property": {
"id": {{ property.id | json }},
"handle": {{ property.handle | json }},
"name": {{ property.name | json }},
"value": {{ property.value | json }},
"hidden": {{ property.hidden? | json }}
}
}{% if forloop.rindex > 1 %},{% endif %}
{% endfor %}
],
"properties_count": {{ product.properies_count | json }},
"visible_properties_count": {{ product.visible_properties_count | json }},
"single_properties_count": {{ product.single_properties_count | json }},
"multiple_properties_count": {{ product.multiple_properties_count | json }},
"hidden_properties_count": {{ product.hidden_propeties_count | json }},
"url": {{ product.url | json }},
"full_url": {{ product.full_url | json }},
"collection": {{ product.collection | json }},
"content_title_tag": {{ product.content_title_tag | json }},
"content_meta_description": {{ product.content_meta_description | json }},
"content_meta_keywords": {{ product.content_meta_keywords | json }},
"option_01": {{ product.option_01 | json }},
"option_02": {{ product.option_02 | json }},
"option_03": {{ product.option_03 | json }}
}
}



    • Related Articles

    • collection_json.liquid

      Quellcode Status: 200 OK { "collection": { "id": {{ collection.id | json }}, "handle": {{ collection.handle | json }}, "title": {{ collection.title | json }}, "description": {{ collection.description | json }}, "url": {{ collection.url | json }}, ...
    • shop_json.liquid

      Quellcode Status: 200 OK { "shop": { "id": {{ shop.id | json }}, "handle": {{ shop.handle | json }}, "name": {{ shop.name | json }}, "logo_url": {{ shop.logo_url | json }}, "checkout_logo_url": {{ shop.checkout_logo_url | json }}, "url": {{ shop.url ...
    • article_json.liquid

      Quellcode Status: 200 OK { "article": { "id": {{ articel.id | json }}, "title": {{ articel.title | json }}, "content": {{ articel.content | json }}, "author": {{ articel.author | json }}, "blog": { "id": {{ articel.blog.id | json }}, "handle": ...
    • page_json.liquid

      Quellcode Status: 200 OK page": { id": {{ page.id | json }}, handle": {{ page.handle | json }}, title": {{ page.title | json }}, content": {{ page.content | json }}, url": {{ page.url | json }}, full_url": {{ page.full_url | json }}, option_01": ...
    • blog_json.liquid

      Quellcode Status: 200 OK { "blog": { "id": {{ blog.id | json }, "handle": {{ blog.handle | json }, "url": {{ blog.url | json }, "full_url": {{ blog.full_url | json }, "title": {{ blog.title | json }, "articles": [ {% for article in blog.articles %} { ...