Screen: ShopSite > Merchandising > Order API
Each line in the downloaded file is an order (except for the first line). The first line indicates the name of each field and the order that it is found in the remaining records. For example the first four fields of the first record (line) would contain:
Date OrderNum Name Company
The next two records might have the following in the first four fields:
Thu Nov 20 14:55:11 1997 1235 Joe Cool Open Market, Inc.Thu Nov 20 16:35:31 1997 1236 Sally Smith <empty>
Each field is separated by a tab. The first field is the date and time the order was placed, the second is the order number, the third is the customer name, and the fourth field is the company name. Note that in the second order Sally did not enter a company name so the word " <empty>" is listed.
You can determine what most of the field names mean by their name such as "Price," "GrandTotal," and "SKU." However, a couple of fields need further explanation.
0 - Visa
1 - MasterCard
2 - Discover
3 - American Express
4 - Purchase Order
5 - C.O.D.
6 - Check
7 - (unused)
8 - Generic 1
9 - Generic 2
Note: |
If you are using Internet Explorer, when you select Download, the default file name is orderhandler.exe or orderhandler.cgi, depending on your client OS. This file is not an executable, it is a tab-delimited text file, and you should rename it to have an appropriate extension. Netscape will show the default file name with a .txt extension.
|
|
ShopSite Help and Resource Center November 2, 2001 Give Feedback |
![]() Copyright © ShopSite, Inc. http://www.shopsite.com |