---
title: "Create Site"
method: POST
path: "/Sites"
tags: ["Sites"]
---

# Create Site

`POST /Sites`

## Request body

- QPilotCoreModulesSitesActionsCreateSiteActionData
  - `url` string, required
  - `baseUrlWebHook` string, nullable
  - `scheduledOrdersClientPageUrl` string, nullable
  - `paymentMethodsPageUrl` string, nullable
  - `name` string, required
  - `email` string, required
  - `apiKey1` string, nullable
  - `apiKey2` string, nullable
  - `apiKey3` string, nullable
  - `baseUrl` string, nullable
  - `createOrderEndpoint` string, nullable
  - `orderProcessedEndpoint` string, nullable
  - `failOrderEndpoint` string, nullable
  - `updateProductAvailabilityEndpoint` string, nullable
  - `healthCheckPostEndpoint` string, nullable
  - `healthCheckPutEndpoint` string, nullable
  - `clientSecret` string, nullable
  - `subscriptionStatus` string, nullable
  - `subscriptionPaymentMethodDescription` string, nullable
  - `subscriptionProductHandle` string, nullable
  - `subscriptionNextBillingDate` string, date-time, nullable
  - `subscriptionId` string, nullable
  - `subscriptionUpdatedUtc` string, date-time, nullable
  - `currencyIso` string, nullable

## Response `200`

Success

- 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

---

[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/revisions/b2f13a808fdd/schema)
