Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the store hash key in bigcommerce #227

Open
vinaysikarwar opened this issue Aug 27, 2018 · 3 comments
Open

How to get the store hash key in bigcommerce #227

vinaysikarwar opened this issue Aug 27, 2018 · 3 comments

Comments

@vinaysikarwar
Copy link

vinaysikarwar commented Aug 27, 2018

I am not able to find the store_hash key in bigcommerce panel

Unable to get response

$response = Bigcommerce::configure(array(
'client_id' => 'fsdfsdfsdfsdf',
'auth_token' => 'used my access token',
'store_hash' => 'where to fin this value'
));

@karen-white
Copy link

If you generated your API token from the control panel, your store hash will be in the API Path on the Create API Account screen:

https://api.bigcommerce.com/stores/{{Store Hash}}/v3/

@bobbyshaw
Copy link

And if you are looking to request OAuth then it is provided by BigCommerce in the original request as "context", e.g. in Laravel

$storeHash = $request->input('context')

@VishalRKumar
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants