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)
@fulfillment.save
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.
Subject | Author | Posted |
---|---|---|
2 hours ago | ||
3 hours ago | ||
6 hours ago | ||
6 hours ago | ||
6 hours ago |
User | Count |
---|---|
259 | |
165 | |
137 | |
67 | |
39 |