fulfillments API trouble

Lukeadapt
New Member
2 0 0

I am facing an issue with the API endpoint 

orders/id/fulfillments.json

I have been over the documentation and for hours trying to figure out why I'm getting a not found response back from Shopify I think I've narrowed it down to the location ID however I think that is a lost cause too.

$data = [
'fulfillment' => [
'location_id' => locationID,
'tracking_number' => $shipment->shipmentTrackingNumber,
'tracking_urls' => $map->toArray(),
'notify_customer' => false,
'line_items' => array($orders)
]

 

That's the array getting pushed into the API all seems fine and above board to me even the correct location ID we assume this to be the origin Location ID? If someone can direct me into the right 
the way that would be fantastic. 

Thank you

0 Likes
Lukeadapt
New Member
2 0 0

Bump

0 Likes