So I started here:

I created an application in LW developer panel and have Application ID and Secret as well.
I want to get the token so I’ve sent POST data to

'Connection: keep-alive',
'Accept: application/json, text/javascript, */*; q=0.01',
'Accept-Language: en',
'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36',
'Content-Type: application/x-www-form-urlencoded; charset=UTF-8',
'Accept-Encoding: gzip, deflate’,


$postfields = array(
    'applicationId' => $ApplicationId,
    'applicationSecret' => $ApplicationSecret,
    'userId' => ‘HOW TO GET IT?'

I’m getting 
string(85) "{"Code":"-","Message":"An internal error occurred. Please contact Linnworks support”}"

What I'm doing wrong?

1 person has this question

Login to post a comment