Tags/topics: 
1
Answers
Vote up!
1
Vote down!

How to use Services in Drupal Commerce ?

I want to know how to use services in a drupal commerce site in order to use it as a web service in my iphone app, actually I've already used views data source module to get a JSON document of my products.However I'd like to connect my app in order to log in, create a commerce order and the most important functions of a drupal commerce site.

I've found a lot of information about services like Commerce Services resources module (https://drupal.org/project/commerce_services), which enables all I mention before, but there's no an example or information how to use it. So I hope somebody can help me I'd be really thankful.

Asked by: kratos91
on November 15, 2013

1 Answer

Vote up!
2
Vote down!

It appears this is a well documented process. The module you linked to in your question has some pretty straightforward code and a nice README.txt that can help you get started with a Commerce specific app.

Additionally here are two resources that should get you started:

https://drupal.org/node/1871498

http://tylerfrankenstein.com/code/android-app-with-drupal-7-services-pho...

Josh Miller
Answer by: Josh Miller
Posted: Nov 15, 2013

Comments

Thank you so much for the info, iI'll check it

- kratos91 on November 20, 2013

Hi joshmiller,
Can you pls give a example to create a new Cart uses some REST Client tools with: URL, JSON in request Body?. Thanks

- kunlqt on March 13, 2014