Skip to content

Commit

Permalink
Merge branch 'pr24' into b-6.5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieg committed May 6, 2022
2 parents 9c8cfb0 + 6f1ebfd commit 5b7b0f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-v6.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed a link to documentation in troubleshooting section [PR-22](https://github.com/OXID-eSales/graphql-base-module/pull/22)
- Improved modules installation instructions [PR-23](https://github.com/OXID-eSales/graphql-base-module/pull/23)
- Missmatch in checkout documentation [PR-24](https://github.com/OXID-eSales/graphql-base-module/pull/24)

### Changed
- Update GraphQLite version to v5
Expand Down
10 changes: 5 additions & 5 deletions docs/consuming/PlaceOrder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ JWT in Authorization header for any of the following queries or mutations.

"Client (PWA)" -> "GraphQL API": basketCreate mutation
"Client (PWA)" <- "GraphQL API": Basket datatype or error
"Client (PWA)" -> "GraphQL API": basketAddProduct mutation
"Client (PWA)" -> "GraphQL API": basketAddItem mutation
"Client (PWA)" <- "GraphQL API": Basket datatype or error
"Client (PWA)" -> "GraphQL API": basketDeliveryMethods query
"Client (PWA)" <- "GraphQL API": array of DeliveryMethod data types
Expand Down Expand Up @@ -83,10 +83,10 @@ via the ``baskets`` field in the ``customer`` query.
This newly created basket is empty, so let's add a product to it.

.. code-block:: graphql
:caption: call to ``basketAddProduct`` mutation
:caption: call to ``basketAddItem`` mutation
mutation {
basketAddProduct(
basketAddItem(
basketId: "310e50a2b1be309b255d70462cd75507",
productId:"05848170643ab0deb9914566391c0c63",
amount: 1
Expand All @@ -102,11 +102,11 @@ This newly created basket is empty, so let's add a product to it.
}
.. code-block:: json
:caption: ``basketAddProduct`` mutation response
:caption: ``basketAddItem`` mutation response
{
"data": {
"basketAddProduct": {
"basketAddItem": {
"items": [
{
"amount": 1,
Expand Down

0 comments on commit 5b7b0f7

Please sign in to comment.