Shopify-api-node icon indicating copy to clipboard operation
Shopify-api-node copied to clipboard

Get events list of a specific order

Open dheeraj-rn opened this issue 5 years ago • 4 comments

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

dheeraj-rn avatar Jan 03 '20 12:01 dheeraj-rn

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.

huy-qn avatar Jan 16 '20 01:01 huy-qn

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?

dheeraj-rn avatar Jan 21 '20 08:01 dheeraj-rn

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])

LukasGirsch avatar Oct 22 '20 13:10 LukasGirsch

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

napter avatar May 18 '21 20:05 napter