If I'm reading that right, your not sending the right payload. Haven't
tried this, but looking at the docs, it looks like your payload needs
to look like this (you just have to mirror the json payload as a PHP
array):
$fullfilment = array
(
'fulfillmen' => array
(
'line_items' => array
(
'id'=>466157049
),
'tracking_number' => null
)
);
$shopify('POST', '/admin/orders/108364522/fulfillments.json', $fullfilment);
Shopify.php is optimized for just copy-pasting examples from the doc
and translating to PHP without any added abstractions to avoid
spending time dealing with errors in the abstraction (*cough* prefix
*cough* :)
--
Sandeep Shetty
Founder, Simpthings
http://simpthings.com/
http://sandeep.shetty.in/p/about.html