Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How do you NOT send a gift card upon fulfillment

How do you NOT send a gift card upon fulfillment

thelimit
Shopify Partner
2 0 0

Is there are way to not send a gift card email to the customer when an order has been fulfilled?  Using the admin GraphQL API, I hoped that setting "notifyCustomer" to false would do the trick, but that doesn't work.

 

Mutation:

 

mutation FulfillOrder($fulfillment: FulfillmentV2Input!) {
fulfillmentCreateV2(fulfillment: $fulfillment, message: "Automated fulfillment") {
fulfillment {
id
status
}
}
}

 Variables:

{
"fulfillment": {
"notifyCustomer": false,
"lineItemsByFulfillmentOrder": {
"fulfillmentOrderId": "<MY_FULFILLMENT_ORDER_ID>"
}
}
}  

I know this is a weird request; any help would be most appreciated!

Reply 1 (1)

GrackleBird
Shopify Partner
13 1 3

Hi @thelimit , were you able to figure out a way to disable the gift card confirmation email? We would lke to do the same, but don't see an obvious way to do it. Thanks!