I developed a web application that uses the Shopify API a while back, it's been running without a problem for about 2 months now, until this week when an error started to occur.
We are trying to update an orders fulfilment using an API call in PHP.
In PHP we POST to the following: http://www.the-web-shop-like-this.com/admin/orders/0123456789/fulfillments.json
We POST the following variable: $fulfillment_update
The variable is set like so:
$fulfillment_update = "
'fulfillment': {
'tracking_number': '',
'notify_customer': true
}";
POST'ing the blank tracking_number was to force the shopify system into generating the fulfilment email and for marking that order as fulfilled - no tracking number is ever added and notify_customer is always set to true.
Shopify API comes back (since the weekend) saying: 'Unprocessable Entity'.
Any ideas Ladies & Gents?
Thanks in advance!