I have code that previously worked started breaking on Aug 28th.
I stared at it for a long time and could not figure out what is wrong. Has the API changed recently?
Here is my sample code.
@fulfillment = ShopifyAPI::Fulfillment.new(order_id: order_id)
Received exception when saving,
ERROR ActiveResource::BadRequest: Failed. Response code = 400. Response message = Bad Request.
Using ruby-1.9.3 with shopify_api gem 3.0.3
I did a few experiments and it seems the API has changed. It used to be if you do not pass the line items to the fulfillment API, it will just fulfill everything for that order. Now it seems the line items have to be explicitly passed in in order to fulfill an order.
|54 seconds ago|