---
title: "Get Scheduled Order By Id"
method: GET
path: "/Sites/{siteId}/ScheduledOrders/{id}"
tags: ["ScheduledOrders"]
---

# Get Scheduled Order By Id

`GET /Sites/{siteId}/ScheduledOrders/{id}`

## Path parameters

- `siteId` integer, required
- `id` integer, required

## Response `200`

Success

- QPilotCoreModelsDtoEntitiesScheduledOrderDto
  - `id` integer
  - `lastProcessingCycleId` integer, nullable
  - `lastProcessingCycle` QPilotCoreModelsDtoEntitiesProcessingCycleDto
    - `id` integer
    - `processingId` string, nullable
    - `createdUtc` string, date-time
    - `startDateUtc` string, date-time
    - `endDateUtc` string, date-time, nullable
    - `status` 'Processing' | 'Success' | 'Failed' | 'Retry' | 'Void'
    - `retryCount` integer
    - `scheduledOrderId` integer
    - `currencyIso` string, nullable
    - `total` number, float, nullable
    - `chargedTotal` number, float, nullable
    - `chargeTotalDiscount` number, float, nullable
    - `scheduledOrderFailureReason` string, nullable
    - `paymentGatewayTransactionId` string, nullable
    - `paymentGatewayResponse` string, nullable
    - `paymentGatewayErrorDescription` string, nullable
    - `paymentGatewayErrorCode` string, nullable
    - `clientOrderId` string, nullable
    - `clientOrderCreatedDateUtc` string, date-time, nullable
    - `processingErrorCode` 99 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 2000 | 2001 | 3000 | 3001 | 3002
    - `preProcessingValidationResultCode` 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256
    - `processingLogs` QPilotCoreModelsProcessingLog[], nullable
      - `id` integer
      - `createdUtc` string, date-time, required
      - `type` 'ProcessingStart' | 'ProcessingStartManualRetry' | 'ProcessingStartAutomaticRetry' | 'ProcessingError' | 'ProcessingSuccess' | 'ProcessingStartManualContinue' | 'ProcessingInformation', required
      - `description` string, required
      - `processingCycleId` integer, required
      - `processingStep` 'StartPreProcessing' | 'PreProcessingError' | 'FinishedPreProcessing' | 'StartProcessing' | 'ProcessingError' | 'FinishedProcessing' | 'NotifyingErrorToClientIntegration' | 'NotifyedErrorToClientIntegration' | 'InitializingCouponsAndFeeLines' | 'CouponsAndFeeLinesInitialized' | 'CreatingClientOrder' | 'ClientOrderCreated' | 'UpdatingWooCommerceSiteMetadata' | 'WooCommerceSiteMetadaUpdated' | 'UpdatingProcessingCycleTotals' | 'ProcessingCycleTotalsUpdated' | 'UpdatingProcessingCycleMetadata' | 'ProcessingCycleMetadataUpdated' | 'CreatingPayment' | 'PaymentCreated' | 'ProcessingPayment' | 'PaymentProcessed' | 'AddingChargifyUsage' | 'ChargifyUsageAdded' | 'SendingScheduledOrderProcessedWebhook' | 'ScheduledOrderProcessedWebhookSent' | 'SendingWooCommerceNotification' | 'WooCommerceNotificationSent' | 'ScheduledOrderUpdatingCouponUsage' | 'ScheduledOrderCouponUsageUpdated' | 'ScheduledOrderUpdatingCouponAssignments' | 'ScheduledOrderCouponAssignmentsUpdated' | 'ApplyingMaps' | 'MapsApplied' | 'ScheduledOrderUpdatingItems' | 'ScheduledOrderUpdatedItems' | 'LoggingScheduledOrderFailure' | 'ScheduledOrderFailureLogged' | 'SendingFailureCustomerEmail' | 'CustomerEmailError' | 'FailureCustomerEmailSent' | 'SendingFailureMerchantEmail' | 'FailureMerchantEmailError' | 'FailureMerchantEmailSent' | 'UpdatingClientOrder' | 'ClientOrderUpdated' | 'UpdatingFailedOrder' | 'FailedOrderUpdated'
      - `processingStage` 'PreProcessing' | 'ClientOrderCreation' | 'PaymentProcessing' | 'ClientOrderUpdate' | 'OtherProcessingTasks' | 'GenericProcessing'
      - `isInternal` boolean
    - `origin` 0 | 1 | 2 | 3 | 4 | 5 | 6
    - `scheduledOrderTotal` number, float, nullable
    - `scheduledOrderCustomerEmail` string, nullable
    - `scheduledOrderLastOccurrenceUtc` string, date-time, nullable
    - `scheduledOrderNextOccurrenceUtc` string, date-time, nullable
    - `metadata` object, nullable
    - `metadataJson` string, nullable
    - `isRetryable` boolean
    - `canBeCompleted` boolean, nullable
    - `canBeVoid` boolean, nullable
    - `canBeEdited` boolean, nullable
    - `paymentSucceeded` boolean, nullable
  - `lastOccurrenceUtc` string, date-time, nullable
  - `createdUtc` string, date-time
  - `updatedUtc` string, date-time
  - `scheduledOrderFailureReason` string, nullable
  - `shippingRateOptions` QPilotCoreModelsDtoEntitiesShippingRateOptionDto[], nullable
    - `shippingLines` QPilotCoreModelsShippingLine[], nullable
      - `sourceShippingRate` QPilotCoreModelsShippingRate
        - `id` integer
        - `siteId` integer
        - `shippingClass` string, nullable
        - `country` string, nullable
        - `street1` string, nullable
        - `street2` string, nullable
        - `postcode` string, nullable
        - `state` string, nullable
        - `city` string, nullable
        - `pricePerUnit` number, float, nullable
        - `basePrice` number, float
        - `minUnits` integer, nullable
        - `minCycles` integer, nullable
        - `minSubtotal` number, float, nullable
        - `minWeight` number, double, nullable
        - `maxWeight` number, double, nullable
        - `minLength` number, double, nullable
        - `maxLength` number, double, nullable
        - `minHeight` number, double, nullable
        - `maxHeight` number, double, nullable
        - `minWidth` number, double, nullable
        - `maxWidth` number, double, nullable
        - `weightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
        - `lengthUnitType` 'Inch' | 'Foot' | 'Yard' | 'Milimeter' | 'Centimeter' | 'Meter'
        - `name` string, nullable
        - `shippingCarrier` 'FlatRate' | 'USPS' | 'ShipperHQ'
        - `deliveryDaysMin` integer
        - `deliveryDaysMax` integer
        - `createdUtc` string, date-time
        - `updatedUtc` string, date-time
        - `shippingMethods` QPilotCoreModelsShippingMethod[], nullable
        - `shippingMethodsJson` string, nullable
      - `selectedShippingMethod` string, nullable
      - `name` string, nullable
      - `total` number, float
    - `isDefault` boolean
    - `idValue` string, nullable
    - `optionValue` string, nullable
    - `optionText` string, nullable
  - `shippingRateCalculationErrors` QPilotCoreModelsShippingRateCalculationError[], nullable
    - `shippingRate` QPilotCoreModelsShippingRate
      - `id` integer
      - `siteId` integer
      - `shippingClass` string, nullable
      - `country` string, nullable
      - `street1` string, nullable
      - `street2` string, nullable
      - `postcode` string, nullable
      - `state` string, nullable
      - `city` string, nullable
      - `pricePerUnit` number, float, nullable
      - `basePrice` number, float
      - `minUnits` integer, nullable
      - `minCycles` integer, nullable
      - `minSubtotal` number, float, nullable
      - `minWeight` number, double, nullable
      - `maxWeight` number, double, nullable
      - `minLength` number, double, nullable
      - `maxLength` number, double, nullable
      - `minHeight` number, double, nullable
      - `maxHeight` number, double, nullable
      - `minWidth` number, double, nullable
      - `maxWidth` number, double, nullable
      - `weightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
      - `lengthUnitType` 'Inch' | 'Foot' | 'Yard' | 'Milimeter' | 'Centimeter' | 'Meter'
      - `name` string, nullable
      - `shippingCarrier` 'FlatRate' | 'USPS' | 'ShipperHQ'
      - `deliveryDaysMin` integer
      - `deliveryDaysMax` integer
      - `createdUtc` string, date-time
      - `updatedUtc` string, date-time
      - `shippingMethods` QPilotCoreModelsShippingMethod[], nullable
      - `shippingMethodsJson` string, nullable
    - `shippingMethod` string, nullable
    - `description` string, nullable
    - `rawError` string, nullable
  - `processingErrorCode` 99 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 2000 | 2001 | 3000 | 3001 | 3002
  - `preProcessingValidationResultCode` 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256
  - `validationResult` QPilotCoreModelsScheduledOrderValidationResult
    - `id` integer
    - `scheduledOrder` QPilotCoreModelsScheduledOrder
      - `id` integer
      - `lastProcessingCycleId` integer, nullable
      - `lastProcessingCycle` QPilotCoreModelsProcessingCycle
        - `id` integer
        - `processingId` string, required
        - `createdUtc` string, date-time, required
        - `startDateUtc` string, date-time, required
        - `endDateUtc` string, date-time, nullable
        - `status` 'Processing' | 'Success' | 'Failed' | 'Retry' | 'Void'
        - `retryCount` integer, required
        - `scheduledOrderId` integer, required
        - `total` number, float, nullable
        - `chargedTotal` number, float, nullable
        - `paymentGatewayTransactionId` string, nullable
        - `paymentGatewayResponse` string, nullable
        - `paymentGatewayErrorDescription` string, nullable
        - `paymentGatewayErrorCode` string, nullable
        - `processingErrorCode` 99 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 2000 | 2001 | 3000 | 3001 | 3002
        - `clientOrderId` string, nullable
        - `chargeTotalDiscount` number, float, nullable
        - `clientOrderCreatedDateUtc` string, date-time, nullable
        - `origin` 0 | 1 | 2 | 3 | 4 | 5 | 6
        - `preProcessingValidationResultCode` 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256
        - `paymentSucceeded` boolean, nullable
        - `processingLogs` QPilotCoreModelsProcessingLog[], nullable
          - `id` integer
          - `createdUtc` string, date-time, required
          - `type` 'ProcessingStart' | 'ProcessingStartManualRetry' | 'ProcessingStartAutomaticRetry' | 'ProcessingError' | 'ProcessingSuccess' | 'ProcessingStartManualContinue' | 'ProcessingInformation', required
          - `description` string, required
          - `processingCycleId` integer, required
          - `processingStep` 'StartPreProcessing' | 'PreProcessingError' | 'FinishedPreProcessing' | 'StartProcessing' | 'ProcessingError' | 'FinishedProcessing' | 'NotifyingErrorToClientIntegration' | 'NotifyedErrorToClientIntegration' | 'InitializingCouponsAndFeeLines' | 'CouponsAndFeeLinesInitialized' | 'CreatingClientOrder' | 'ClientOrderCreated' | 'UpdatingWooCommerceSiteMetadata' | 'WooCommerceSiteMetadaUpdated' | 'UpdatingProcessingCycleTotals' | 'ProcessingCycleTotalsUpdated' | 'UpdatingProcessingCycleMetadata' | 'ProcessingCycleMetadataUpdated' | 'CreatingPayment' | 'PaymentCreated' | 'ProcessingPayment' | 'PaymentProcessed' | 'AddingChargifyUsage' | 'ChargifyUsageAdded' | 'SendingScheduledOrderProcessedWebhook' | 'ScheduledOrderProcessedWebhookSent' | 'SendingWooCommerceNotification' | 'WooCommerceNotificationSent' | 'ScheduledOrderUpdatingCouponUsage' | 'ScheduledOrderCouponUsageUpdated' | 'ScheduledOrderUpdatingCouponAssignments' | 'ScheduledOrderCouponAssignmentsUpdated' | 'ApplyingMaps' | 'MapsApplied' | 'ScheduledOrderUpdatingItems' | 'ScheduledOrderUpdatedItems' | 'LoggingScheduledOrderFailure' | 'ScheduledOrderFailureLogged' | 'SendingFailureCustomerEmail' | 'CustomerEmailError' | 'FailureCustomerEmailSent' | 'SendingFailureMerchantEmail' | 'FailureMerchantEmailError' | 'FailureMerchantEmailSent' | 'UpdatingClientOrder' | 'ClientOrderUpdated' | 'UpdatingFailedOrder' | 'FailedOrderUpdated'
          - `processingStage` 'PreProcessing' | 'ClientOrderCreation' | 'PaymentProcessing' | 'ClientOrderUpdate' | 'OtherProcessingTasks' | 'GenericProcessing'
          - `isInternal` boolean
        - `isRetryable` boolean
        - `canBeCompleted` boolean
        - `canBeVoid` boolean
        - `canBeEdited` boolean
        - `metadata` object, nullable
        - `metadataJson` string, nullable
      - `customerId` integer
      - `customer` QPilotCoreModelsCustomer
        - `id` integer
        - `siteId` integer
        - `externalId` string, nullable
        - `email` string, required
        - `firstName` string, nullable
        - `lastName` string, nullable
        - `created` string, date-time, nullable
        - `active` boolean
        - `shippingFirstName` string, nullable
        - `shippingLastName` string, nullable
        - `shippingStreet1` string, nullable
        - `shippingStreet2` string, nullable
        - `shippingCity` string, nullable
        - `shippingState` string, nullable
        - `shippingPostcode` string, nullable
        - `shippingCountry` string, nullable
        - `phoneNumber` string, nullable
        - `company` string, nullable
        - `shippingCompany` string, nullable
        - `billingFirstName` string, nullable
        - `billingLastName` string, nullable
        - `billingStreet1` string, nullable
        - `billingStreet2` string, nullable
        - `billingCity` string, nullable
        - `billingState` string, nullable
        - `billingPostcode` string, nullable
        - `billingCountry` string, nullable
        - `billingCompany` string, nullable
        - `coupons` string, nullable
        - `lifetimeValue` number, double
        - `metadata` object, nullable
        - `createdUtc` string, date-time
        - `updatedUtc` string, date-time
        - `customerCoupons` QPilotCoreModelsCustomerCouponUsage[], nullable
          - `couponId` integer
          - `customerId` integer
          - `lifetimeDiscount` number, float
          - `updatedUtc` string, date-time
          - `cycles` integer
          - `assignments` integer
          - `valid` boolean
          - `couponInvalidationCode` 'Expired' | 'SiteLimitExceeded' | 'ScheduledOrderLimitExceeded' | 'CustomerLimitExceeded' | 'GeographyNotMet' | 'TotalsNotMet' | 'UnitsNotMet' | 'MinWeightNotMet' | 'MaxWeightNotMet' | 'ScheduledOrderCyclesNotMet' | 'CustomerInclusionList' | 'CustomerExclusionList' | 'NonStackable' | 'ManuallyRemoved' | 'MaxAssignmentsReached' | 'MapRemoved' | 'ProductNotPresent' | 'SubtotalDiscountTypeMixed' | 'ItemHasSalePrice'
      - `siteId` integer
      - `site` QPilotCoreModelsSitesSite
        - `id` integer
        - `userId` integer
        - `url` string, required
        - `baseUrlWebHook` string, nullable
        - `logoUrl` string, nullable
        - `scheduledOrdersClientPageUrl` string, nullable
        - `name` string, required
        - `email` string, required
        - `zipCode` string, nullable
        - `createdUtc` string, date-time
        - `updatedUtc` string, date-time
        - `isProduction` boolean
        - `orderProcessingStartTime` string, date-span, nullable
        - `orderProcessingEndTime` string, date-span, nullable
        - `orderProcessingOffset` integer, nullable
        - `utcOffset` integer, nullable
        - `lockDurationDays` integer, nullable
        - `isShowingNotes` boolean
        - `isShowCoupons` boolean
        - `isStackedButtons` boolean
        - `isDisplayScheduledOrderId` boolean
        - `allowRetryScheduledOrder` boolean
        - `showProductTitleOnImages` boolean
        - `enableProductCarouselAutoSlide` boolean
        - `noScheduleOrdersBody` string, nullable
        - `noScheduleOrdersLink` string, nullable
        - `isProcessingPaused` boolean
        - `lastProcessingPausedUtc` string, date-time, nullable
        - `failedConnectAttempts` integer
        - `defaultWeightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
        - `defaultLengthUnitType` 'Inch' | 'Foot' | 'Yard' | 'Milimeter' | 'Centimeter' | 'Meter'
        - `themingSettings` QPilotCoreModelsEmailsSiteThemingSettings
          - `emailSettings` QPilotCoreModelsEmailsEmailTemplatesStyleSettings
            - `logoBackgroundColor` string, nullable
            - `bannerBackgroundColor` string, nullable
            - `bannerFontColor` string, nullable
            - `scheduledOrderTableColor` string, nullable
            - `scheduledOrderFontColor` string, nullable
            - `contentTableColor` string, nullable
            - `bodyContainerBackgroundColor` string, nullable
            - `contentBackgroundColor` string, nullable
            - `contentFontColor` string, nullable
            - `customStyles` string, nullable
          - `resourcesStylesSettings` object, nullable
          - `notificationsComponentGeneralInformationAreaEnabled` boolean
        - `themingSettingsJson` string, nullable
        - `customerPortalSettings` QPilotCoreModelsSitesSiteCustomerPortalSettings
          - `styles` QPilotCoreModelsSitesCustomerPortalStyleSettings
            - `largeDisplayBreakpoint` string, nullable
            - `primaryColor` string, nullable
            - `onPrimaryColor` string, nullable
            - `surfaceColor` string, nullable
            - `onSurfaceColor` string, nullable
            - `errorColor` string, nullable
            - `onErrorColor` string, nullable
            - `customStyles` string, nullable
            - `onDiscountBarColor` string, nullable
            - `discountBarColor` string, nullable
            - `buttonBorderThicknessPx` integer
            - `buttonBorderRadiusPx` integer
            - `buttonBorderColor` string, nullable
            - `selectedButtonBackgroundColor` string, nullable
            - `selectedButtonTextColor` string, nullable
            - `unselectedButtonTextColor` string, nullable
            - `maxImageWidthPx` integer
            - `maxImageHeightPx` integer
          - `detailedSummaryComponentConfig` QPilotCoreModelsSitesDetailedSummaryComponentConfig
            - `customCss` string, nullable
            - `components` QPilotCoreModelsSitesComponentItem[], nullable
              - …
            - `unifiedOrder` QPilotCoreModelsSitesUnifiedComponentOrderItem[], nullable
              - …
            - `customComponents` QPilotCoreModelsSitesCustomComponentContent[], nullable
              - …
          - `allowCustomerSnooze` boolean
          - `snoozeOptions` QPilotCoreModelsSitesSnoozeOption[], nullable
            - `duration` integer
            - `durationType` string, nullable
            - `isDefault` boolean
            - `enabled` boolean
            - `order` integer
        - `customerPortalSettingsJson` string, nullable
        - `repeatProcessingAllowedWindow` integer, nullable
        - `repeatProcessingAllowedWindowUnitType` 'Minutes' | 'Hours' | 'Days'
        - `metadata` object, nullable
        - `metadataJson` string, nullable
        - `phoneNumber` string, nullable
        - `revenueSummaryEmailAddresses` string, nullable
        - `enableRevenueSummaryEmail` boolean
        - `productEventLogsExpirationHours` integer
        - `emailDeliveryEventExpirationHours` integer
        - `paymentMethodsPageUrl` string, nullable
        - `processingVersion` integer
        - `baseUrl` string, nullable
        - `createOrderEndpoint` string, nullable
        - `orderProcessedEndpoint` string, nullable
        - `failOrderEndpoint` string, nullable
        - `updateProductAvailabilityEndpoint` string, nullable
        - `healthCheckPostEndpoint` string, nullable
        - `healthCheckPutEndpoint` string, nullable
        - `secretKeyId` integer, nullable
        - `secretKey` QPilotCoreModelsSecretKey
          - `id` integer
          - `userId` integer
          - `user` QPilotCoreModelsUsersUser
            - `id` integer
            - `email` string, required
            - `password` string, byte, required
            - `role` 'None' | 'Merchant' | 'Administrator'
            - `subscriptionId` string, nullable
            - `subscriptionStatus` 'None' | 'Trial' | 'Active' | 'Inactive'
            - `subscriptionPaymentMethodDescription` string, nullable
            - `subscriptionNextBillingDate` string, date-time, nullable
            - `subscriptionUpdatedUtc` string, date-time, nullable
            - `createdUtc` string, date-time
            - `updatedUtc` string, date-time
            - `activeTier` 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256
            - `chargifyProductHandle` string, nullable
            - `phoneNumber` string, nullable
            - `firstLogin` integer
            - `accountOwnerEmail` string, nullable
            - `emailVerificationStatus` 'Unknown' | 'Verified' | 'Unverified' | 'PendingVerification'
          - `key` string, byte, nullable
          - `integrationId` integer
          - `integration` QPilotCoreModelsIntegration
            - `id` integer
            - `name` string, required
            - `subtitle` string, nullable
            - `subtitle2` string, nullable
            - `header` string, nullable
            - `description` string, required
            - `category` 0 | 1 | 2 | 3 | 4 | 5
            - `code` string, required
            - `url` string, required
            - `pluginUrl` string, nullable
            - `supportUrl` string, nullable
            - `accountKeysUrl` string, nullable
            - `logoPath` string, required
            - `transparentLogoPath` string, nullable
            - `slideImage1Path` string, nullable
            - `slideImage2Path` string, nullable
            - `slideImage3Path` string, nullable
            - `color` string, nullable
            - `skipChargify` boolean
            - `siteIntegrations` QPilotCoreModelsSitesSiteIntegration[], nullable
              - …
          - `integrationType` string, required
          - `description` string, required
          - `createdUtc` string, date-time
          - `updatedUtc` string, date-time
        - `policies` QPilotCoreModelsSubscriptionTiersPolicy[], nullable
          - `id` integer
          - `slug` string, nullable
          - `tierId` integer
          - `tier` QPilotCoreModelsSubscriptionTiersTier
            - `id` integer
            - `name` string, nullable
            - `handle` string, nullable
            - `createdUtc` string, date-time
            - `updatedUtc` string, date-time
            - `policies` QPilotCoreModelsSubscriptionTiersPolicy[], nullable
            - `usageOnCreating` boolean
            - `usageOnProcessing` boolean
          - `siteId` integer, nullable
          - `site` QPilotCoreModelsSitesSite — recursive
          - `defaultPolicyId` integer, nullable
          - `defaultPolicy` QPilotCoreModelsSubscriptionTiersPolicy — recursive
          - `pageId` integer, nullable
          - `type` 0 | 1 | 2
          - `name` string, nullable
          - `description` string, nullable
          - `value` string, nullable
          - `active` boolean
          - `createdUtc` string, date-time
          - `updatedUtc` string, date-time
        - `fallbackToQpilotShippingWhenNextimeFails` boolean
        - `logExpirations` QPilotCoreModelsLogExpiration[], nullable
          - `id` integer
          - `sites` QPilotCoreModelsSitesSite — recursive
          - `codLogToClean` string, nullable
          - `expirationDates` integer
        - `active` boolean
        - `currencyIso` string, nullable
        - `sortProductsAlphabetically` boolean
        - `hideOutOfStockProducts` boolean
        - `manageAllowedFrequencies` boolean
        - `allowedFrequencies` QPilotCoreModelsFrequencyTypeValues[], nullable
          - `frequencyType` 'Days' | 'Weeks' | 'Months' | 'DayOfTheWeek' | 'DayOfTheMonth'
          - `displayName` string, nullable
          - `value` integer
      - `name` string, nullable
      - `lastOccurrenceUtc` string, date-time, nullable
      - `nextOccurrenceUtc` string, date-time, required
      - `nextOccurrenceOffset` integer, nullable
      - `status` 'Processing' | 'Success' | 'Failed' | 'Retry' | 'Active' | 'Paused' | 'Deleted' | 'Queued' | 'Snoozed'
      - `lastChangeToDeleted` string, date-time, nullable
      - `createdUtc` string, date-time
      - `updatedUtc` string, date-time
      - `frequencyType` 'Days' | 'Weeks' | 'Months' | 'DayOfTheWeek' | 'DayOfTheMonth', required
      - `frequency` integer, required
      - `utcOffset` integer, nullable
      - `cycles` integer
      - `paymentMethodId` integer, nullable
      - `paymentMethod` QPilotCoreModelsPaymentMethod
        - `id` integer
        - `customerId` integer
        - `type` 'Stripe' | 'AuthorizeNet' | 'Test' | 'PayPal' | 'Braintree' | 'CyberSource' | 'Undefined' | 'Other' | 'Nmi' | 'PayaV1' | 'TrustCommerce' | 'Square' | 'Sage' | 'CyberSourceV2' | 'Checkout' | 'PaypalV2' | 'Shopify' | 'PayPalV3' | 'Airwallex'
        - `gatewayCustomerId` string, nullable
        - `gatewayPaymentId` string, nullable
        - `lastFourDigits` string, nullable
        - `expiration` string, nullable
        - `description` string, nullable
        - `billingFirstName` string, nullable
        - `billingLastName` string, nullable
        - `billingStreet1` string, nullable
        - `billingStreet2` string, nullable
        - `billingCity` string, nullable
        - `billingState` string, nullable
        - `billingPostcode` string, nullable
        - `billingCountry` string, nullable
        - `billingCompany` string, nullable
        - `createdUtc` string, date-time
        - `updatedUtc` string, date-time
        - `expirationDate` string, date-time, nullable
        - `isDefault` boolean, required
        - `gatewayPaymentType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32
        - `status` 'Active' | 'Expired' | 'Revoked' | 'Invalid'
        - `encryptedCardVaultId` integer, nullable
        - `vaultProvider` string, nullable
      - `authorizeOnly` boolean
      - `currencyIso` string, nullable
      - `subtotal` number, float, nullable
      - `shippingTotal` number, float, nullable
      - `taxTotal` number, float, nullable
      - `total` number, float, nullable
      - `shippingRateName` string, nullable
      - `shippingFirstName` string, nullable
      - `shippingLastName` string, nullable
      - `shippingStreet1` string, nullable
      - `shippingStreet2` string, nullable
      - `shippingCity` string, nullable
      - `shippingState` string, nullable
      - `shippingPostcode` string, nullable
      - `shippingCountry` string, nullable
      - `siteShippingAddressId` integer, nullable
      - `siteShippingAddress` QPilotCoreModelsSitesSiteShippingAddress
        - `id` integer
        - `name` string, required
        - `createdUtc` string, date-time
        - `updatedUtc` string, date-time, nullable
        - `siteId` integer
        - `street1` string, required
        - `street2` string, nullable
        - `city` string, required
        - `state` string, nullable
        - `postcode` string, required
        - `country` string, required
        - `phoneNumber` string, nullable
      - `phoneNumber` string, nullable
      - `company` string, nullable
      - `lifetimeValue` number, double
      - `originalExternalId` string, nullable
      - `clientContractId` string, nullable
      - `note` string, nullable
      - `frequencyDisplayName` string, nullable
      - `scheduledOrderItems` QPilotCoreModelsScheduledOrderItem[], nullable
        - `id` integer
        - `scheduledOrderId` integer
        - `productId` integer
        - `product` QPilotCoreModelsProduct
          - `id` integer
          - `siteId` integer
          - `parentProductId` integer, nullable
          - `externalId` string, nullable
          - `type` string, nullable
          - `sku` string, nullable
          - `gtin` string, nullable
          - `mpn` string, nullable
          - `title` string, required
          - `description` string, nullable
          - `price` number, float, required
          - `salePrice` number, float, nullable
          - `length` string, nullable
          - `width` string, nullable
          - `weightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
          - `lengthUnitType` 'Inch' | 'Foot' | 'Yard' | 'Milimeter' | 'Centimeter' | 'Meter'
          - `height` string, nullable
          - `weight` string, nullable
          - `shippingClass` string, nullable
          - `taxClass` string, nullable
          - `imageUrl` string, nullable
          - `imageThumbUrl` string, nullable
          - `addToScheduledOrder` boolean
          - `processScheduledOrder` boolean
          - `availability` 'Undefined' | 'InStock' | 'OutOfStock' | 'Preorder'
          - `stock` integer, nullable
          - `createdUtc` string, date-time
          - `updatedUtc` string, date-time
          - `lifetimeValue` number, double
          - `active` boolean
          - `valid` boolean
          - `validationErrorCode` 1 | 2 | 3 | 4
          - `backordersAllowed` boolean, nullable
          - `metadata` object, nullable
        - `price` number, float, nullable
        - `salePrice` number, float, nullable
        - `originalSalePrice` number, float, nullable
        - `quantity` integer
        - `cycles` integer
        - `minCycles` integer, nullable
        - `maxCycles` integer, nullable
        - `createdUtc` string, date-time
        - `updatedUtc` string, date-time
        - `isReserved` boolean
        - `metadata` object, nullable
        - `metadataJson` string, nullable
      - `estimatedDeliveryDate` string, date-time, nullable
      - `scheduledOrderFailureReason` string, nullable
      - `scheduledOrderFailureSlug` string, nullable
      - `processingErrorCode` 99 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 2000 | 2001 | 3000 | 3001 | 3002
      - `preProcessingValidationResultCode` 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256
      - `origin` 'Merchant' | 'CustomerCheckout' | 'CustomerApi' | 'Import'
      - `isCreationRetry` boolean
      - `scheduledOrderShippingLines` QPilotCoreModelsScheduledOrderShippingLine[], nullable
        - `id` integer
        - `scheduledOrderId` integer, required
        - `scheduledOrder` QPilotCoreModelsScheduledOrder — recursive
        - `selectedShippingMethod` string, nullable
        - `name` string, required
        - `total` number, float, required
        - `deliveryDate` string, date-time, nullable
        - `isUserSelected` boolean
        - `nextOrderDate` string, date-time, nullable
        - `nextShippingDate` string, date-time, nullable
        - `originalShippingRateId` integer, nullable
        - `originalShippingRateName` string, nullable
        - `originalShippingRateBasePrice` number, float, nullable
        - `createdUtc` string, date-time, required
        - `updatedUtc` string, date-time, required
      - `shippingLines` QPilotCoreModelsShippingLine[], nullable
        - `sourceShippingRate` QPilotCoreModelsShippingRate
          - `id` integer
          - `siteId` integer
          - `shippingClass` string, nullable
          - `country` string, nullable
          - `street1` string, nullable
          - `street2` string, nullable
          - `postcode` string, nullable
          - `state` string, nullable
          - `city` string, nullable
          - `pricePerUnit` number, float, nullable
          - `basePrice` number, float
          - `minUnits` integer, nullable
          - `minCycles` integer, nullable
          - `minSubtotal` number, float, nullable
          - `minWeight` number, double, nullable
          - `maxWeight` number, double, nullable
          - `minLength` number, double, nullable
          - `maxLength` number, double, nullable
          - `minHeight` number, double, nullable
          - `maxHeight` number, double, nullable
          - `minWidth` number, double, nullable
          - `maxWidth` number, double, nullable
          - `weightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
          - `lengthUnitType` 'Inch' | 'Foot' | 'Yard' | 'Milimeter' | 'Centimeter' | 'Meter'
          - `name` string, nullable
          - `shippingCarrier` 'FlatRate' | 'USPS' | 'ShipperHQ'
          - `deliveryDaysMin` integer
          - `deliveryDaysMax` integer
          - `createdUtc` string, date-time
          - `updatedUtc` string, date-time
          - `shippingMethods` QPilotCoreModelsShippingMethod[], nullable
          - `shippingMethodsJson` string, nullable
        - `selectedShippingMethod` string, nullable
        - `name` string, nullable
        - `total` number, float
      - `preferredShippingRateOption` string, nullable
      - `enableAutoShippingRate` boolean
      - `importTransactionId` string, uuid, nullable
      - `originSubscriptionId` string, nullable
      - `metadata` object, nullable
    - `succeeded` boolean
    - `isInRepeatTimeWindow` boolean
    - `errorItems` QPilotCoreModelsScheduledOrderProcessingResultErrorItem[], nullable
      - `processingErrorCode` 99 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 2000 | 2001 | 3000 | 3001 | 3002
      - `scheduledOrderFailureReason` string, nullable
      - `preProcessingValidationResultCode` 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256
    - `errorItemsJson` string, nullable
    - `updatedUtc` string, date-time
  - `couponsHistory` QPilotCoreModelsDtoEntitiesScheduledOrderCouponDto[], nullable
    - `coupon` QPilotCoreModelsDtoEntitiesCouponDto
      - `id` integer
      - `siteId` integer
      - `code` string, required
      - `name` string, nullable
      - `country` string, nullable
      - `postcode` string, nullable
      - `state` string, nullable
      - `city` string, nullable
      - `minUnits` integer, nullable
      - `maxUnits` integer, nullable
      - `minWeight` number, double, nullable
      - `maxWeight` number, double, nullable
      - `weightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
      - `cycles` integer
      - `maxCyclesPerSite` integer, nullable
      - `minSubtotal` number, float, nullable
      - `maxSubtotal` number, float, nullable
      - `maxCyclesPerCustomer` integer, nullable
      - `assignments` integer, nullable
      - `maxAssignmentsPerCustomer` integer, nullable
      - `maxAssignmentsPerSite` integer, nullable
      - `minScheduledOrderCycles` integer, nullable
      - `maxScheduledOrderCycles` integer, nullable
      - `maxCyclesPerScheduledOrder` integer, nullable
      - `maxDiscountPerCustomer` number, double, nullable
      - `productId` integer, nullable
      - `productDiscountNotAppliesWhenItHasSalePrice` boolean
      - `subtotalDiscountAppliesToRegularPrice` boolean
      - `product` QPilotCoreModelsDtoEntitiesProductDto
        - `productId` integer
        - `siteId` integer
        - `parentProduct` QPilotCoreModelsDtoEntitiesProductDto — recursive
        - `createdUtc` string, date-time
        - `updatedUtc` string, date-time
        - `lifetimeValue` number, double, nullable
        - `validationErrorCode` 1 | 2 | 3 | 4
        - `syncOnUpdate` boolean, nullable
        - `imageUrl` string, nullable
        - `id` string, required
        - `title` string, required
        - `price` number, float, required
        - `parentProductId` string, nullable
        - `sku` string, nullable
        - `gtin` string, nullable
        - `mpn` string, nullable
        - `description` string, nullable
        - `salePrice` number, float, nullable
        - `length` string, nullable
        - `width` string, nullable
        - `height` string, nullable
        - `weight` string, nullable
        - `weightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
        - `lengthUnitType` 'Inch' | 'Foot' | 'Yard' | 'Milimeter' | 'Centimeter' | 'Meter'
        - `shippingClass` string, nullable
        - `taxClass` string, nullable
        - `addToScheduledOrder` boolean
        - `processScheduledOrder` boolean
        - `availability` 'Undefined' | 'InStock' | 'OutOfStock' | 'Preorder'
        - `stock` integer, nullable
        - `productGroupIds` integer[], nullable
        - `availableFrequencies` QPilotCoreModelsFrequencyTypeValues[], nullable
          - `frequencyType` 'Days' | 'Weeks' | 'Months' | 'DayOfTheWeek' | 'DayOfTheMonth'
          - `displayName` string, nullable
          - `value` integer
        - `backordersAllowed` boolean, nullable
        - `metadata` object, nullable
        - `active` boolean, nullable
        - `valid` boolean, nullable
      - `productGroupId` integer, nullable
      - `productGroup` QPilotCoreModelsDtoEntitiesProductGroupDto
        - `productGroupId` integer, nullable
        - `name` string, required
        - `createdUtc` string, date-time, nullable
        - `updatedUtc` string, date-time, nullable
        - `siteId` integer
        - `products` QPilotCoreModelsDtoEntitiesProductGroupProductsDto[], nullable
          - `id` string, required
          - `title` string, nullable
      - `productsExternalIds` string[], nullable
      - `lifetimeValue` number, double
      - `amount` number, double
      - `discountType` 'None' | 'ReduceSubtotalByPercentage' | 'ReduceSubtotalByAmount' | 'ReduceShippingByPercentage' | 'ReduceShippingByAmount' | 'SetShippingToAmount' | 'ReduceProductPriceByPercentage' | 'ReduceProductPriceByAmount'
      - `maxPercentageDiscount` number, double, nullable
      - `expirationDate` string, date-time, nullable
      - `applyExpirationDateToExisting` boolean
      - `isStackable` boolean
      - `createdUtc` string, date-time
      - `updatedUtc` string, date-time
      - `includeCustomerEmails` string, nullable
      - `excludeCustomerEmails` string, nullable
      - `active` boolean
      - `valid` boolean
      - `couponInvalidationCode` 'Expired' | 'SiteLimitExceeded' | 'ScheduledOrderLimitExceeded' | 'CustomerLimitExceeded' | 'GeographyNotMet' | 'TotalsNotMet' | 'UnitsNotMet' | 'MinWeightNotMet' | 'MaxWeightNotMet' | 'ScheduledOrderCyclesNotMet' | 'CustomerInclusionList' | 'CustomerExclusionList' | 'NonStackable' | 'ManuallyRemoved' | 'MaxAssignmentsReached' | 'MapRemoved' | 'ProductNotPresent' | 'SubtotalDiscountTypeMixed' | 'ItemHasSalePrice'
    - `couponId` integer
    - `scheduledOrderId` integer
    - `lifetimeValue` number, double
    - `createdUtc` string, date-time
    - `updatedUtc` string, date-time, nullable
    - `cycles` integer
    - `valid` boolean
    - `creating` boolean
    - `couponInvalidationCode` 'Expired' | 'SiteLimitExceeded' | 'ScheduledOrderLimitExceeded' | 'CustomerLimitExceeded' | 'GeographyNotMet' | 'TotalsNotMet' | 'UnitsNotMet' | 'MinWeightNotMet' | 'MaxWeightNotMet' | 'ScheduledOrderCyclesNotMet' | 'CustomerInclusionList' | 'CustomerExclusionList' | 'NonStackable' | 'ManuallyRemoved' | 'MaxAssignmentsReached' | 'MapRemoved' | 'ProductNotPresent' | 'SubtotalDiscountTypeMixed' | 'ItemHasSalePrice'
  - `locked` boolean
  - `lastEditableDate` string, date-time, nullable
  - `stripeUrl` string, nullable
  - `displaySalePrice` boolean
  - `lastChangeToDeleted` string, nullable
  - `dunning` QPilotCoreModelsDtoEntitiesScheduledOrderDunningMessageDto
    - `isEnabled` boolean
    - `message` string, nullable
  - `bundleId` integer, nullable
  - `bundleName` string, nullable
  - `originSubscriptionId` string, nullable
  - `customerId` string, nullable
  - `customer` QPilotCoreModelsDtoRequestsPostPutCustomerDto
    - `id` string, required
    - `customerId` integer
    - `siteId` integer
    - `email` string, required
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `shippingFirstName` string, nullable
    - `shippingLastName` string, nullable
    - `shippingStreet1` string, nullable
    - `shippingStreet2` string, nullable
    - `shippingCity` string, nullable
    - `shippingState` string, nullable
    - `shippingPostcode` string, nullable
    - `shippingCountry` string, nullable
    - `billingFirstName` string, nullable
    - `billingLastName` string, nullable
    - `billingStreet1` string, nullable
    - `billingStreet2` string, nullable
    - `billingCity` string, nullable
    - `billingState` string, nullable
    - `billingPostcode` string, nullable
    - `billingCountry` string, nullable
    - `phoneNumber` string, nullable
    - `company` string, nullable
    - `shippingCompany` string, nullable
    - `billingCompany` string, nullable
    - `paymentMethods` QPilotCoreModelsDtoRequestsPostPutPaymentMethodDto[], nullable
      - `customerId` string, required
      - `type` 'Stripe' | 'AuthorizeNet' | 'Test' | 'PayPal' | 'Braintree' | 'CyberSource' | 'Undefined' | 'Other' | 'Nmi' | 'PayaV1' | 'TrustCommerce' | 'Square' | 'Sage' | 'CyberSourceV2' | 'Checkout' | 'PaypalV2' | 'Shopify' | 'PayPalV3' | 'Airwallex'
      - `gatewayCustomerId` string, nullable
      - `gatewayPaymentId` string, nullable
      - `description` string, required
      - `expiration` string, nullable
      - `lastFourDigits` string, nullable
      - `billingFirstName` string, nullable
      - `billingLastName` string, nullable
      - `billingStreet1` string, nullable
      - `billingStreet2` string, nullable
      - `billingCity` string, nullable
      - `billingState` string, nullable
      - `billingPostcode` string, nullable
      - `billingCountry` string, nullable
      - `billingCompany` string, nullable
      - `isDefault` boolean, nullable
      - `gatewayPaymentType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32
    - `lifetimeValue` number, double
    - `createdUtc` string, date-time
    - `updatedUtc` string, date-time
    - `metadata` object, nullable
  - `siteId` integer, nullable
  - `site` QPilotCoreModelsDtoEntitiesSiteDto
    - `id` integer
    - `userId` integer
    - `url` string, nullable
    - `baseUrlWebHook` string, nullable
    - `scheduledOrdersClientPageUrl` string, nullable
    - `paymentMethodsPageUrl` string, nullable
    - `logoUrl` string, nullable
    - `name` string, nullable
    - `email` string, nullable
    - `zipCode` string, nullable
    - `shippingIntegrations` QPilotCoreModelsShippingIntegration[], nullable
      - `id` integer
      - `siteId` integer
      - `shippingCarrierType` 'FlatRate' | 'USPS' | 'ShipperHQ', required
      - `apiKey1` string, required
      - `apiKey2` string, nullable
      - `apiKey3` string, nullable
      - `apiKey4` string, nullable
      - `isTest` boolean, required
      - `createdUtc` string, date-time
      - `updatedUtc` string, date-time
    - `createdUtc` string, date-time
    - `updatedUtc` string, date-time
    - `isProduction` boolean
    - `orderProcessingStartTime` string, date-span, nullable
    - `orderProcessingEndTime` string, date-span, nullable
    - `orderProcessingOffset` integer, nullable
    - `utcOffset` integer, nullable
    - `lockDurationDays` integer, nullable
    - `isShowingNotes` boolean
    - `isShowCoupons` boolean
    - `noScheduleOrdersBody` string, nullable
    - `noScheduleOrdersLink` string, nullable
    - `isStackedButtons` boolean
    - `isDisplayScheduledOrderId` boolean
    - `showProductTitleOnImages` boolean
    - `enableProductCarouselAutoSlide` boolean
    - `allowRetryScheduledOrder` boolean
    - `isProcessingPaused` boolean
    - `lastProcessingPausedUtc` string, date-time, nullable
    - `failedConnectAttempts` integer
    - `hasActiveInvalidProducts` boolean, nullable
    - `themingSettings` QPilotCoreModelsEmailsSiteThemingSettings
      - `emailSettings` QPilotCoreModelsEmailsEmailTemplatesStyleSettings
        - `logoBackgroundColor` string, nullable
        - `bannerBackgroundColor` string, nullable
        - `bannerFontColor` string, nullable
        - `scheduledOrderTableColor` string, nullable
        - `scheduledOrderFontColor` string, nullable
        - `contentTableColor` string, nullable
        - `bodyContainerBackgroundColor` string, nullable
        - `contentBackgroundColor` string, nullable
        - `contentFontColor` string, nullable
        - `customStyles` string, nullable
      - `resourcesStylesSettings` object, nullable
      - `notificationsComponentGeneralInformationAreaEnabled` boolean
    - `metadata` object, nullable
    - `metadataJson` string, nullable
    - `availableFrequencies` QPilotCoreModelsFrequencyTypeValues[], nullable
      - `frequencyType` 'Days' | 'Weeks' | 'Months' | 'DayOfTheWeek' | 'DayOfTheMonth'
      - `displayName` string, nullable
      - `value` integer
    - `defaultWeightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
    - `defaultLengthUnitType` 'Inch' | 'Foot' | 'Yard' | 'Milimeter' | 'Centimeter' | 'Meter'
    - `phoneNumber` string, nullable
    - `baseUrl` string, nullable
    - `createOrderEndpoint` string, nullable
    - `orderProcessedEndpoint` string, nullable
    - `failOrderEndpoint` string, nullable
    - `updateProductAvailabilityEndpoint` string, nullable
    - `healthCheckPostEndpoint` string, nullable
    - `healthCheckPutEndpoint` string, nullable
    - `repeatProcessingAllowedWindow` integer, nullable
    - `repeatProcessingAllowedWindowUnitType` 'Minutes' | 'Hours' | 'Days'
    - `supportsProcessingWindow` boolean
    - `active` boolean
    - `currencyIso` string, nullable
    - `fallbackToQpilotShippingWhenNextimeFails` boolean
  - `name` string, nullable
  - `nextOccurrenceUtc` string, nullable
  - `nextOccurrenceOffset` integer, nullable
  - `status` 'Processing' | 'Success' | 'Failed' | 'Retry' | 'Active' | 'Paused' | 'Deleted' | 'Queued' | 'Snoozed'
  - `frequencyType` 'Days' | 'Weeks' | 'Months' | 'DayOfTheWeek' | 'DayOfTheMonth', required
  - `frequencyDisplayName` string, nullable
  - `frequency` integer, required
  - `cycles` integer, nullable
  - `paymentMethodId` integer, nullable
  - `paymentMethod` QPilotCoreModelsDtoEntitiesPaymentMethodDto
    - `id` integer
    - `status` 'Active' | 'Expired' | 'Revoked' | 'Invalid'
    - `createdUtc` string, date-time
    - `updatedUtc` string, date-time
    - `expirationDate` string, date-time, nullable
    - `customerId` string, required
    - `type` 'Stripe' | 'AuthorizeNet' | 'Test' | 'PayPal' | 'Braintree' | 'CyberSource' | 'Undefined' | 'Other' | 'Nmi' | 'PayaV1' | 'TrustCommerce' | 'Square' | 'Sage' | 'CyberSourceV2' | 'Checkout' | 'PaypalV2' | 'Shopify' | 'PayPalV3' | 'Airwallex'
    - `gatewayCustomerId` string, nullable
    - `gatewayPaymentId` string, nullable
    - `description` string, required
    - `expiration` string, nullable
    - `lastFourDigits` string, nullable
    - `billingFirstName` string, nullable
    - `billingLastName` string, nullable
    - `billingStreet1` string, nullable
    - `billingStreet2` string, nullable
    - `billingCity` string, nullable
    - `billingState` string, nullable
    - `billingPostcode` string, nullable
    - `billingCountry` string, nullable
    - `billingCompany` string, nullable
    - `isDefault` boolean, nullable
    - `gatewayPaymentType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32
  - `authorizeOnly` boolean, nullable
  - `currencyIso` string, nullable
  - `subtotal` number, float, nullable
  - `shippingTotal` number, float, nullable
  - `taxTotal` number, float, nullable
  - `total` number, float, nullable
  - `shippingRateName` string, nullable
  - `shippingRateId` string, nullable
  - `preferredShippingRateOption` string, nullable
  - `enableAutoShippingRate` boolean
  - `shippingFirstName` string, nullable
  - `shippingLastName` string, nullable
  - `shippingStreet1` string, nullable
  - `shippingStreet2` string, nullable
  - `shippingCity` string, nullable
  - `shippingState` string, nullable
  - `shippingPostcode` string, nullable
  - `shippingCountry` string, nullable
  - `phoneNumber` string, nullable
  - `company` string, nullable
  - `lifetimeValue` number, double, nullable
  - `originalExternalId` string, nullable
  - `clientContractId` string, nullable
  - `note` string, nullable
  - `scheduledOrderItems` QPilotCoreModelsDtoEntitiesScheduledOrderItemDto[], nullable
    - `id` integer
    - `product` QPilotCoreModelsDtoEntitiesProductDto
      - `productId` integer
      - `siteId` integer
      - `parentProduct` QPilotCoreModelsDtoEntitiesProductDto — recursive
      - `createdUtc` string, date-time
      - `updatedUtc` string, date-time
      - `lifetimeValue` number, double, nullable
      - `validationErrorCode` 1 | 2 | 3 | 4
      - `syncOnUpdate` boolean, nullable
      - `imageUrl` string, nullable
      - `id` string, required
      - `title` string, required
      - `price` number, float, required
      - `parentProductId` string, nullable
      - `sku` string, nullable
      - `gtin` string, nullable
      - `mpn` string, nullable
      - `description` string, nullable
      - `salePrice` number, float, nullable
      - `length` string, nullable
      - `width` string, nullable
      - `height` string, nullable
      - `weight` string, nullable
      - `weightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
      - `lengthUnitType` 'Inch' | 'Foot' | 'Yard' | 'Milimeter' | 'Centimeter' | 'Meter'
      - `shippingClass` string, nullable
      - `taxClass` string, nullable
      - `addToScheduledOrder` boolean
      - `processScheduledOrder` boolean
      - `availability` 'Undefined' | 'InStock' | 'OutOfStock' | 'Preorder'
      - `stock` integer, nullable
      - `productGroupIds` integer[], nullable
      - `availableFrequencies` QPilotCoreModelsFrequencyTypeValues[], nullable
        - `frequencyType` 'Days' | 'Weeks' | 'Months' | 'DayOfTheWeek' | 'DayOfTheMonth'
        - `displayName` string, nullable
        - `value` integer
      - `backordersAllowed` boolean, nullable
      - `metadata` object, nullable
      - `active` boolean, nullable
      - `valid` boolean, nullable
    - `createdUtc` string, date-time
    - `updatedUtc` string, date-time
    - `scheduledOrderId` integer
    - `productId` string, required
    - `price` number, float, nullable
    - `salePrice` number, float, nullable
    - `originalSalePrice` number, float, nullable
    - `quantity` integer, required
    - `cycles` integer, nullable
    - `minCycles` integer, nullable
    - `maxCycles` integer, nullable
    - `metadata` object, nullable
  - `estimatedDeliveryDate` string, date-time, nullable
  - `origin` 'Merchant' | 'CustomerCheckout' | 'CustomerApi' | 'Import'
  - `coupons` string[], nullable
  - `metadata` object, nullable
  - `utcOffset` integer, nullable
  - `importTransactionId` string, uuid, nullable
  - `snoozeUntilUtc` string, date-time, nullable
  - `snoozeDuration` integer, nullable
  - `snoozeDurationType` string, nullable
  - `processingCycles` QPilotCoreModelsDtoEntitiesProcessingCycleDto[], nullable
    - `id` integer
    - `processingId` string, nullable
    - `createdUtc` string, date-time
    - `startDateUtc` string, date-time
    - `endDateUtc` string, date-time, nullable
    - `status` 'Processing' | 'Success' | 'Failed' | 'Retry' | 'Void'
    - `retryCount` integer
    - `scheduledOrderId` integer
    - `currencyIso` string, nullable
    - `total` number, float, nullable
    - `chargedTotal` number, float, nullable
    - `chargeTotalDiscount` number, float, nullable
    - `scheduledOrderFailureReason` string, nullable
    - `paymentGatewayTransactionId` string, nullable
    - `paymentGatewayResponse` string, nullable
    - `paymentGatewayErrorDescription` string, nullable
    - `paymentGatewayErrorCode` string, nullable
    - `clientOrderId` string, nullable
    - `clientOrderCreatedDateUtc` string, date-time, nullable
    - `processingErrorCode` 99 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 2000 | 2001 | 3000 | 3001 | 3002
    - `preProcessingValidationResultCode` 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256
    - `processingLogs` QPilotCoreModelsProcessingLog[], nullable
      - `id` integer
      - `createdUtc` string, date-time, required
      - `type` 'ProcessingStart' | 'ProcessingStartManualRetry' | 'ProcessingStartAutomaticRetry' | 'ProcessingError' | 'ProcessingSuccess' | 'ProcessingStartManualContinue' | 'ProcessingInformation', required
      - `description` string, required
      - `processingCycleId` integer, required
      - `processingStep` 'StartPreProcessing' | 'PreProcessingError' | 'FinishedPreProcessing' | 'StartProcessing' | 'ProcessingError' | 'FinishedProcessing' | 'NotifyingErrorToClientIntegration' | 'NotifyedErrorToClientIntegration' | 'InitializingCouponsAndFeeLines' | 'CouponsAndFeeLinesInitialized' | 'CreatingClientOrder' | 'ClientOrderCreated' | 'UpdatingWooCommerceSiteMetadata' | 'WooCommerceSiteMetadaUpdated' | 'UpdatingProcessingCycleTotals' | 'ProcessingCycleTotalsUpdated' | 'UpdatingProcessingCycleMetadata' | 'ProcessingCycleMetadataUpdated' | 'CreatingPayment' | 'PaymentCreated' | 'ProcessingPayment' | 'PaymentProcessed' | 'AddingChargifyUsage' | 'ChargifyUsageAdded' | 'SendingScheduledOrderProcessedWebhook' | 'ScheduledOrderProcessedWebhookSent' | 'SendingWooCommerceNotification' | 'WooCommerceNotificationSent' | 'ScheduledOrderUpdatingCouponUsage' | 'ScheduledOrderCouponUsageUpdated' | 'ScheduledOrderUpdatingCouponAssignments' | 'ScheduledOrderCouponAssignmentsUpdated' | 'ApplyingMaps' | 'MapsApplied' | 'ScheduledOrderUpdatingItems' | 'ScheduledOrderUpdatedItems' | 'LoggingScheduledOrderFailure' | 'ScheduledOrderFailureLogged' | 'SendingFailureCustomerEmail' | 'CustomerEmailError' | 'FailureCustomerEmailSent' | 'SendingFailureMerchantEmail' | 'FailureMerchantEmailError' | 'FailureMerchantEmailSent' | 'UpdatingClientOrder' | 'ClientOrderUpdated' | 'UpdatingFailedOrder' | 'FailedOrderUpdated'
      - `processingStage` 'PreProcessing' | 'ClientOrderCreation' | 'PaymentProcessing' | 'ClientOrderUpdate' | 'OtherProcessingTasks' | 'GenericProcessing'
      - `isInternal` boolean
    - `origin` 0 | 1 | 2 | 3 | 4 | 5 | 6
    - `scheduledOrderTotal` number, float, nullable
    - `scheduledOrderCustomerEmail` string, nullable
    - `scheduledOrderLastOccurrenceUtc` string, date-time, nullable
    - `scheduledOrderNextOccurrenceUtc` string, date-time, nullable
    - `metadata` object, nullable
    - `metadataJson` string, nullable
    - `isRetryable` boolean
    - `canBeCompleted` boolean, nullable
    - `canBeVoid` boolean, nullable
    - `canBeEdited` boolean, nullable
    - `paymentSucceeded` boolean, nullable
  - `eventLogs` QPilotCoreModelsDtoEntitiesEventLogDto[], nullable
    - `id` integer
    - `eventUtc` string, date-time
    - `userId` integer, nullable
    - `siteId` integer, nullable
    - `scheduledOrderId` integer, nullable
    - `customerId` integer, nullable
    - `paymentMethodId` integer, nullable
    - `productId` integer, nullable
    - `eventOriginatorId` integer, nullable
    - `eventType` 'Undefined' | 'None' | 'Create' | 'Update' | 'Delete' | 'ImportProductTaskHappened' | 'ImportOrderTaskHappened' | 'ScheduledOrderProcessed' | 'ScheduledOrderFailed' | 'ProductPurchased' | 'ProductAdded' | 'ProductRemoved' | 'BatchAction' | 'ManuallyActivated' | 'ManuallyPaused' | 'ChangedAvailability' | 'ChangedProductActiveFlag' | 'MapError' | 'ProcessingCycleVoid' | 'ProcessingCycleEdit' | 'ProcessingCycleComplete' | 'WebhookError' | 'CustomerRestored' | 'ManuallyFailed' | 'CouponAdded' | 'SkipCycleOffer' | 'FreeProductOffer' | 'DiscountOffer' | 'Offering' | 'ScheduledOrderEnteredDunning' | 'DunningRetryAttempt' | 'DunningMaxRetriesReached' | 'DunningRecovered' | 'DunningResolved' | 'DunningActionAppliedNoAction' | 'DunningActionAppliedSkipped' | 'DunningActionAppliedCanceled' | 'ScheduledOrderSnoozed' | 'ScheduledOrderReactivatedFromSnooze'
    - `entityType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17
    - `exceptionType` 'Undefined' | 'None' | 'PaymentCustomer' | 'PaymentProcessing' | 'MissingData' | 'SystemFailure' | 'MapError' | 'WebhookErrorConfiguration' | 'WebhookErrorHttp'
    - `eventOriginatorType` 0 | 1 | 2 | 3 | 4 | 5
    - `description` string, nullable
    - `customer` QPilotCoreModelsDtoEntitiesEventLogCustomerDto
      - `externalId` string, nullable
      - `firstName` string, nullable
      - `lastName` string, nullable
    - `originatorFormatted` string, nullable
    - `eventVerb` string, nullable
    - `descriptionFormatted` string, nullable

---

[API](https://skmtc.net/qpilot/apis/qpilot-api.md) · [All operations](https://skmtc.net/qpilot/apis/qpilot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qpilot/qpilot-api/versions/b2f13a808fdd/schema)
