Skip to content

Change scopes during the OAuth handshake #93

Open
@W3b3r

Description

@W3b3r

Hi,

i need to change the scopes that was set at the installation of the app.
See the last message
https://community.shopify.com/c/Shopify-APIs-SDKs/How-to-add-scope-for-already-exitsing-APP-in-Shopify-iam-getting/m-p/321533

I want to know if the correct code for change access scopes is:
$config = array('ShopUrl' => $shopurl, 'AccessToken' => $access_token, 'scopes' => 'read_products,write_products,read_product_listings,write_product_listings,read_orders,write_orders,read_fulfillments,write_fulfillments,read_shipping, write_shipping,read_script_tags,write_script_tags' ); PHPShopify\ShopifySDK::config($config); $shopify = new PHPShopify\ShopifySDK;

Thanks in advace
Best

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions