Hi all β
I have created and deployed a discount function following the tutorials on my development store. I followed the instructions to create the discount on my development store with the following GraphQL mutation via the GraphQL explorer.
mutation {
discountAutomaticAppCreate(automaticAppDiscount: {
title: "Volume discount",
functionId: "YOUR_FUNCTION_ID_HERE",
startsAt: "2022-06-22T00:00:00"
}) {
automaticAppDiscount {
discountId
}
userErrors {
field
message
}
}
}
I want to change the βVolume Discountβ title to something else, we may have in production basic discounts that we would like to change on a promotional basis β the code would remain but the discount title would change linked to promotions.
Is there a way to do this? I do not see anything in either the Graphql explorer or the docs.
Thanks.