API plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hello,

I downloaded the plugin and installed in nopCommerce (or I hope so at least). I have seen it, it is on the server - the local host itself, you also can see the screenshot -> http://prntscr.com/h1prsy.

But I don't know what and how I need to configure to connect it with my loyalty and promotion platform, for example to retrieve/modify/delete any information about the Customers and Orders? I didn't see any other step to make the connection between nopCommerce and my platform. Can someone help me what's next?

With Kind regards!
6 years ago
Step:
1.Install API Plugin and Enable API in within the Setting menu page.
2.Click the Clients menu and create client id and client secret,do not forget configure the callback url(it is your web platform,you can see the api sample application) and enable this client.
3.In your program, you can use the client id and client secret to connect nop site,In the process, the api server will validated your identity. if all is well you can get the token and use it to get the source what you want. The api source url and parameter you can check the api route in the api plugin.
6 years ago
Allens wrote:
Step:
1.Install API Plugin and Enable API in within the Setting menu page.
2.Click the Clients menu and create client id and client secret,do not forget configure the callback url(it is your web platform,you can see the api sample application) and enable this client.
3.In your program, you can use the client id and client secret to connect nop site,In the process, the api server will validated your identity. if all is well you can get the token and use it to get the source what you want. The api source url and parameter you can check the api route in the api plugin.


Hello, thank you for your fast reply.
The problem is, I don't have a web platform and I think I can't get and pass the URL. Here, you can see from this screenshot -> http://prntscr.com/h1quy5, how basically the platform itself is structured and connected to the shops.
For example, I want to retrieve the data from my platforms about the Customers or Orders (does not matter indeed) and then pass it with this API plugin to NopCommerce, but no idea how to do it.
6 years ago
pokata_55 wrote:
Step:
1.Install API Plugin and Enable API in within the Setting menu page.
2.Click the Clients menu and create client id and client secret,do not forget configure the callback url(it is your web platform,you can see the api sample application) and enable this client.
3.In your program, you can use the client id and client secret to connect nop site,In the process, the api server will validated your identity. if all is well you can get the token and use it to get the source what you want. The api source url and parameter you can check the api route in the api plugin.

Hello, thank you for your fast reply.
The problem is, I don't have a web platform and I think I can't get and pass the URL. Here, you can see from this screenshot -> http://prntscr.com/h1quy5, how basically the platform itself is structured and connected to the shops.
For example, I want to retrieve the data from my platforms about the Customers or Orders (does not matter indeed) and then pass it with this API plugin to NopCommerce, but no idea how to do it.


Oh, i think the api plugin can't give what you need. Because plugin use the OAuth2.0 Authorization_Code pattern, but you can change it to OAuth2.0 Password pattern to solved your problem.
6 years ago
Allens wrote:
Step:
1.Install API Plugin and Enable API in within the Setting menu page.
2.Click the Clients menu and create client id and client secret,do not forget configure the callback url(it is your web platform,you can see the api sample application) and enable this client.
3.In your program, you can use the client id and client secret to connect nop site,In the process, the api server will validated your identity. if all is well you can get the token and use it to get the source what you want. The api source url and parameter you can check the api route in the api plugin.

Hello, thank you for your fast reply.
The problem is, I don't have a web platform and I think I can't get and pass the URL. Here, you can see from this screenshot -> http://prntscr.com/h1quy5, how basically the platform itself is structured and connected to the shops.
For example, I want to retrieve the data from my platforms about the Customers or Orders (does not matter indeed) and then pass it with this API plugin to NopCommerce, but no idea how to do it.

Oh, i think the api plugin can't give what you need. Because plugin use the OAuth2.0 Authorization_Code pattern, but you can change it to OAuth2.0 Password pattern to solved your problem.


If I change that, can it works for my goal or there is no chance for that.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.