Skip to content

graphGl v2#350

Merged
KrzysztofBrylskiSoftware merged 1 commit intomasterfrom
feature/27102-graphql-2
Aug 27, 2025
Merged

graphGl v2#350
KrzysztofBrylskiSoftware merged 1 commit intomasterfrom
feature/27102-graphql-2

Conversation

@KarolNet
Copy link
Copy Markdown
Member

New documentation page for new graphql endpoints vs2.
Old documentation has been marked as legacy.

@KrzysztofBrylskiSoftware KrzysztofBrylskiSoftware merged commit 270eadb into master Aug 27, 2025
3 checks passed
@KrzysztofBrylskiSoftware KrzysztofBrylskiSoftware deleted the feature/27102-graphql-2 branch August 27, 2025 12:16
Comment thread docs/API/graph-ql.md
--header 'X-AUTH-TOKEN: YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"{ products(field: \"title\", value: \"Green Tea\") { id title } }"}'
--data-raw '{"query":"{ products(field: \"title\", value: \"Green Tea\") { id title }}"}'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be 'product' instead of 'products', and requested fields should be with edges and node, don't they? The response also appears to be incorrect.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Comment thread docs/API/graph-ql.md
```graphql
query {
productsList(limit: 2, order_by: "title", order_direction: "asc") {
productsList(first: 2, order_by: "name", order_direction: "asc") {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be 'product' instead of 'productsList'?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants