can't find marketplace_orders in access scope to get a list of order data

Hey, I’m currently trying to get order data so I can use inside of my app, that I’m using for personal use.

I have found the read_orders scope but not the marketplace_orders scope throughout the access scope docs

and the error I get is Error: connect ECONNREFUSED

So I know this error is related to the access scope

I would appreciate any help or to know if I am overlooking something in the docs

FYI: I know the orders scope works cause I can get the order count but not the order data

Access denied for refundCreate field. Required access: Any of `orders`, `marketplace_orders`, `buyer_membership_orders` access scopes

I think we’re somehow have related issue. Can’t seem to find where to set/request these missing permissions for calling refundCreate in my admin action.

did you ever figure anything out for this?

Hi @bguse ,

The documentation can sometimes be misleading. Though here’s how we solved it. You just need to add either read_orders or write_orders scope. If you’d be needing to access orders beyond the 60 days, you would be needing to to request for the read_all_orders scope in the Shopify Partners Dashboard.

I hope that helps!

1 Like

thanks! i was able to figure it out shortly after posting this. i haven’t logged on in a while to this account saw that you replied so I wanted to say thank you even though it was a few months ago. lol!

1 Like

Hi @bguse ,

Yup, it’s been awhile. Glad everything’s good on your end now!