Running
ThreeDeeCart::Order.count(options)
Available Options
Bold parameters are required:
storeURL - 3dCart Store URL from which the information will be requested. i.e.: www.3dcart.com
startFrom - boolean, If startFrom is true and invoiceNum is specified, the web service will return orders >= invoiceNum. If startFrom is false and invoiceNum is specified, the web service will return just the specified order. If invoiceNum is not specified, this parameter will be ignored.
invoiceNum - Search for specific invoice number.
status - Search orders by status.
dateFrom - Search orders that were placed after specified date. Must be in mm/dd/yyyy format.
dateTo - Search orders that were placed before specified date. Must be in mm/dd/yyyy format.
Example
ThreeDeeCart::Order.count({storeURL: "http://www.3dcart.com", startFrom: 10})