Ergonode docs
Search…
GraphQL API
GraphQL API
Overview
Query types
Error codes
Schema
CHANGELOG
Changelog
Breaking changes
Guides
Authentication
Basic query tutorial
Integrating data
Query examples
List of simple products with attributes
List of 50 grouped products with simple and variable products
List of all multimedia
List of product relations for a specific product
Creating simple product with mutation
Creating Grouping product with mutation
Adding child product to grouping one
Set quantity of child product
Removing child product from grouping one
Creating variable product with mutation
Adding variant to variable product
Remove variant product from variable one
Multimedia create
Change name of multimedia
Set alternative vaule for a multimedia
Multimedia delete
Powered By
GitBook
List of product relations for a specific product
In this example we're using specific product with SKU47.
For your query please use your own.
1
query productRelation {
2
product(sku: "SKU47") {
3
sku
4
__typename
5
createdAt
6
editedAt
7
attributeList {
8
totalCount
9
pageInfo {
10
hasNextPage
11
endCursor
12
}
13
edges {
14
__typename
15
node {
16
__typename
17
attribute {
18
__typename
19
code
20
}
21
valueTranslations {
22
__typename
23
language
24
... on ProductArrayAttributeValue {
25
value {
26
sku
27
}
28
}
29
}
30
}
31
}
32
}
33
}
34
}
Copied!
Previous
List of all multimedia
Next
Creating simple product with mutation
Last modified
12d ago
Copy link