Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • R ruby-3dcart
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libraries
  • ruby-3dcart
  • Wiki
  • getOrderCount

Last edited by Elad Meidar Jul 18, 2013
Page history

getOrderCount

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})
Clone repository
  • Configuration
  • Home
  • Installation
  • UpdateOrderShipment
  • UpdateOrderStatus
  • editCustomer
  • getCustomer
  • getCustomerCount
  • getOrder
  • getOrderCount
  • getOrderStatus
  • getProduct
  • getProductCount
  • getProductInventory
  • updateProductInventory