Skip to content

Instantly share code, notes, and snippets.

@OlegIlyenko
Last active October 25, 2019 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save OlegIlyenko/c0783869e5eaa7a6f4c84147ba06d83b to your computer and use it in GitHub Desktop.
Save OlegIlyenko/c0783869e5eaa7a6f4c84147ba06d83b to your computer and use it in GitHub Desktop.
input DiscountCodeUpdateAction {
setName: SetDiscountCodeName
setDescription: SetDiscountCodeDescription
setCartPredicate: SetDiscountCodeCartPredicate
setCustomType: SetDiscountCodeCustomType
setCustomField: SetDiscountCodeCustomField
# ...
}
input SetDiscountCodeName {
name: [LocalizedStringInput!]
}
input SetDiscountCodeDescription {
description: [LocalizedStringInput!]
}
input SetDiscountCodeCartPredicate {
cartPredicate: String
}
input SetDiscountCodeCustomType {
typeId: String
typeKey: String
type: ResourceIdentifierInput
fields: [CustomFieldInput!]
}
input SetDiscountCodeCustomField {
name: String!
value: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment