Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

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
11 0 0

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!