The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
Thread Tools Display Modes
Old 02-11-2015, 08:31 AM
Mark Woodrow Erlsten's Avatar
Mark Woodrow Erlsten is offline
Join Date: Dec 2014
Posts: 2

About Javascript/php with product API


Please help,

I have nc-cms based website.
show all products based on category(each category is a page, i have two categories)
Here need products list based on category id , so purchased account for products API .

But i didn't understand how to use API calls in javascript of php.
Please give me sample code for API usage in javascript or PHP

I am in hurry , please help me....

Thanks in advance
Old 02-12-2015, 04:47 PM
Clara K's Avatar
Clara K Clara K is offline
Ecwid Team
Join Date: Nov 2014
Posts: 655

Dear Mark,

Thanks a lot for contacting us!

Could you please describe in more details what result you would like to get with the help of API?

If the thing you need can be done with the help Ecwid API, it would require advanced custom programming, you can develop the necessary script yourself yourself or hire a programmer. For information about Ecwid API, please check here:

If you want to show different categories on different pages of your site, it is totally possible to do it without using API. You just need to set the default categories for these pages, i.e. the categories that are shown to a user when they open the page. Please refer to the article from our Help Center for detailed instructions:

Please let us know if you need further assistance, we will be very glad to help you.

Thank you!
Ecwid Customer Care Team

Help Center

⬇ Please click Thanks if my reply helped you.

Last edited by Vitaliy G; 01-04-2016 at 12:21 PM.
Old 02-23-2015, 07:40 PM
Scott Fennell's Avatar
Scott Fennell Scott Fennell is offline
Join Date: Jan 2015
Posts: 38

Hey Mark, you can check out some of the code in my WordPress plugin for php examples:

For example, I have a class in a file called


That class does exactly one thing: Call ecwid. It uses the WP HTTP API but you could substitute that with curl or whatever library you might be using to make remote calls.

I'm actually hoping to get some peer review on this. Take a look!
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

javascript api, php calls

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:30 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.