API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Getting started with Python

We have a webshop that I wrote in Python with Google App Engine and I want to get started synchronizing the orders with e-conomic but I don't know how to get started. I understand it's a SOAP request or similar but where can I find information how to make the request? The link to the documentation looks like nothing I can use, only PHP, Java and .NET methods while I use Python. But it should work, so how?
created Feb 27, 2012 by niklas
0% Accept Rate
Q 2 A 1 C 0

3 Answers


Have a look at https//wwwe-conomiccom/secure/api1/EconomicWebServiceasmx - here, you've got all available methods, and can drill down to each method's input and output specifications.

Best regards,
answered Feb 28, 2012 by Christian Estrup
Thanks for the link. I understand that's all the method I can use once I am connected. But how to get connected using python? I can use a library called suds for a SOAP client and then it seems I can connect to my e-conomic account from python like this

 from sudsclient import Client
 c = Client('https//wwwe-conomiccom/secure/api1/EconomicWebServiceasmx?WSDL')
 cserviceConnect(350413, 'Ana', 'vu******')

Now I want to create an order in e-conomic for every order that is paid from my webshop. Please tell me more how it should be done if you can.

answered Feb 28, 2012 by niklas
I use E-conomic webservice in my application using SOAP in python
I successfully create client  connect to my e-conomic account.
I successfully create debtor using Debtor_Create() method, but problem with Debtor_CreateFromData() method in python, it gives error as Debtor group may not null.
Can anybody tell me why this problem occurs?
I call this method as follows:
response = client.service.Debtor_CreateFromData({'Number':'103','Number':'103','Number':1,'Name':'Test1','VatZone':'HomeCountry','Number':'','IsAccessible':1,'Ean':'','PublicEntryNumber':'','Email':'myemailgmail.com','City':'Oslo','Country':'Norway','CreditMaximum':500,'VatNumber':'','Balance':500})

answered May 22, 2012 by Madhu
Visma e-conomic A/S