“notify_customer”:true parameter is not working using update tracking API or Fulfillment API. After use this parameter customer not received shipment notification mail , I verified in shopify notification, email setup is working fine.
Topic summary
Issue: Shipment notification emails were not sent when updating fulfillment tracking via the Fulfillment API (GraphQL). The requester confirmed Shopify notification settings are working.
Technical details: Using the fulfillmentCreateV2 mutation with FulfillmentV2Input, including multiple tracking numbers/URLs (trackingInfo.numbers and trackingInfo.urls). Error received: “notify_customer” is not defined on FulfillmentV2Input.
Root cause and fix: In GraphQL, the correct field is camelCase. Use notifyCustomer instead of notify_customer. This aligns with the FulfillmentV2Input schema.
Status: The suggested fix was provided; the original poster has not yet confirmed resolution. A second participant reported customers not receiving any email notifications and shared a screenshot (image provided, details not discussed), with no follow-up yet.
Notes:
- GraphQL is the API query language used here; FulfillmentV2Input is the input type for fulfillmentCreateV2.
- The conversation centers on enabling customer notification when creating fulfillments with multiple tracking entries.
Outcome: Partially addressed. The likely solution is using notifyCustomer. Confirmation and the second user’s issue remain open.
Hey @arnab1
Can you provide example app/store/order details? (DM is fine).
Hi,
I am using graphql for multiple tracking id and url update for fulfillments, but i am unable to send
“notify_customer”:true, but its showing error in post man
"
“message”: “Variable $fulfillment of type FulfillmentV2Input! was provided invalid value for notify_customer (Field is not defined on FulfillmentV2Input)”,
"
Thanks. Can you show me the exact query + variables you’re using?
Hi , I am using graphql for multiple tracking id added on fulfillment
Here is the below query and variable i am using
{
“query”: “mutation fulfillmentCreateV2($fulfillment: FulfillmentV2Input!) { fulfillmentCreateV2(fulfillment: $fulfillment) { fulfillment { id status trackingInfo(first: 10) { company number url } } userErrors { field message } } }”,
“variables”: {
“fulfillment”: {
“lineItemsByFulfillmentOrder”: {
“fulfillmentOrderId”: “gid://shopify/FulfillmentOrder/147856320601405”
},
“notify_customer”:true,
“trackingInfo”: {
“numbers”: [
“4785666”,
“47851256”
],
“urls”: [
“https://www.ups.com”,
“http://www.google.com”
]
}
}
}
}
Thanks. You’ll want to use notifyCustomer instead of notify_customer.
