-
Notifications
You must be signed in to change notification settings - Fork 4
getOrderCount
Elad Meidar edited this page Jul 18, 2013
·
2 revisions
ThreeDeeCart::Order.count(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.
ThreeDeeCart::Order.count({storeUrl: "http://www.3dcart.com", startFrom: 10})