Jump to content

How To Apply Api To Online Store


Recommended Posts

Hi, I have very limited programming abilities, but i would like to add API to my store, i have been given the details i need yet lack the knowledge to make this happen

How to use the API

1. Confirm your client process language (eg C#,PHP,or Others), we use the C# (vs2012) in the Demo.

2. Add web References in your project (VS2012), and fill in the API URL 
Link hidden: Login to view
Then head to the URL and find the service APIService, rename the Namespace Like ServiceReference, and confirm the Dialog box. 

2. CALL the API
AuthorizedCategoriesRequest ACRequest = new AuthorizedCategoriesRequest();
ACRequest.ClientId = client;
ACRequest.AccessToken = AccessToken;
var strReqCategory = Utility.SerializeXML(ACRequest);
var str = new ServiceReference1.APIServiceSoapClient().GetAuthorizedCategories(strReqCategory)
Then you can get the str 

Any advice would be most welcome

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...