Price rule API out of scope error.

Ramanjot
New Member
1 0 0

When I run price rule API I get 403 status error code and following response:
{

    "errors""[API] This action requires merchant approval for read_price_rules scope."
}
Can anybody tell how to fix this.
0 Likes
_JCC_
Shopify Staff
Shopify Staff
145 20 26

Hey @Ramanjot 

Is this in the context of a public app. If so you would need to ask the merchant to approve the additional scope. If in the context of a private app, the scope can be granted in the Shopify admin.

Regards,
John

John C | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes