Legacy Method
This approach is now legacy. We do not intend to remove this feature, but we encourage all new developers to use our restful JSON API interface.
Retrieve a list of orders
/webapps/cms/widgets/shopping/reports/edi/view-orders.csv?cid=99999999&password=ZZZZZZZZZZZZ&delimiter=,&fromdate=&todate=&orders=1
| Parameter | Values/Type | Description |
| delimiter | , TAB | ||| ~ | if included, then changes document type to a download file, and uses specified character(s) as the delimiter |
| fromdate | yyyy-MM-dd | accepts most formated dates |
| todate | yyyy-MM-dd | accepts most formated dates |
| ngā hua | =1 or exclude | includes individual item lines and product data, with order headers repeated on each line (otherwise only order headers) |
| shipping | =1 or exclude | includes shipping/purchaser columns |
| orders | =1 or exclude | includes only finalised orders, or without shows orders in progress or stale old orders. |
| paid | =1 or exclude | includes only orders marked as paid in our system, or automatically marked as paid by credit cards |
| affiliate | =1 or exclude | show affiliate columns, or nulls if the order was not due to any affiliate |
| member | =1 or exclude | show the member record (might be different from the purchaser details if this a subsequent order) |
| cid | number | get this info from the FTP area... just the number without the CID prefix |
| password | text | get this info from the FTP area... it is the FTP password |
| b_id | number | the basket/order/invoice ID |
Retrieve an Individual Order
/webapps/cms/widgets/shopping/reports/edi/view-order.xml?cid=99999999&password=ZZZZZZZZZZZZ&b_id=7777777
XML returned should be faily self explanetory...
Notes re GST
if IncludesTax=false, then this means that we did not specifically calculate GST.. but all prices could be assumed to be GST inclusive, so if you know this yourself to be true, then tou would then consider if IsDomestic=true, that GST was included.
Example XML Output
<?xml version="1.0" encoding="UTF-8"?>
<Invoices>
<Invoice>
<InvoiceType>ACCREC</InvoiceType>
<Contact>
<MemberID>2727791</MemberID>
<Name>Cash Sale</Name>
<Company />
<EmailAddress>cash@gmail.com</EmailAddress>
<Phone>Cash Sale</Phone>
<Addresses>
<Address>
<AddressType>STREET</AddressType>
<AddressLine1 />
<AddressLine2 />
<AddressCity />
<AddressState />
<AddressPostcode />
<AddressCountry />
</Address>
</Addresses>
</Contact>
<Delivery>
<Name>Cash Sale</Name>
<Company />
<EmailAddress>cash@gmail.com</EmailAddress>
<Phone>Cash Sale</Phone>
<Addresses>
<Address>
<AddressType>STREET</AddressType>
<AddressLine1 />
<AddressLine2 />
<AddressCity />
<AddressState />
<AddressPostcode />
<AddressCountry />
</Address>
</Addresses>
<PreferredDeliveryTime />
</Delivery>
<GiftMessage />
<Comments />
<InvoiceDate>2017-04-11T00:00:00</InvoiceDate>
<InvoiceNumber>24118653</InvoiceNumber>
<InvoiceNumberFormatted>TTT24118653</InvoiceNumberFormatted>
<BasketID>24118653</BasketID>
<Reference />
<Currency>$</Currency>
<FxRate>1.0000</FxRate>
<IsDomestic>false</IsDomestic>
<Status>
<PaymentStatus>
<AmountPaid>2.23</AmountPaid>
<PaidDate>2017-04-11T00:00:00</PaidDate>
</PaymentStatus>
<ShippingStatus>
<ShippedDate>2017-04-11T00:00:00</ShippedDate>
<CourierReference />
<CourierURL />
</ShippingStatus>
</Status>
<Totals>
<TotalDiscount>4.35</TotalDiscount>
<TotalVouchers>0.00</TotalVouchers>
<TotalShipping>0.00</TotalShipping>
<TotalTax>0.00</TotalTax>
<TotalTransactionFee>0.00</TotalTransactionFee>
<TotalToPay>2.23</TotalToPay>
<TotalSavings>4.35</TotalSavings>
<TotalGrams>0</TotalGrams>
</Totals>
<IncludesTax>false</IncludesTax>
<SubTotal>2.23</SubTotal>
<Total>2.23</Total>
</Invoice>
<Invoice>
<InvoiceType>ACCREC</InvoiceType>
<Contact>
<MemberID>2726817</MemberID>
<Name>rsrdgr</Name>
<Company />
<EmailAddress>ads@saf.yu</EmailAddress>
<Phone>343232442342</Phone>
<Addresses>
<Address>
<AddressType>STREET</AddressType>
<AddressLine1>fdgfdg</AddressLine1>
<AddressLine2 />
<AddressCity>dfgdfg</AddressCity>
<AddressState />
<AddressPostcode>345435</AddressPostcode>
<AddressCountry>New Zealand</AddressCountry>
</Address>
</Addresses>
</Contact>
<Delivery>
<Name>rsrdgr</Name>
<Company />
<EmailAddress>ads@saf.yu</EmailAddress>
<Phone>343232442342</Phone>
<Addresses>
<Address>
<AddressType>STREET</AddressType>
<AddressLine1>fdgfdg</AddressLine1>
<AddressLine2 />
<AddressCity>dfgdfg</AddressCity>
<AddressState />
<AddressPostcode>345435</AddressPostcode>
<AddressCountry>New Zealand</AddressCountry>
</Address>
</Addresses>
<PreferredDeliveryTime />
</Delivery>
<GiftMessage />
<Comments />
<InvoiceDate>2017-04-10T00:00:00</InvoiceDate>
<InvoiceNumber>24116839</InvoiceNumber>
<InvoiceNumberFormatted>24116839</InvoiceNumberFormatted>
<BasketID>24116839</BasketID>
<Reference />
<Currency>NZD</Currency>
<FxRate>1.0000</FxRate>
<IsDomestic>true</IsDomestic>
<Status>
<PaymentStatus>
<AmountPaid>0.00</AmountPaid>
<PaidDate />
</PaymentStatus>
<ShippingStatus>
<ShippedDate />
<CourierReference />
<CourierURL />
</ShippingStatus>
</Status>
<Totals>
<TotalDiscount>4.35</TotalDiscount>
<TotalVouchers>0.00</TotalVouchers>
<TotalShipping>0.00</TotalShipping>
<TotalTax>0.00</TotalTax>
<TotalTransactionFee>0.00</TotalTransactionFee>
<TotalToPay>56.45</TotalToPay>
<TotalSavings>39.55</TotalSavings>
<TotalGrams>0</TotalGrams>
</Totals>
<IncludesTax>false</IncludesTax>
<SubTotal>56.45</SubTotal>
<Total>56.45</Total>
</Invoice>
<Invoice>
<InvoiceType>ACCREC</InvoiceType>
<Contact>
<MemberID>2720029</MemberID>
<Name>sdfsdfasdfasd</Name>
<Company>sdfasdfasdf</Company>
<EmailAddress>asdfasdfasd@sdfsdfsddfs.com</EmailAddress>
<Phone>dfsdfasdfasd</Phone>
<Addresses>
<Address>
<AddressType>STREET</AddressType>
<AddressLine1>sdfasdfasdfas</AddressLine1>
<AddressLine2>asdfasdf</AddressLine2>
<AddressCity>sdfasdfasd</AddressCity>
<AddressState>asdfasdfasd</AddressState>
<AddressPostcode>sdfsdfasdfas</AddressPostcode>
<AddressCountry>New Zealand</AddressCountry>
</Address>
</Addresses>
</Contact>
<Delivery>
<Name>sdfsdfasdfasd</Name>
<Company>sdfasdfasdf</Company>
<EmailAddress>asdfasdfasd@sdfsdfsddfs.com</EmailAddress>
<Phone />
<Addresses>
<Address>
<AddressType>STREET</AddressType>
<AddressLine1>sdfasdfasdfas</AddressLine1>
<AddressLine2>asdfasdf</AddressLine2>
<AddressCity>sdfasdfasd</AddressCity>
<AddressState>asdfasdfasd</AddressState>
<AddressPostcode>sdfsdfasdfas</AddressPostcode>
<AddressCountry>New Zealand</AddressCountry>
</Address>
</Addresses>
<PreferredDeliveryTime />
</Delivery>
<GiftMessage />
<Comments />
<InvoiceDate>2017-04-04T00:00:00</InvoiceDate>
<InvoiceNumber>24105469</InvoiceNumber>
<InvoiceNumberFormatted>TTT24105469</InvoiceNumberFormatted>
<BasketID>24105469</BasketID>
<Reference />
<Currency>NZD</Currency>
<FxRate>1.0000</FxRate>
<IsDomestic>true</IsDomestic>
<Status>
<PaymentStatus>
<AmountPaid>0.00</AmountPaid>
<PaidDate />
</PaymentStatus>
<ShippingStatus>
<ShippedDate />
<CourierReference />
<CourierURL />
</ShippingStatus>
</Status>
<Totals>
<TotalDiscount>0.00</TotalDiscount>
<TotalVouchers>0.00</TotalVouchers>
<TotalShipping>0.00</TotalShipping>
<TotalTax>150.21</TotalTax>
<TotalTransactionFee>0.00</TotalTransactionFee>
<TotalToPay>1151.60</TotalToPay>
<TotalSavings>100.14</TotalSavings>
<TotalGrams>0</TotalGrams>
</Totals>
<IncludesTax>true</IncludesTax>
<SubTotal>1001.39</SubTotal>
<TotalTax>150.21</TotalTax>
<Total>1151.60</Total>
</Invoice>
</Invoices>
More From This Section
FAQ Topics
The Basics
Building your site
- Pages
- Content Editor Modes Explained
- - DRAG DROP Editor (Default)
- - CONTENTBOX Editor (Advanced)
- - WORD STYLE Editor (TinyMCE)
- - LIVE Editor (Click to Edit Mode)
- Styling Content
- Images / Backgrounds
- Banners and Sliders
- Uploading content
- Design Templates
- Forms
- More Q & A
- Menus
- Mobile Styling and Optimisation
Advanced Page Types
E-Commerce
- Shopping Basics
- Category Management
- Ngā Hua
- Product Options
- Layout and Formatting
- Ngā Kōwhiringa Utu
- Processing Orders
- Advanced Ecommerce
- Product Pricing, Currencies
- Plugins
- Wholesale
- Bookings Management System
- Freight - Couriers
- Stock & Quantities
- Vouchers, Discounts, Loyalty Points
- Selling Photos / Prints
- Shopping Cart Add-on Page types
- Advanced APIs / Add ons
- Te Wāhi Hoko (POS)
- Reports
- Orders / Invoices
Email & Membership
- Member Management
- Members Pages / Template Customisations
- From Addresses and Reply To Email Notifications
- Global Enquiry form options
- Standard Field Names
- Webmail
- Bulk Email
- CRM Features
- Email Campaigns
- Forums & Blogs
- Pop3/Imap Email Services
- Scams and Hoaxes
- Lead Magnets / Growing Your Customer Database
Promoting your site
Advanced
- Power User Options
- Form Spam Filtering
- Wordpress
- PHP Setup
- [TAGS]
- jQuery snippets
- Search External Links / Import external content
- HTML / CSS Snippets
- Embedding Web Fonts
- Loading additional Material Symbols styles
- FAQ Help Map
- Uploading local font files
- Advanced Template Customisation, CSS, etc
- Languages and Translations
