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.
Comments
Thank you so much for the info, iI'll check it
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
To create a new cart, do a POST using application/x-www-form-urlencoded to rest/cart.json, for example:
POST
application/x-www-form-urlencoded
http://example.com/rest/cart.json
[/codefilter_code]