Shopify-api-node
Shopify-api-node copied to clipboard
Get events list of a specific order
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
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.
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_orderkey 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?
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])
+1 I was also looking for and did not find this functionality