> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cuddles.care/llms.txt
> Use this file to discover all available pages before exploring further.

# List all Product Orders

> Retrieves a list of all product orders



## OpenAPI

````yaml GET /productOrders
openapi: 3.0.1
info:
  title: Cuddles API v1
  description: Cuddles v1 stable
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.cuddles.care/v1
security:
  - bearerAuth: []
paths:
  /productOrders:
    get:
      description: Retrieves a list of all product orders
      parameters:
        - name: page
          in: query
          description: Page number of the list
          schema:
            type: integer
            default: 1
            minimum: 1
        - name: limit
          in: query
          description: Number of records to return per page
          schema:
            type: integer
            default: 10
            maximum: 100
            minimum: 1
        - name: createdFrom
          in: query
          description: Start creation date of the record
          schema:
            type: string
            description: Format of the date should be ISO format
        - name: createdTo
          in: query
          description: End creation date of the record
          schema:
            type: string
            description: Format of the date should be ISO format
        - name: updatedFrom
          in: query
          description: Start updated date of the record
          schema:
            type: string
            description: Format of the date should be ISO format
        - name: updatedTo
          in: query
          description: End updated date of the record
          schema:
            type: string
            description: Format of the date should be ISO format
        - name: practiceId
          in: query
          description: ID of practice from which records need to be filtered
          schema:
            type: string
      responses:
        '200':
          description: List of all product orders
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderArray'
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    OrderArray:
      type: object
      properties:
        total:
          type: integer
          example: 12
          description: Total count of the matched records
        data:
          type: array
          description: Array of product order records
          items:
            type: object
          example:
            - items:
                product1:
                  product: >-
                    Bravecto Chews 44-88 lbs Blue, 1000 mg 1 chewable, 12 weeks
                    acting
                  productName: >-
                    Bravecto Chews 44-88 lbs Blue, 1000 mg 1 chewable, 12 weeks
                    acting
                  productTitle: >-
                    Bravecto Chews 44-88 lbs Blue, 1000 mg 1 chewable, 12 weeks
                    acting
                  price: '67.99'
                  qty: '6'
                  tax: '20.40'
                  total: '407.94'
                  imageUrl: >-
                    https://d24s7ywwar9ske.cloudfront.net/oystercreek-medicine-product-image-5
                  selectedProduct:
                    id: oystercreek-medicine-product-record-5
                    type: medicineproduct
              subTotal: '407.94'
              totalTax: '20.40'
              totalAmount: '428.34'
              billingAddress:
                streetAddress: 3915 Bountiful Crest Ln
                aptSuiteOther: null
                city: Sugar Land
                state: Texas
                country: USA
                zip: '77479'
                neighborhood: Oaks Of Alcorn
                county: Fort Bend County
                zipSuffix: '3202'
              selectedPractice:
                id: oyster_creek_prac
                type: practice
                domain: QeXPStfFG
                businessName: Oyster Creek Animal Hospital
              delivery:
                deliveryMethod: Delivery
                pickUpDate: '2023-10-26T05:30:00+05:30'
                deliveryAddress: 3915 Bountiful Crest Ln,Sugar Land,Texas,77479,USA
                deliveryInstruction: Do not knock. Please ring the bell.
                deliveryQuoate:
                  id: a8b29ec8-a69a-481d-87a3-c8922f1fc6af
                  fee: 975
                  dropoffLocation:
                    lat: 29.5753924
                    lng: -95.6260195
                  estimatedPickupTime: '2023-10-26T08:55:09Z'
                  estimatedDropoffTime: '2023-10-26T09:35:35Z'
                  tax: 0
                  trackingUrl: >-
                    https://track.doordash.com/order/310bbdda-421e-4a3a-9aab-5b651b129657/track
                  instructions: Do not knock. Please ring the bell.
                  contact: 832 815 6279
                  address: 3915 Bountiful Crest Ln, Sugar Land, TX 77479, USA
                  name: James Hill
                orderNo: D990IX
              status: Order Delivered
              timezone: America/Chicago
              orderDate: '2023-10-26T03:44:38-05:00'
              paymentDetails:
                id: pm_1NvjWLFqoVWwtVyeL2VGJbHI
                billingDetails:
                  address:
                    streetAddress: ''
                    city: ''
                    state: ''
                    country: US
                    zip: '77479'
                  email: ''
                  name: ''
                  phone: ''
                card:
                  brand: visa
                  country: US
                  expMonth: 12
                  expYear: 2029
                  funding: credit
                  last4: '4242'
                created: 1696004790
                sysData: {}
                type: paymentMethod
                paymentType: card
                default: null
                isDefault: false
              orderNo: D990IX
              feeAmount: 0
              paymentStatus:
                id: ad92cd96-c3b2-48dc-a457-ae9c0ee21f2b
                type: account
                action: null
                paymentIntent: pi_3O5PBFFqoVWwtVye1lLNkevy
                paymentToken: pi_3O5PBFFqoVWwtVye1lLNkevy_secret_saUSzOH9LfCWEp78UlYz7qZi2
              selectedClient:
                id: 0c747669-5f73-4780-a6bf-59904f55a7d0
                type: client
                firstName: James
                lastName: Hill
                email:
                  main: cuddlestest@gmail.com
              selectedPatient:
                id: 00bd7782-8a58-4ff3-89da-76698bb9758c
                type: patientDog
                firstName: Jimmy
                lastName: Gold
                species: Dog
                patientName: Jimmy Gold
              type: productOrder
              id: 27fd3910-df40-47b4-8368-c216a253dd4a
              packedPersonName: Stevie
              packedTime: '2023-10-26T04:07:57-05:00'
              packingNotes: Checked 6qty and packed.
              lastUpdatedAt: '2023-10-26T08:44:39.939950Z'
              events:
                - dasherVehicleModel: ''
                  phone: '+17083482928'
                  name: TAS-DASHER-73 T.
                  eventType: DASHER_CONFIRMED
                  id: 18093885
                  eventDate: '2023-10-26T09:10:18.959Z'
                  dasherVehicle: ''
                  dasherLocation:
                    lng: -95.6510856
                    lat: 29.5950174
                - dasherVehicleModel: ''
                  supportReference: '2095495057'
                  phone: '+17083482928'
                  name: TAS-DASHER-73 T.
                  eventType: DASHER_ENROUTE_TO_PICKUP
                  id: 18093885
                  eventDate: '2023-10-26T09:11:34.024Z'
                  dasherVehicle: ''
                  dasherLocation:
                    lng: -95.6510856
                    lat: 29.5950174
                - dasherVehicleModel: ''
                  supportReference: '2095495057'
                  phone: '+17083482928'
                  name: TAS-DASHER-73 T.
                  eventType: DASHER_CONFIRMED_PICKUP_ARRIVAL
                  id: 18093885
                  eventDate: '2023-10-26T09:12:41.901Z'
                  dasherVehicle: ''
                  dasherLocation:
                    lng: -95.64245784632568
                    lat: 29.589571739719133
                - dasherVehicleModel: ''
                  phone: '+17083482928'
                  name: TAS-DASHER-73 T.
                  pickUpTime: '2023-10-26T09:13:30.460327Z'
                  eventType: DASHER_PICKED_UP
                  id: 18093885
                  eventDate: '2023-10-26T09:13:31.506Z'
                  dasherVehicle: ''
                  dasherLocation:
                    lng: -95.6510856
                    lat: 29.5950174
                - dasherVehicleModel: ''
                  supportReference: '2095495057'
                  phone: '+17083482928'
                  name: TAS-DASHER-73 T.
                  eventType: DASHER_ENROUTE_TO_DROPOFF
                  id: 18093885
                  eventDate: '2023-10-26T09:14:04.154Z'
                  dasherVehicle: ''
                  dasherLocation:
                    lng: -95.6510856
                    lat: 29.5950174
                - dasherVehicleModel: ''
                  supportReference: '2095495057'
                  phone: '+17083482928'
                  name: TAS-DASHER-73 T.
                  eventType: DASHER_CONFIRMED_DROPOFF_ARRIVAL
                  id: 18093885
                  eventDate: '2023-10-26T09:14:42.415Z'
                  dasherVehicle: ''
                  dasherLocation:
                    lng: -95.62975490443115
                    lat: 29.580764181887613
                - dasherVehicleModel: ''
                  signature: >-
                    https://developer.doordash.com/en-US/img/simulator/signature.png
                  name: TAS-DASHER-73 T.
                  eventType: DASHER_DROPPED_OFF
                  id: 18093885
                  dropoffTime: '2023-10-26T09:15:37.132112Z'
                  eventDate: '2023-10-26T09:15:38.736Z'
                  dasherLocation:
                    lng: -95.6260195
                    lat: 29.5753924
            - items:
                product1:
                  product: >-
                    Bravecto Topical Solution for Cats, 6.2 - 13.8 lbs 250 mg
                    Blue
                  productName: >-
                    Bravecto Topical Solution for Cats, 6.2 - 13.8 lbs 250 mg
                    Blue
                  productTitle: >-
                    Bravecto Topical Solution for Cats, 6.2 - 13.8 lbs 250 mg
                    Blue
                  price: '59.99'
                  qty: '1'
                  tax: '3.00'
                  total: '59.99'
                  imageUrl: >-
                    https://aimcapsademo.blob.core.windows.net/vetappblobenusdemo/oystercreek-medicine-product-image-23?sv=2019-02-02&ss=bf&srt=co&spr=https&st=2023-10-12T11%3A20%3A34Z&se=2023-10-13T11%3A20%3A34Z&sp=r&sig=vzShXz3PL5AWp6eoKT7wLCHAaHHDLzM%2F1v0fN%2FfxNhY%3D
                  selectedProduct:
                    id: oystercreek-medicine-product-record-23
                    type: medicineproduct
                  selectedPetNames: Lola null
                  selectedPatients:
                    patient1:
                      id: 0fdaf151-7af6-405a-9f0b-d85269d4c09b
                      firstName: Lola
                      lastName: null
                      species: Cat
                      patientName: Lola
              subTotal: '59.99'
              totalTax: '3.00'
              totalAmount: '62.99'
              billingAddress:
                streetAddress: 3915 Bountiful Crest Ln
                aptSuiteOther: null
                city: Sugar Land
                state: Texas
                country: USA
                zip: '77479'
                neighborhood: Oaks Of Alcorn
                county: Fort Bend County
                zipSuffix: '3202'
              selectedPractice:
                id: oyster_creek_prac
                businessName: Oyster Creek Animal Hospital
                type: practice
              delivery:
                deliveryMethod: Delivery
                pickUpDate: '2023-10-12T05:30:00+05:30'
                deliveryAddress: 3915 Bountiful Crest Ln,Sugar Land,Texas,77479,USA
                deliveryInstruction: ''
                deliveryQuoate:
                  id: 297aeb1f-5b2c-4a63-84a5-614921d3a3f0
                  fee: 975
                  dropoffLocation:
                    lat: 29.5753924
                    lng: -95.6260195
                  estimatedPickupTime: '2023-10-12T12:39:17Z'
                  estimatedDropoffTime: '2023-10-12T13:17:33Z'
                  tax: 0
                  trackingUrl: >-
                    https://track.doordash.com/order/b5c8d76d-315e-416a-8604-3035c4dbac15/track
                  instructions: ''
                  contact: 832 815 6279
                  address: 3915 Bountiful Crest Ln, Sugar Land, TX 77479, USA
                  name: James Hill
                orderNo: NLJFD0
              status: Order Canceled
              timezone: America/Chicago
              orderDate: '2023-10-12T07:29:04-05:00'
              paymentDetails:
                id: pm_1NvjWLFqoVWwtVyeL2VGJbHI
                billingDetails:
                  address:
                    streetAddress: ''
                    city: ''
                    state: ''
                    country: US
                    zip: '77479'
                  email: ''
                  name: ''
                  phone: ''
                card:
                  brand: visa
                  country: US
                  expMonth: 12
                  expYear: 2029
                  funding: credit
                  last4: '4242'
                created: 1696004790
                sysData: {}
                type: paymentMethod
                paymentType: card
                default: null
                isDefault: false
              orderNo: NLJFD0
              feeAmount: 0
              paymentStatus:
                id: ad92cd96-c3b2-48dc-a457-ae9c0ee21f2b
                type: account
              selectedClient:
                id: 0c747669-5f73-4780-a6bf-59904f55a7d0
                type: client
                firstName: James
                lastName: Hill
                email:
                  main: cuddlestest@gmail.com
              type: productOrder
              lastUpdatedAt: '2023-10-12T13:34:06.476642Z'
              events:
                - reason: test_order
                  name: ''
                  eventType: DELIVERY_CANCELLED
                  eventDate: '2023-10-12T13:34:38.756Z'
    Error:
      required:
        - status
        - message
      type: object
      properties:
        status:
          type: integer
          example: 400
        message:
          type: string
        code:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.