bigcommerce-api-php icon indicating copy to clipboard operation
bigcommerce-api-php copied to clipboard

insert script using script API

Open kdLumino opened this issue 6 years ago • 2 comments

Expected behavior

i want to insert script when app is install

Actual behavior

app will install successfully but when am try to insert script it will shoe 403 error am follow this way https://developer-beta.bigcommerce.com/api-reference/content/content-scripts-api/scripts/getscripts

https://prnt.sc/lcnhn2

Steps to reproduce behavior

is there any another way to insert script in big-commerce using app??

kdLumino avatar Oct 31 '18 11:10 kdLumino

Which scopes do you have enabled? You'll need the modify content scope at minimum, and modify checkout content if your script placement is on the checkout page.

karen-white avatar Oct 31 '18 19:10 karen-white

Hey,

Either there could be a permission scope concern or verify your OAuth token(and other creds) by calling any other API first.

VishalRKumar avatar Aug 16 '21 14:08 VishalRKumar