Page 1 of 1

API-ACCESS for automated EXTRACTION of PhocaCart-Data

Posted: 24 Sep 2023, 13:26
by CRM-Hero
Hello Folks, hello Jan,

I just registered and I am keen on exchanging information and understanding/improving PhocaCart.
I have studied intensively the web and this forum but could not find solutions.
Several different issues are addressed and that is why I am opening different threads.

  1. API-ACCESS for automated EXTRACTION OF PHOCA CART DATA
    1. How to access Phoca Cart Modules and Views (Databank Lists, Queries)
      • with API from an external application
    2. Especially Phoca Cart: Orders (Order List)
      • to access with API from an external application
      • most importantly: API address path
    3. Same for: Phoca Cart Customers (Customer List)
      • to access with API from an external application
      • API address path
  2. Joomla Web-Services is installed
    1. Using Postman as an API-tool, with Bearer Joomla-token
    2. Access to Joomly Components WORKS FINE
    3. Access to Joomla-Customers is also possible
    4. Example adress:
      https://Your_Web_Adress/api/index.php/v1/modules/site
Thanks in advance
Roland

Current System:
Joomla 4.3.4
PhocaCart 4.0.7

Re: API-ACCESS for automated EXTRACTION of PhocaCart-Data

Posted: 26 Sep 2023, 23:49
by Jan
Hi, Joomla uses webservices plugins for this kind of operations. For now such plugin for Phoca Cart is under development. But really no idea when it will be released:
https://github.com/PhocaCz/PhocaCartWebservicesPlugin

Jan

Re: API-ACCESS for automated EXTRACTION of PhocaCart-Data

Posted: 28 Sep 2023, 11:30
by CRM-Hero
Hi Jan,

PhocaCartWebservicesPlugin looks very interesting. I will try it in the next days and give feedback.

Best regards
Roland
Jan wrote: 26 Sep 2023, 23:49 Hi, Joomla uses webservices plugins for this kind of operations. For now such plugin for Phoca Cart is under development. But really no idea when it will be released:
https://github.com/PhocaCz/PhocaCartWebservicesPlugin
Jan

Re: API-ACCESS for automated EXTRACTION of PhocaCart-Data

Posted: 28 Sep 2023, 12:55
by Jan
Hi, it is still on start.

Re: PhocaCartWebservicesPlugin

Posted: 29 Sep 2023, 10:46
by CRM-Hero
Hi Jan,

I have installed the PhocaCart-WebService Plug-In:
  • but there is no change in what was available already before installation
    (Maybe because I had already Joomla-WebServices installed ?)
  • it shows a number of PhocaCart Modules (as before)
  • https://My_Web_Adress/api/index.php/v1/modules/site
Any advice on what the plug-in is supposed to make different ?

PS:
I am looking for a module listing/showing Customer-Orders

Regards Roland

CRM-Hero wrote: 28 Sep 2023, 11:30 Hi Jan,
PhocaCartWebservicesPlugin looks very interesting. I will try it in the next days and give feedback.
Best regards
Roland

Re: API-ACCESS for automated EXTRACTION of PhocaCart-Data

Posted: 04 Oct 2023, 00:35
by Jan
Hi, I will be in online chate with the developer on thursday so I will ask him if he already made some progress regarding this plugin.

Jan