Simple Ubecart REST API


A module for drupal 6 that opens a minimal REST API.

It's easy to extend and very useful to integrate Ubecart with non-drupal applications (like Flash applications).

The module is quite simple and by default only supports one command: "buy" which adds a set of items to the cart and redirects to the checkout page.

Example Call:,18&quantity=2,2

In order to add new commands just modify the file uc_pagosonline.module, by adding new cases in the "uc_rest_api_call_page" function.

If you have new interesting commands please post them as comments...

Compressed Zip File - Uncompress to your modules folder1.05 KB
TR's picture
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3284
Why? Cart links does the


Cart links does the exact same thing as described above, and more complex REST services can be accomplished using Services and uc_services.