Development discussions around Shopify APIs
Is there a GraphQL query to get the carrier name and URL from tracking number? I know tracking information is returned with the fulfillmentCreateV2 mutation, but I want to be able to query for this instead.
Thanks,
Pablo
You get the carrier name and tracking number from your third-party, usually. If you mean, you want to query an existing fulfillment and get the carrier name and tracking number assigned to it, then that is not a mutation, but instead, you get the value by providing the ID of the fulfillment you are interested in. A quick scan shows fulfillmenttrackinginfo when you get a fulfillment.
So if all you have is a tracking number, you're out of luck. You need the order, to get the fulfillments, and then match your tracking number to one of those results.
User | RANK |
---|---|
43 | |
16 | |
9 | |
9 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023