Sending a Fulfillment with Multiple Tracking Numbers for the Same Order

Sending a Fulfillment with Multiple Tracking Numbers for the Same Order

RobertM
Excursionist
20 0 3

I have successfully sent an Order Fulfillment with a single tracking number and it works, however, I tried to send one with multiple tracking numbers, and it marks the order as Fulfilled, but the Order/Fulfillment record returned does not have the Tracking Numbers logged under the "tracking_numbers":[] field. 

Below is the JSON I sent, which matches what I found in the Docs.  I suspect I may not have it bracketed correctly, or possibly have things in the wrong order.   It does work for a single tracking number like this:

"tracking_info":{
"number":"781237778609"
},

Thank you for any guidance or assistance you may offer.

Robert

 

This doesn't work

{
"fulfillment":{
"line_items_by_fulfillment_order":[
{
"fulfillment_order_id":5794444957083
}
],
"notify_customer":false,
"location_id":65444443019,
"tracking_info":{
"numbers":[
"784444140560",
"784444122641"
]
},
"tracking_company":"FEDX",
"fulfillment_order_line_items":[
{
"id":11444443195291,
"quantity":1
},
{
"id":11444443228059,
"quantity":1
},
{
"id":11444443260827,
"quantity":1
},
{
"id":11444443293595,
"quantity":1
}
]
}
}

Reply 1 (1)

fscool
Visitor
1 0 0

Hello. 

 

We are experiencing the same problem as well.  Our code looks similar to yours at least in terms of the format. 

 

Shopify support has not been able to offer a solution to this problem.  It is looking more and more likely that this just isn't supported any longer using this API.