Access to service
WebService URL: https://secure.webmercs.com/erplinkservice/service.asmx
To use webservice methods you should initialize SOAP header (CredentialsHeader
) with "Email" and "Password" you get from us.
Do not set anything to "Program" field — it should contain default value "None". Do not use "Version" field too.
WebService interface
GetOrderDetails |
Returns order detail XML for one order
- orderId — Webmercs order number.
|
GetOrderList |
Returns a list of order numbers with statuses Shipped or Ordered which have not been download/imported yet |
GetOrderList1 |
Returns a list of order numbers that have not downloaded/been imported yet
- checkStatus — when true, orders with statuses Shipped or Ordered are returned, otherwise Pending, InProcess, Paid, Shipped or Ordered
|
GetOrderListByFilter |
Returns a list of order numbers matching the specified date range, options and statuses.
- fromDate — the beginning date
- toDate — the end date
- options — specifies one or a combination of conditions: OnlyNotImported (orders that are not downloaded/impoted yet), OnlyPrinted (orders that are printed), OnlyCorporate (corporate and government orders), SkipVendorOrdersCheck ('Ordered' orders having no vendor responses)
- statuses — possible order statuses from the whole set of web shop order statuses.
|
GetOrderListByOptions |
Returns a list of order numbers with statuses Shipped or Ordered matching the specified date range and options.
- fromDate — the beginning date
- toDate — the end date
- options — specifies one or a combination of conditions: OnlyNotImported (orders that are not downloaded/impoted yet), OnlyPrinted (orders that are printed), OnlyCorporate (corporate and government orders), SkipVendorOrdersCheck ('Ordered' orders having no vendor responses)
|
GetOrderListByOptions1 |
Returns a list of order numbers matching the specified date range and options.
- fromDate — the beginning date
- toDate — the end date
- options — specifies one or a combination of conditions: OnlyNotImported (orders that are not downloaded/impoted yet), OnlyPrinted (orders that are printed), OnlyCorporate (corporate and government orders), SkipVendorOrdersCheck ('Ordered' orders having no vendor responses)
- checkStatus — when true orders with statuses Shipped and Ordered are returned, otherwise Pending, InProcess, Paid, Shipped or Ordered
|
GetOrderListByStatus |
Returns a list of order numbers matching the specified date range, options and statuses.
- fromDate — the beginning date
- toDate — the end date
- options — specifies one or a combination of conditions: OnlyNotImported (orders that are not downloaded/impoted yet), OnlyPrinted (orders that are printed), OnlyCorporate (corporate and government orders), SkipVendorOrdersCheck ('Ordered' orders having no vendor responses)
- statuses — possible order statuses from the limited set of frequently used statuses.
|
OrderImportSuccess |
Saves external order number and marks order as downloaded/imported.
- orderId — Webmercs order number;
- externalOrderCode — external refererence (typically the order number for this order in your accounting system)
- updateOrderStatus — specifies whether the status of the Webnmercs order should be changed to Ordered
|
SaveCustomerNumber1 |
Saves external customer number to bind Webmercs customer to external customer (typically the matching customer number in an accounting system)
- billingContactId — Webmercs billing contact identifier (as given in the order detail XML)
- customerNumber — external customer number.
|
GetXslt |
Internal use only |
PostExceptionReport1 |
Internal use only |
PostExceptionReport |
Obsolete |
SaveCustomerNumber |
Obsolete |
Example of order detail XML.