fulfillment Tracking Info Update
Requires access scope, access scope or access scope. Also: The user must have fulfill_and_ship_orders permission.
Updates tracking information for a fulfillment, including the carrier name, tracking numbers, and tracking URLs. You can provide either single or multiple tracking numbers for shipments with multiple packages.
The mutation accepts a that supports both single tracking (using number and url fields) and multi-package tracking (using numbers and urls fields). When you specify a supported carrier name, Shopify automatically generates tracking URLs for the provided tracking numbers.
You can optionally notify customers about tracking updates with the argument. When enabled, customers receive shipping update emails with tracking details and receive notifications about future updates to the fulfillment.
Learn more about enabling tracking support for fulfillment services.
Arguments
- fulfillmentId (ID!)
- notifyCustomer (Boolean)
- trackingInfoInput (FulfillmentTrackingInput!)
- Anchor to fulfillmentIdfulfillment•ID!
Id required The ID of the fulfillment.
- Anchor to notifyCustomernotify•Boolean
Customer Whether the customer will be notified of this update and future updates for the fulfillment. If this field is left blank, then notifications won't be sent to the customer when the fulfillment is updated.
- Anchor to trackingInfoInputtracking•Fulfillment
Info Input Tracking Input! required The tracking input for the mutation, including tracking URL, number, and company.
- fulfillment (Fulfillment)
- userErrors ([UserError!]!)
- Anchor to fulfillmentfulfillment•Fulfillment
The updated fulfillment with tracking information.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.