You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are closing this issue because it has been inactive for a few months.
This probably means that it is not reproducible or it has been fixed in a newer version.
If it’s an enhancement and hasn’t been taken on since it was submitted, then it seems other issues have taken priority.
If you still encounter this issue with the latest stable version, please reopen using the issue template. You can also contribute directly by submitting a pull request– see the CONTRIBUTING.md file for guidelines
Issue summary
Write a short description of the issue here ↓
ShopifyAPI::AssignedFulfillmentOrder.all
will always return an empty array.Expected behavior
What do you think should happen?
It should return an array of
FulfillmentOrder
objectsActual behavior
What actually happens?
The REST API response of assigned_fulfillment_orders.json look like this:
Base.create_instances_from_response
then tries to create objects from the key of the response which is "fulfillment_orders":https://github.com/Shopify/shopify-api-ruby/blob/main/lib/shopify_api/rest/base.rb#L208
However it's not able to do this because there is a naming mismatch between
AssignedFulfillmentOrder
and "fulfillment_orders"Steps to reproduce the problem
Specifications
shopify_api
version: 10.1.02022-04
):The text was updated successfully, but these errors were encountered: