Created
November 12, 2018 13:19
-
-
Save naydav/cbdf130dbb92c218919b9d2f2ffd6942 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
products (search: "simple") { | |
total_count | |
items { | |
... on PhysicalProductInterface { | |
weight | |
} | |
attribute_set_id | |
categories | |
{ | |
id | |
position | |
} | |
country_of_manufacture | |
created_at | |
gift_message_available | |
id | |
image | |
{ | |
url | |
label | |
} | |
meta_description | |
meta_keyword | |
meta_title | |
media_gallery_entries | |
{ | |
disabled | |
file | |
id | |
label | |
media_type | |
position | |
types | |
content | |
{ | |
base64_encoded_data | |
type | |
name | |
} | |
video_content | |
{ | |
media_type | |
video_description | |
video_metadata | |
video_provider | |
video_title | |
video_url | |
} | |
} | |
name | |
new_from_date | |
new_to_date | |
options_container | |
... on CustomizableProductInterface { | |
options | |
{ | |
title | |
required | |
sort_order | |
} | |
} | |
price { | |
minimalPrice { | |
amount { | |
value | |
currency | |
} | |
adjustments { | |
amount { | |
value | |
currency | |
} | |
code | |
description | |
} | |
} | |
maximalPrice { | |
amount { | |
value | |
currency | |
} | |
adjustments { | |
amount { | |
value | |
currency | |
} | |
code | |
description | |
} | |
} | |
regularPrice { | |
amount { | |
value | |
currency | |
} | |
adjustments { | |
amount { | |
value | |
currency | |
} | |
code | |
description | |
} | |
} | |
} | |
product_links | |
{ | |
link_type | |
linked_product_sku | |
linked_product_type | |
position | |
sku | |
} | |
sku | |
small_image | |
{ | |
url | |
label | |
} | |
special_from_date | |
special_price | |
special_to_date | |
swatch_image | |
thumbnail | |
{ | |
url | |
label | |
} | |
tier_price | |
tier_prices | |
{ | |
customer_group_id | |
percentage_value | |
qty | |
value | |
website_id | |
} | |
type_id | |
updated_at | |
url_key | |
url_path | |
websites { id name code sort_order default_group_id is_default } | |
... on ConfigurableProduct { | |
configurable_options { | |
id | |
attribute_id | |
label | |
position | |
use_default | |
attribute_code | |
values { | |
value_index | |
label | |
store_label | |
default_label | |
use_default_value | |
} | |
product_id | |
} | |
variants { | |
product { | |
... on PhysicalProductInterface { | |
weight | |
} | |
sku | |
color | |
attribute_set_id | |
categories | |
{ | |
id | |
position | |
} | |
country_of_manufacture | |
created_at | |
gift_message_available | |
id | |
image | |
{ | |
url | |
label | |
} | |
meta_description | |
meta_keyword | |
meta_title | |
media_gallery_entries | |
{ | |
disabled | |
file | |
id | |
label | |
media_type | |
position | |
types | |
content | |
{ | |
base64_encoded_data | |
type | |
name | |
} | |
video_content | |
{ | |
media_type | |
video_description | |
video_metadata | |
video_provider | |
video_title | |
video_url | |
} | |
} | |
name | |
new_from_date | |
new_to_date | |
options_container | |
... on CustomizableProductInterface { | |
options | |
{ | |
title | |
required | |
sort_order | |
} | |
} | |
price { | |
minimalPrice { | |
amount { | |
value | |
currency | |
} | |
adjustments { | |
amount { | |
value | |
currency | |
} | |
code | |
description | |
} | |
} | |
maximalPrice { | |
amount { | |
value | |
currency | |
} | |
adjustments { | |
amount { | |
value | |
currency | |
} | |
code | |
description | |
} | |
} | |
regularPrice { | |
amount { | |
value | |
currency | |
} | |
adjustments { | |
amount { | |
value | |
currency | |
} | |
code | |
description | |
} | |
} | |
} | |
product_links | |
{ | |
link_type | |
linked_product_sku | |
linked_product_type | |
position | |
sku | |
} | |
sku | |
small_image | |
{ | |
url | |
label | |
} | |
special_from_date | |
special_price | |
special_to_date | |
swatch_image | |
thumbnail | |
{ | |
url | |
label | |
} | |
tier_price | |
tier_prices | |
{ | |
customer_group_id | |
percentage_value | |
qty | |
value | |
website_id | |
} | |
type_id | |
updated_at | |
url_key | |
url_path | |
websites { id name code sort_order default_group_id is_default } | |
} | |
attributes { | |
label | |
code | |
value_index | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment