Skip to content

Commit

Permalink
updating example response for category query in graphql (magento#6695)
Browse files Browse the repository at this point in the history
  • Loading branch information
VinothKumar361 authored Feb 20, 2020
1 parent fc71a65 commit 871986d
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions src/guides/v2.3/graphql/queries/category.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,33 @@ The following query returns information about category ID `20` and four levels o
},
"children_count": "8",
"children": [
{
"id": 21,
"level": 3,
"name": "Tops",
"path": "1/2/20/21",
"children": []
},
{
"id": 22,
"level": 3,
"name": "Bottoms",
"path": "1/2/20/22",
"children": [
{
"id": 27,
"level": 4,
"name": "Pants",
"path": "1/2/20/22/27",
"children": []
},
{
"id": 28,
"level": 4,
"name": "Shorts",
"path": "1/2/20/22/28",
"children": []
}
]
},
{
"id": 21,
"level": 3,
"name": "Tops",
"path": "1/2/20/21",
"children": [
{
"id": 23,
Expand Down Expand Up @@ -120,20 +135,6 @@ The following query returns information about category ID `20` and four levels o
"name": "Bras & Tanks",
"path": "1/2/20/21/26",
"children": []
},
{
"id": 27,
"level": 4,
"name": "Pants",
"path": "1/2/20/22/27",
"children": []
},
{
"id": 28,
"level": 4,
"name": "Shorts",
"path": "1/2/20/22/28",
"children": []
}
]
}
Expand Down Expand Up @@ -162,6 +163,7 @@ The following query returns breadcrumb information about the women's `Tops` cate
category_name
category_level
category_url_key
category_url_path
}
}
}
Expand Down

0 comments on commit 871986d

Please sign in to comment.