phpfarmer Posted April 1, 2019 Posted April 1, 2019 Is there anyone who can tell me HOW TO GENERATE the API Key and Secret so that I can use the REST API, I am using the admin account but nowhere I found the api key create feature. $request = [ 'header' => [ 'apikey' => 'dein-key', 'secret' => 'dein-secret' ], 'body' => [ 'command' => 'Customers.add', 'params' => $data ] ]; Thanks in advance
d00p Posted April 1, 2019 Posted April 1, 2019 Allow API usage in settings -> log in as desired user -> drop-down menu "options" chose "Api keys" and click "add api key"
phpfarmer Posted April 1, 2019 Author Posted April 1, 2019 But it seems I dont have that menu item it is showing me only Password and Language option.
phpfarmer Posted April 1, 2019 Author Posted April 1, 2019 In settings I don\t see any option to Enable API
phpfarmer Posted April 1, 2019 Author Posted April 1, 2019 Can you let me know the page name or URL of that page? so that I can hit it manually though I don't have it in my options, I am using my admin account information for login.
d00p Posted April 1, 2019 Posted April 1, 2019 12 minutes ago, phpfarmer said: In settings I don\t see any option to Enable API Well these are the settings categories....hit settings at the right side of these to see the corresponding settings..."enable API" is under system settings.
phpfarmer Posted April 1, 2019 Author Posted April 1, 2019 vor 23 Minuten schrieb d00p: API enabled in the settings? I actually have checked all the right side settings and here is the system settings
d00p Posted April 1, 2019 Posted April 1, 2019 You sure you are using latest git-master version? 0.9.x has no API
phpfarmer Posted April 2, 2019 Author Posted April 2, 2019 I am not sure about it\s version where to find it but on auto update its saying I already have the latest version of it
d00p Posted April 2, 2019 Posted April 2, 2019 Version can be seen on the admin dashboard. And if you did not checkout from git you most likely do not have 0.10.0
phpfarmer Posted April 2, 2019 Author Posted April 2, 2019 aha ok Seems it is: Installed version: 0.9.40.1-1 (DB: 201809280) So now how can I update it? seems the auto update doesn't catching it.
d00p Posted April 2, 2019 Posted April 2, 2019 well maybe because there is no 0.10.0 release yet as it is not stable? https://github.com/Froxlor/Froxlor/wiki/Install-froxlor-from-git-sources
phpfarmer Posted April 2, 2019 Author Posted April 2, 2019 Okay Thanks for the info, Let me try if I can get it working with the version installed.
Question
phpfarmer
Is there anyone who can tell me HOW TO GENERATE the API Key and Secret so that I can use the REST API, I am using the admin account but nowhere I found the api key create feature.
$request = [ 'header' => [ 'apikey' => 'dein-key', 'secret' => 'dein-secret' ], 'body' => [ 'command' => 'Customers.add', 'params' => $data ] ];
Thanks in advance
14 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.