Partial fulfillment returning: "Not found" error from API. when sending line_items

Hello.

Using the phpclassic shopify-sdk for php. I am trying to fulfill an order in my store.

Like the example on the website im trying to do the following.

Im trying to fulfill my order: 2935405019267 using the following data:

(
  'location_id' => 44151996547,
  'tracking_company' => 'PostNL',
  'tracking_number' => 'TESTCODE',
  'tracking_url' => 'http://postnl.nl/tracktrace/?D=NL&B=TESTCODE&P=10000SB&L=NL&T=C',
  'notify_customer' => true,
  'line_items' => 
  array (
    0 => 
    array (
      'id' => 34178788163715,
    ),
  ),
)

Where the location_id matches a location from the store., and the line_items containing an id of the product_variant ordered / fulfilled.

I’ve tried to remove 1 layer of ‘array’ on line_items but this resulted in - line_items - expected Hash to be a Array

I am sure my id’s are correct. If I leave out the line_items the fulfilment completes the entire order. I need partial fulfilment.

Hi There,

I don’t think the php classic skd supports fulfillments using the new fulfillment api. That code hasnt been updated to support all the new methods.

Cheers,

Gary