---
updatedAt: 2025-06-16T23:22:51.000Z
agentTools:
  projectIndex: https://developers.directscale.com/llms.txt
---

# /api/extension/services/OrderService/v1/GetAssociatesOrdersByOrderDate

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Extension Services",
    "version": "extensionServices"
  },
  "servers": [
    {
      "url": "https://{clientId}.corpadmin.directscalestage.com",
      "variables": {
        "clientId": {
          "default": "clientId"
        }
      }
    }
  ],
  "paths": {
    "/api/extension/services/OrderService/v1/GetAssociatesOrdersByOrderDate": {
      "post": {
        "tags": [
          "OrderService"
        ],
        "operationId": "OrderService_GetAssociatesOrdersByOrderDate_v1",
        "parameters": [
          {
            "name": "X-DirectScale-User",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DiscoMVC.Controllers.Extension.GeneratedControllers.OrderServiceController.GetAssociatesOrdersByOrderDate_v1_Request"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DirectScale.Disco.Extension.Order"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Extension_Token": []
          }
        ],
        "x-codegen-request-body-name": "request"
      }
    }
  },
  "components": {
    "schemas": {
      "DirectScale.Disco.Extension.Address": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "AddressLine1": {
            "type": "string"
          },
          "AddressLine2": {
            "type": "string"
          },
          "AddressLine3": {
            "type": "string"
          },
          "City": {
            "type": "string"
          },
          "State": {
            "type": "string"
          },
          "PostalCode": {
            "type": "string"
          },
          "CountryCode": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.CustomFields": {
        "type": "object",
        "properties": {
          "Field1": {
            "type": "string"
          },
          "Field2": {
            "type": "string"
          },
          "Field3": {
            "type": "string"
          },
          "Field4": {
            "type": "string"
          },
          "Field5": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.Coupon": {
        "type": "object",
        "properties": {
          "CouponId": {
            "type": "integer",
            "format": "int32"
          },
          "Code": {
            "type": "string"
          },
          "AmountType": {
            "type": "string",
            "enum": [
              "Percent",
              "Amount"
            ]
          },
          "Discount": {
            "type": "number",
            "format": "double"
          },
          "BeginDate": {
            "type": "string",
            "format": "date-time"
          },
          "EndDate": {
            "type": "string",
            "format": "date-time"
          },
          "CouponType": {
            "type": "string",
            "enum": [
              "ItemDiscount",
              "OrderDiscount",
              "ShippingDiscount"
            ]
          },
          "OrderType": {
            "type": "string",
            "enum": [
              "Unknown",
              "Standard",
              "Autoship",
              "Enrollment",
              "VolumeAdjustment"
            ]
          },
          "OrderTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Unknown",
                "Standard",
                "Autoship",
                "Enrollment",
                "VolumeAdjustment"
              ]
            }
          },
          "MinQty": {
            "type": "number",
            "format": "double"
          },
          "Recurring": {
            "type": "boolean"
          },
          "AllItemIdsRequired": {
            "type": "boolean"
          },
          "AppliedItemIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "RegionIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "AssociateIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "BackOfficeIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "PriceGroupIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "Description": {
            "type": "string",
            "readOnly": true
          },
          "CodeDisplay": {
            "type": "string",
            "readOnly": true
          },
          "DescriptionWithCode": {
            "type": "string",
            "readOnly": true
          },
          "DescriptionWithIdAndCode": {
            "type": "string",
            "readOnly": true
          }
        }
      },
      "DirectScale.Disco.Extension.OrderTotal": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "TaxableSubTotal": {
            "type": "number",
            "format": "double"
          },
          "CurrencyCode": {
            "type": "string"
          },
          "ExchangeRate": {
            "type": "number",
            "format": "double"
          },
          "OrderNumber": {
            "type": "integer",
            "format": "int32"
          },
          "Shipping": {
            "type": "number",
            "format": "double"
          },
          "SubTotal": {
            "type": "number",
            "format": "double"
          },
          "Tax": {
            "type": "number",
            "format": "double"
          },
          "TaxInfo": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.TaxResult"
          },
          "TaxTransactionId": {
            "type": "string"
          },
          "TaxProvider": {
            "type": "string",
            "enum": [
              "None",
              "ZipToTax",
              "Squire",
              "Avalara",
              "TaxJar",
              "DirectScale"
            ]
          },
          "DiscountTotal": {
            "type": "number",
            "format": "double"
          },
          "Coupons": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.OrderCoupons"
          },
          "CurrencySymbol": {
            "type": "string"
          },
          "OverridenShippingTax": {
            "type": "boolean"
          },
          "Total": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "PaidAmount": {
            "type": "number",
            "format": "double"
          },
          "TotalDue": {
            "type": "number",
            "format": "double",
            "readOnly": true
          }
        }
      },
      "DirectScale.Disco.Extension.TaxResult": {
        "type": "object",
        "properties": {
          "TransactionId": {
            "type": "string"
          },
          "RefundTransactionId": {
            "type": "string"
          },
          "TaxProvider": {
            "type": "string",
            "enum": [
              "None",
              "ZipToTax",
              "Squire",
              "Avalara",
              "TaxJar",
              "DirectScale"
            ]
          },
          "LineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.TaxResultItem"
            }
          },
          "TaxAmount": {
            "type": "number",
            "format": "double"
          },
          "TaxRate": {
            "type": "number",
            "format": "double"
          },
          "ShippingAmount": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "DirectScale.Disco.Extension.OrderCoupons": {
        "type": "object",
        "properties": {
          "DiscountTotal": {
            "type": "number",
            "format": "double"
          },
          "UsedCoupons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.OrderCoupon"
            }
          }
        }
      },
      "DirectScale.Disco.Extension.TaxResultItem": {
        "type": "object",
        "properties": {
          "Detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.TaxResultDetail"
            }
          },
          "ItemId": {
            "type": "integer",
            "format": "int32"
          },
          "TaxRate": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "TaxAmount": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "Street": {
            "type": "string",
            "readOnly": true
          },
          "City": {
            "type": "string",
            "readOnly": true
          },
          "County": {
            "type": "string",
            "readOnly": true
          },
          "State": {
            "type": "string",
            "readOnly": true
          },
          "Country": {
            "type": "string",
            "readOnly": true
          },
          "Zip": {
            "type": "string",
            "readOnly": true
          },
          "WarehouseAddressId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        }
      },
      "DirectScale.Disco.Extension.OrderCoupon": {
        "type": "object",
        "properties": {
          "Info": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.Coupon"
          },
          "OrderId": {
            "type": "integer",
            "format": "int32"
          },
          "DateUsed": {
            "type": "string",
            "format": "date-time"
          },
          "DiscountAmount": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "DirectScale.Disco.Extension.TaxResultDetail": {
        "type": "object",
        "properties": {
          "TaxRate": {
            "type": "number",
            "format": "double"
          },
          "TaxAmount": {
            "type": "number",
            "format": "double"
          },
          "Street": {
            "type": "string"
          },
          "City": {
            "type": "string"
          },
          "County": {
            "type": "string"
          },
          "State": {
            "type": "string"
          },
          "Country": {
            "type": "string"
          },
          "Zip": {
            "type": "string"
          },
          "WarehouseAddressId": {
            "type": "integer",
            "format": "int32"
          },
          "AuthorityLevel": {
            "type": "string"
          },
          "AuthorityName": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.Order": {
        "type": "object",
        "properties": {
          "BackofficeId": {
            "type": "string"
          },
          "LastModifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "BillPhone": {
            "type": "string"
          },
          "CommissionDate": {
            "type": "string",
            "format": "date-time"
          },
          "AssociateId": {
            "type": "integer",
            "format": "int32"
          },
          "Email": {
            "type": "string"
          },
          "InvoiceDate": {
            "type": "string",
            "format": "date-time"
          },
          "LocalInvoiceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string"
          },
          "OrderDate": {
            "type": "string",
            "format": "date-time"
          },
          "OrderType": {
            "type": "string",
            "enum": [
              "Unknown",
              "Standard",
              "Autoship",
              "Enrollment",
              "VolumeAdjustment"
            ]
          },
          "OrderSource": {
            "type": "string",
            "enum": [
              "Unknown",
              "PublicApi",
              "V1Api",
              "V2Api",
              "CorpAdmin",
              "DataMigration",
              "ImportOrder",
              "Autoship",
              "Facade",
              "UnknownExtension",
              "PublicApiExtension",
              "V1ApiExtension",
              "V2ApiExtension",
              "CorpAdminExtension",
              "ImportOrderExtension",
              "AutoshipExtension",
              "FacadeExtension"
            ]
          },
          "OrderNumber": {
            "type": "integer",
            "format": "int32"
          },
          "PriceGroupId": {
            "type": "integer",
            "format": "int32"
          },
          "SpecialInstructions": {
            "type": "string"
          },
          "Status": {
            "type": "string"
          },
          "TotalBonus": {
            "type": "number",
            "format": "double"
          },
          "TotalCost": {
            "type": "number",
            "format": "double"
          },
          "TotalCV": {
            "type": "number",
            "format": "double"
          },
          "TotalQV": {
            "type": "number",
            "format": "double"
          },
          "TotalRewardPoints": {
            "type": "number",
            "format": "double"
          },
          "Void": {
            "type": "boolean"
          },
          "BillAddress": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.Address"
          },
          "PartyId": {
            "type": "integer",
            "format": "int32"
          },
          "IsPaid": {
            "type": "boolean"
          },
          "IsShipped": {
            "type": "boolean"
          },
          "Custom": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.CustomFields"
          },
          "CanRerun": {
            "type": "boolean",
            "readOnly": true
          },
          "LineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.OrderLineItem"
            }
          },
          "Packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.OrderPackage"
            }
          },
          "Totals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.OrderTotal"
            }
          },
          "Payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.OrderPayment"
            }
          },
          "OrderCoupons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.OrderCoupon"
            }
          },
          "USDSubTotal": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "USDTotal": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "IsMoveable": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.MoveOrderPermission"
          }
        }
      },
      "DirectScale.Disco.Extension.OrderLineItem": {
        "type": "object",
        "properties": {
          "Amount": {
            "type": "number",
            "format": "double"
          },
          "Bonus": {
            "type": "number",
            "format": "double"
          },
          "CategoryId": {
            "type": "integer",
            "format": "int32"
          },
          "Cost": {
            "type": "number",
            "format": "double"
          },
          "CurrencyCode": {
            "type": "string"
          },
          "DiscountId": {
            "type": "integer",
            "format": "int32"
          },
          "Height": {
            "type": "number",
            "format": "double"
          },
          "Length": {
            "type": "number",
            "format": "double"
          },
          "OrderNumber": {
            "type": "integer",
            "format": "int32"
          },
          "PackageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "CV": {
            "type": "number",
            "format": "double"
          },
          "QV": {
            "type": "number",
            "format": "double"
          },
          "RewardPoints": {
            "type": "number",
            "format": "double"
          },
          "Qty": {
            "type": "number",
            "format": "double"
          },
          "SKU": {
            "type": "string"
          },
          "ItemId": {
            "type": "integer",
            "format": "int32"
          },
          "ProductName": {
            "type": "string"
          },
          "Weight": {
            "type": "number",
            "format": "double"
          },
          "Width": {
            "type": "number",
            "format": "double"
          },
          "FlagCancer": {
            "type": "boolean"
          },
          "FlagBirthDefects": {
            "type": "boolean"
          },
          "HasKitGroups": {
            "type": "boolean"
          },
          "Image": {
            "type": "string"
          },
          "OptionKey": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.OrderPackage": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "AssociateId": {
            "type": "integer",
            "format": "int32"
          },
          "ShippingAddress": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.Address"
          },
          "Carrier": {
            "type": "string"
          },
          "DateShipped": {
            "type": "string",
            "format": "date-time"
          },
          "Height": {
            "type": "number",
            "format": "double"
          },
          "Length": {
            "type": "number",
            "format": "double"
          },
          "Notes": {
            "type": "string"
          },
          "OrderNumber": {
            "type": "integer",
            "format": "int32"
          },
          "OrderDate": {
            "type": "string",
            "format": "date-time"
          },
          "ShipByDate": {
            "type": "string",
            "format": "date-time"
          },
          "ShipMethodId": {
            "type": "integer",
            "format": "int32"
          },
          "TrackingNumber": {
            "type": "string"
          },
          "WarehouseId": {
            "type": "integer",
            "format": "int32"
          },
          "Weight": {
            "type": "number",
            "format": "double"
          },
          "Width": {
            "type": "number",
            "format": "double"
          },
          "PickPrinted": {
            "type": "boolean"
          },
          "PackPrinted": {
            "type": "boolean"
          },
          "PrintedDate": {
            "type": "string",
            "format": "date-time"
          },
          "RMANumber": {
            "type": "string"
          },
          "ReturnDate": {
            "type": "string",
            "format": "date-time"
          },
          "LineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.OrderLineItem"
            }
          },
          "ExternalSyncId": {
            "type": "number",
            "format": "double"
          },
          "IsPrinted": {
            "type": "boolean",
            "readOnly": true
          },
          "IsShipped": {
            "type": "boolean",
            "readOnly": true
          },
          "IsRMA": {
            "type": "boolean",
            "readOnly": true
          },
          "IsReturned": {
            "type": "boolean",
            "readOnly": true
          },
          "ShipTo": {
            "type": "string"
          },
          "Status": {
            "type": "string",
            "readOnly": true
          },
          "ShipMethodDescription": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.OrderPayment": {
        "type": "object",
        "properties": {
          "PaymentId": {
            "type": "integer",
            "format": "int32"
          },
          "Amount": {
            "type": "number",
            "format": "double"
          },
          "AuthorizationNumber": {
            "type": "string"
          },
          "TransactionNumber": {
            "type": "string"
          },
          "CreatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "CurrencyCode": {
            "type": "string"
          },
          "ExchangeRate": {
            "type": "number",
            "format": "double"
          },
          "Merchant": {
            "type": "integer",
            "format": "int32"
          },
          "OrderNumber": {
            "type": "integer",
            "format": "int32"
          },
          "PayDate": {
            "type": "string",
            "format": "date-time"
          },
          "PaymentResponse": {
            "type": "string"
          },
          "PayType": {
            "type": "string"
          },
          "Reference": {
            "type": "string"
          },
          "SpecialInstructionsURL": {
            "type": "string"
          },
          "FraudPreventionId": {
            "type": "string"
          },
          "FraudPreventionProviderId": {
            "type": "string"
          },
          "SavedPaymentId": {
            "type": "integer",
            "format": "int32"
          },
          "Status": {
            "type": "string",
            "readOnly": true
          },
          "PaymentStatus": {
            "type": "string"
          },
          "IsPaid": {
            "type": "boolean",
            "readOnly": true
          },
          "IsPending": {
            "type": "boolean",
            "readOnly": true
          },
          "IsPendingFraudReview": {
            "type": "boolean",
            "readOnly": true
          },
          "IsPendingPreCheck": {
            "type": "boolean",
            "readOnly": true
          },
          "IsFraudRejected": {
            "type": "boolean",
            "readOnly": true
          },
          "IsRedirect": {
            "type": "boolean",
            "readOnly": true
          },
          "IsRejected": {
            "type": "boolean",
            "readOnly": true
          },
          "IsNotProvided": {
            "type": "boolean",
            "readOnly": true
          }
        }
      },
      "DirectScale.Disco.Extension.MoveOrderPermission": {
        "type": "object",
        "properties": {
          "IsOrderMovable": {
            "type": "boolean"
          },
          "MessageType": {
            "type": "string",
            "enum": [
              "None",
              "Information",
              "Warning",
              "Error"
            ]
          },
          "Message": {
            "type": "string"
          }
        }
      },
      "DiscoMVC.Controllers.Extension.GeneratedControllers.OrderServiceController.GetAssociatesOrdersByOrderDate_v1_Request": {
        "type": "object",
        "properties": {
          "AssociateId": {
            "type": "integer",
            "format": "int32"
          },
          "Begin": {
            "type": "string",
            "format": "date-time"
          },
          "End": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    },
    "securitySchemes": {
      "Extension_Token": {
        "type": "apiKey",
        "description": "Bearer Token For Extension",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```