API Methods

From Developer's API

(Difference between revisions)
(Products Methods)
(Orders Methods)
Line 30: Line 30:
  
 
===Orders Methods===
 
===Orders Methods===
:[[List Orders]]
+
:[https://www.mcssl.com/API/118303/Orders/LIST?key=0&doc=1 List Orders]
:[[Count Orders]]
+
:[https://www.mcssl.com/API/118303/Orders/COUNT?key=0&doc=1 Count Orders]
:[[Read Order]]
+
:[https://www.mcssl.com/API/118303/Orders/READ?key=0&doc=1 Read Order]
  
 
===Errors Methods===
 
===Errors Methods===

Revision as of 18:03, 26 May 2008

Calling an API method is done by making a request to a method URI

API Methods are of the form https://{host}/API/{MerchantId}[/{TableName}[/{ItemId}][/{Command}]]

Contents

Examples

https://localhost/API/32012 Returns a list of Group Level methods available to merchant 32012
https://localhost/API/32012/Products Returns a list Product related methods
https://localhost/API/32012/Products/LIST Returns a LIST of Products
https://localhost/API/32012/Products/173457882/READ Returns Product details for ProductId 173457882


Clients Methods

List Clients
Read Client

Products Methods

List Products
Read Product

Orders Methods

List Orders
Count Orders
Read Order

Errors Methods

API Error Codes

API Method Parameters Matrix

List Clients List Products List Orders List Errors
Limit Count -
Limit Offset -
Sort Column 1 - 2 -
Sort Order - -
Limit Start Date - - -
Limit End Date - - -
1 FirstName, LastName
2 GrandTotal