We are working on migrating to the new fulfillmentOrder API route due to the fulfillment deprecations.
I am working with the REST API and it looks like you can only add one tracking number per fulfillment. The old create Fulfillment API supported adding more than one tracking number to a single fulfillment by using the tracking_number array.
We work with companies that could have multiple products within one sku that ship in different packages. With this new workflow we are only provided the ‘tracking_info’ attribute. This would result in us not being able to provide the end user with all applicable tracking numbers that they would need.
Example below to try to explain what I’m saying
Thanks!
old way that supported this
{
"location_id": 1234567,
"tracking_numbers": [
"1245",
"123456"
],
"line_items": [
{
"id": 1,
"qty": 1
}
]
}
new way
request 1: would succeed
{
"fulfillment": {
"tracking_info": {
"number": 1245
},
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": 1469493,
"fulfillment_order_line_items": [
{
"id": 1,
"qty": 1
}
]
}
]
}
}
request 2: would fail because line item is already fulfilled/fulfillment order is closed
{
"fulfillment": {
"tracking_info": {
"number": 123456
},
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": 1469493,
"fulfillment_order_line_items": [
{
"id": 1,
"qty": 1
}
]
}
]
}
}
