Created
April 25, 2018 20:13
-
-
Save OlegIlyenko/70f3f245090398f2ae7bdb1211bcf8ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation UpdateDC { | |
updateDiscountCode( | |
id: "123" | |
version: 5 | |
actions: [ | |
{setName: {name: {locale: "en", value: "10% off"}}} | |
{changeIsActive: {isActive: false}} | |
] | |
) { | |
id | |
version | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment