Skip to content

Commit

Permalink
docs: Fix code example (#3135)
Browse files Browse the repository at this point in the history
Remove Coupon Code doesn't give ErrorResult 
it only return type of Order
  • Loading branch information
inderjotx authored Oct 17, 2024
1 parent dcb5d36 commit 7f31cda
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/docs/guides/storefront/active-order/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@ To remove a coupon code from the active order, we use the [`removeCouponCode` mu
mutation RemoveCouponCode($couponCode: String!) {
removeCouponCode(couponCode: $couponCode) {
...ActiveOrder
... on ErrorResult {
errorCode
message
}
}
}
```
Expand Down

0 comments on commit 7f31cda

Please sign in to comment.