Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get events list of a specific order #329

Open
dheeraj-rn opened this issue Jan 3, 2020 · 4 comments
Open

Get events list of a specific order #329

dheeraj-rn opened this issue Jan 3, 2020 · 4 comments

Comments

@dheeraj-rn
Copy link

Hi,
In the API document i have API to get list of all events of a specific order but the same details i am not able to get in the SDK.

GET /admin/api/2020-01/orders/#{order_id}/events.json

@huy-qn
Copy link

huy-qn commented Jan 16, 2020

I think I have the same issues with products

The result I get from this request is not in the same order with the one in Shopify Admin

let collection = await Shop.product.list({ collection_id: handle, })

I tried to add sort_order key into it but it doesn't seem to work for me too.

@dheeraj-rn
Copy link
Author

dheeraj-rn commented Jan 21, 2020

I think I have the same issues with products

The result I get from this request is not in the same order with the one in Shopify Admin

let collection = await Shop.product.list({ collection_id: handle, })

I tried to add sort_order key into it but it doesn't seem to work for me too.

The output data of Shop.product.list() doesn't seem to have the key collection_id in it. Are you trying to list the products with a specific collection_id?

@LukasGirsch
Copy link

Did you solve this issue? I can't seem to use the order_id as a param in the list function.

The order_id is also not available in the event object so I think there actually is a problem in the library.

The list funtion should be list(orderID [, params]) and not list([params])

@napter
Copy link

napter commented May 18, 2021

+1 I was also looking for and did not find this functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants