local.json
madnazz opened this issue · comments
Hi
Can you explain how you modify the local.json file with the Shopware 6 Api Credentials?
an example would be great!
Thanks
DivanteLTD help me out! Here the answer....
"shopware": { // new section should be added as well
"url": "http://localhost:8000/", // shopware url
"imgUrl": "", // ignore this line
"assetPath": "", // ignore this line
"magentoUserName": "", // ignore this line
"magentoUserPassword": "", // ignore this line
"httpUserName": "", // ignore this line
"httpUserPassword": "", // ignore this line
"api": {
"url": "http://localhost:8000/sales-channel-api/v1", // sales-channel-api url with version, default one is /sales-channel-api/v1
"accessToken": "SWSCMZBSBUQZBMFNNELJZTRJVQ" // taken from API access key section, generated in sales channel settings (backend)
}
},
Thanks to Divante Dev and Support Team