XML Sales Detail
Although the Sales Detail report allows for selecting different output options, these options are download files only. You can retrieve the XML Sales Detail report automatically using the following information.
To retrieve the Sales Detail report remotely, post an XML request as follows:
URL to post:
https://vendors.bmtmicro.com/xmlrequest
method=”post”
XML request format:
<?xml version="1.0" encoding="utf-8"?> <request> <salesdetails> <apitoken>Replace this with your APIToken</apitoken> <datefrom>2003-02-01</datefrom> <dateto>2003-02-28</dateto> </salesdetails> </request>
NOTE: The date fields must contain a value in the format of YYYY-MM-DD for this feature to work properly.
Your APIToken can be found in the Settings section.