What's your biggest current challenge? Have your say in Community Polls along the right column.

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

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

dev-cesar
Shopify Partner
1 0 0

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

 

 

Replies 5 (5)

CharlesMoreno
Shopify Partner
22 0 14

 

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.

bguse
Shopify Partner
20 2 4

did you ever figure anything out for this?

 

CharlesMoreno
Shopify Partner
22 0 14

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!

bguse
Shopify Partner
20 2 4

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!

CharlesMoreno
Shopify Partner
22 0 14

Hi @bguse,

 

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