---
updatedAt: 2026-05-21T10:46:20.000Z
agentTools:
  projectIndex: https://docs.qpilot.cloud/llms.txt
---

# Update Shipping Rate

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "QPilot API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.qpilot.cloud"
    }
  ],
  "paths": {
    "/Sites/{siteId}/ShippingRates/{id}": {
      "put": {
        "tags": [
          "ShippingRates"
        ],
        "summary": "Update Shipping Rate",
        "parameters": [
          {
            "name": "siteId",
            "in": "path",
            "description": "The site identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The shipping rate identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "description": "The updated shipping rate",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/QPilot.Core.Models.Dto.Entities.ShippingRateDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QPilot.Core.Models.Dto.Entities.ShippingRateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/QPilot.Core.Models.Dto.Entities.ShippingRateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/QPilot.Core.Models.Dto.Entities.ShippingRateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QPilot.Core.Models.Dto.Responses.ShippingRateResponseDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QPilot.Core.Models.Dto.Responses.ShippingRateResponseDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QPilot.Core.Models.Dto.Responses.ShippingRateResponseDto"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "QPilot.Core.Models.Dto.Entities.ShippingRateDto": {
        "type": "object",
        "properties": {
          "siteId": {
            "type": "integer",
            "format": "int64"
          },
          "shippingClass": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "maxLength": 10,
            "minLength": 0,
            "pattern": "^[\\w][*\\w ]*[^ ]$",
            "type": "string",
            "nullable": true
          },
          "postcodesText": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "pricePerUnit": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "basePrice": {
            "type": "number",
            "format": "float"
          },
          "minUnits": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "minCycles": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "minSubtotal": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "minWeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxWeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minLength": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxLength": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minHeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxHeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minWidth": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxWidth": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "weightUnitType": {
            "$ref": "#/components/schemas/QPilot.Core.Models.WeightUnitType"
          },
          "lengthUnitType": {
            "$ref": "#/components/schemas/QPilot.Core.Models.LengthUnitType"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "shippingCarrier": {
            "$ref": "#/components/schemas/QPilot.Core.Models.ShippingCarrier"
          },
          "deliveryDaysMin": {
            "type": "integer",
            "format": "int32"
          },
          "deliveryDaysMax": {
            "type": "integer",
            "format": "int32"
          },
          "shippingMethods": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Dto.Responses.ShippingRateResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "siteId": {
            "type": "integer",
            "format": "int64"
          },
          "site": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Sites.Site"
          },
          "shippingClass": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "pricePerUnit": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "basePrice": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "minUnits": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "minCycles": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "minSubtotal": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "minWeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxWeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minLength": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxLength": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minHeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxHeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minWidth": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxWidth": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "weightUnitType": {
            "$ref": "#/components/schemas/QPilot.Core.Models.WeightUnitType"
          },
          "lengthUnitType": {
            "$ref": "#/components/schemas/QPilot.Core.Models.LengthUnitType"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "shippingCarrier": {
            "$ref": "#/components/schemas/QPilot.Core.Models.ShippingCarrier"
          },
          "deliveryDaysMin": {
            "type": "integer",
            "format": "int32"
          },
          "deliveryDaysMax": {
            "type": "integer",
            "format": "int32"
          },
          "createdUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedUtc": {
            "type": "string",
            "format": "date-time"
          },
          "shippingMethods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QPilot.Core.Models.ShippingMethod"
            },
            "nullable": true
          },
          "shippingMethodsJson": {
            "type": "string",
            "nullable": true
          },
          "postcodesText": {
            "type": "string",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Emails.EmailTemplatesStyleSettings": {
        "type": "object",
        "properties": {
          "logoBackgroundColor": {
            "type": "string",
            "nullable": true
          },
          "bannerBackgroundColor": {
            "type": "string",
            "nullable": true
          },
          "bannerFontColor": {
            "type": "string",
            "nullable": true
          },
          "scheduledOrderTableColor": {
            "type": "string",
            "nullable": true
          },
          "scheduledOrderFontColor": {
            "type": "string",
            "nullable": true
          },
          "contentTableColor": {
            "type": "string",
            "nullable": true
          },
          "bodyContainerBackgroundColor": {
            "type": "string",
            "nullable": true
          },
          "contentBackgroundColor": {
            "type": "string",
            "nullable": true
          },
          "contentFontColor": {
            "type": "string",
            "nullable": true
          },
          "customStyles": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Emails.ResourceStyleSettings": {
        "type": "object",
        "properties": {
          "fontFamilyName": {
            "type": "string",
            "nullable": true
          },
          "fontSize": {
            "type": "string",
            "nullable": true
          },
          "fontColor": {
            "type": "string",
            "nullable": true
          },
          "textClass": {
            "type": "string",
            "nullable": true
          },
          "backgroundColor": {
            "type": "string",
            "nullable": true
          },
          "borderColor": {
            "type": "string",
            "nullable": true
          },
          "borderWidthPixels": {
            "type": "string",
            "nullable": true
          },
          "containerClass": {
            "type": "string",
            "nullable": true
          },
          "mainClass": {
            "type": "string",
            "nullable": true
          },
          "customCss": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Emails.SiteThemingSettings": {
        "type": "object",
        "properties": {
          "emailSettings": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Emails.EmailTemplatesStyleSettings"
          },
          "resourcesStylesSettings": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/QPilot.Core.Models.Emails.ResourceStyleSettings"
            },
            "nullable": true
          },
          "notificationsComponentGeneralInformationAreaEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.FrequencyType": {
        "enum": [
          "Days",
          "Weeks",
          "Months",
          "DayOfTheWeek",
          "DayOfTheMonth"
        ],
        "type": "string"
      },
      "QPilot.Core.Models.FrequencyTypeValues": {
        "type": "object",
        "properties": {
          "frequencyType": {
            "$ref": "#/components/schemas/QPilot.Core.Models.FrequencyType"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Integration": {
        "required": [
          "code",
          "description",
          "logoPath",
          "name",
          "url"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "subtitle": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "subtitle2": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "header": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "description": {
            "maxLength": 2000,
            "minLength": 0,
            "type": "string"
          },
          "category": {
            "$ref": "#/components/schemas/QPilot.Core.Models.IntegrationCategory"
          },
          "code": {
            "maxLength": 16,
            "minLength": 0,
            "type": "string"
          },
          "url": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "pluginUrl": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "supportUrl": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "accountKeysUrl": {
            "type": "string",
            "nullable": true
          },
          "logoPath": {
            "minLength": 1,
            "type": "string"
          },
          "transparentLogoPath": {
            "type": "string",
            "nullable": true
          },
          "slideImage1Path": {
            "type": "string",
            "nullable": true
          },
          "slideImage2Path": {
            "type": "string",
            "nullable": true
          },
          "slideImage3Path": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "skipChargify": {
            "type": "boolean"
          },
          "siteIntegrations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QPilot.Core.Models.Sites.SiteIntegration"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.IntegrationCategory": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "QPilot.Core.Models.LengthUnitType": {
        "enum": [
          "Inch",
          "Foot",
          "Yard",
          "Milimeter",
          "Centimeter",
          "Meter"
        ],
        "type": "string"
      },
      "QPilot.Core.Models.LogExpiration": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "sites": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Sites.Site"
          },
          "codLogToClean": {
            "type": "string",
            "nullable": true
          },
          "expirationDates": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.SecretKey": {
        "required": [
          "description",
          "integrationType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "userId": {
            "type": "integer",
            "format": "int64"
          },
          "user": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Users.User"
          },
          "key": {
            "maxLength": 32,
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "integrationId": {
            "type": "integer",
            "format": "int64"
          },
          "integration": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Integration"
          },
          "integrationType": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "createdUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedUtc": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.ShippingCarrier": {
        "enum": [
          "FlatRate",
          "USPS",
          "ShipperHQ"
        ],
        "type": "string"
      },
      "QPilot.Core.Models.ShippingMethod": {
        "enum": [
          "Default",
          "UspsFirstClass",
          "UspsFirstClassCommercial",
          "UspsFirstClassHFPCommercial",
          "UspsPriority",
          "UspsPriorityCommercial",
          "UspsPriorityCpp",
          "UspsPriorityHFPCommercial",
          "UspsPriorityHFPCPP",
          "UspsPriorityMailExpress",
          "UspsPriorityMailExpressCommercial",
          "UspsPriorityMailExpressCPP",
          "UspsPriorityMailExpressSh",
          "UspsPriorityMailExpressShCommercial",
          "UspsPriorityMailExpressHFP",
          "UspsPriorityMailExpressHFPCommercial",
          "UspsPriorityMailExpressHFPCPP",
          "UspsPriorityMailCubic",
          "UspsRetailGround",
          "UspsMedia",
          "UspsLibrary",
          "UspsInternational"
        ],
        "type": "string"
      },
      "QPilot.Core.Models.Sites.ComponentItem": {
        "type": "object",
        "properties": {
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Sites.CustomComponentContent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "htmlContent": {
            "type": "string",
            "nullable": true
          },
          "cssContent": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Sites.CustomerPortalStyleSettings": {
        "type": "object",
        "properties": {
          "largeDisplayBreakpoint": {
            "type": "string",
            "nullable": true
          },
          "primaryColor": {
            "type": "string",
            "nullable": true
          },
          "onPrimaryColor": {
            "type": "string",
            "nullable": true
          },
          "surfaceColor": {
            "type": "string",
            "nullable": true
          },
          "onSurfaceColor": {
            "type": "string",
            "nullable": true
          },
          "errorColor": {
            "type": "string",
            "nullable": true
          },
          "onErrorColor": {
            "type": "string",
            "nullable": true
          },
          "customStyles": {
            "type": "string",
            "nullable": true
          },
          "onDiscountBarColor": {
            "type": "string",
            "nullable": true
          },
          "discountBarColor": {
            "type": "string",
            "nullable": true
          },
          "buttonBorderThicknessPx": {
            "type": "integer",
            "format": "int32"
          },
          "buttonBorderRadiusPx": {
            "type": "integer",
            "format": "int32"
          },
          "buttonBorderColor": {
            "type": "string",
            "nullable": true
          },
          "selectedButtonBackgroundColor": {
            "type": "string",
            "nullable": true
          },
          "selectedButtonTextColor": {
            "type": "string",
            "nullable": true
          },
          "unselectedButtonTextColor": {
            "type": "string",
            "nullable": true
          },
          "maxImageWidthPx": {
            "type": "integer",
            "format": "int32"
          },
          "maxImageHeightPx": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Sites.DetailedSummaryComponentConfig": {
        "type": "object",
        "properties": {
          "customCss": {
            "type": "string",
            "nullable": true
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QPilot.Core.Models.Sites.ComponentItem"
            },
            "nullable": true
          },
          "unifiedOrder": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QPilot.Core.Models.Sites.UnifiedComponentOrderItem"
            },
            "nullable": true
          },
          "customComponents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QPilot.Core.Models.Sites.CustomComponentContent"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Sites.Site": {
        "required": [
          "email",
          "name",
          "url"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "userId": {
            "type": "integer",
            "format": "int64"
          },
          "url": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "baseUrlWebHook": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "logoUrl": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "scheduledOrdersClientPageUrl": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "email": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "zipCode": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "createdUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedUtc": {
            "type": "string",
            "format": "date-time"
          },
          "isProduction": {
            "type": "boolean"
          },
          "orderProcessingStartTime": {
            "type": "string",
            "format": "date-span",
            "nullable": true
          },
          "orderProcessingEndTime": {
            "type": "string",
            "format": "date-span",
            "nullable": true
          },
          "orderProcessingOffset": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "utcOffset": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lockDurationDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isShowingNotes": {
            "type": "boolean"
          },
          "isShowCoupons": {
            "type": "boolean"
          },
          "isStackedButtons": {
            "type": "boolean"
          },
          "isDisplayScheduledOrderId": {
            "type": "boolean"
          },
          "allowRetryScheduledOrder": {
            "type": "boolean",
            "readOnly": true
          },
          "showProductTitleOnImages": {
            "type": "boolean"
          },
          "enableProductCarouselAutoSlide": {
            "type": "boolean"
          },
          "noScheduleOrdersBody": {
            "maxLength": 512,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "noScheduleOrdersLink": {
            "maxLength": 512,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "isProcessingPaused": {
            "type": "boolean"
          },
          "lastProcessingPausedUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "failedConnectAttempts": {
            "type": "integer",
            "format": "int32"
          },
          "defaultWeightUnitType": {
            "$ref": "#/components/schemas/QPilot.Core.Models.WeightUnitType"
          },
          "defaultLengthUnitType": {
            "$ref": "#/components/schemas/QPilot.Core.Models.LengthUnitType"
          },
          "themingSettings": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Emails.SiteThemingSettings"
          },
          "themingSettingsJson": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "customerPortalSettings": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Sites.SiteCustomerPortalSettings"
          },
          "customerPortalSettingsJson": {
            "type": "string",
            "nullable": true
          },
          "repeatProcessingAllowedWindow": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "repeatProcessingAllowedWindowUnitType": {
            "$ref": "#/components/schemas/QPilot.Core.Models.TimeUnitType"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "nullable": true
          },
          "metadataJson": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "maxLength": 30,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "revenueSummaryEmailAddresses": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "enableRevenueSummaryEmail": {
            "type": "boolean"
          },
          "productEventLogsExpirationHours": {
            "type": "integer",
            "format": "int32"
          },
          "emailDeliveryEventExpirationHours": {
            "type": "integer",
            "format": "int32"
          },
          "paymentMethodsPageUrl": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "processingVersion": {
            "type": "integer",
            "format": "int32"
          },
          "baseUrl": {
            "maxLength": 500,
            "type": "string",
            "nullable": true
          },
          "createOrderEndpoint": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "orderProcessedEndpoint": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "failOrderEndpoint": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "updateProductAvailabilityEndpoint": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "healthCheckPostEndpoint": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "healthCheckPutEndpoint": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "secretKeyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "secretKey": {
            "$ref": "#/components/schemas/QPilot.Core.Models.SecretKey"
          },
          "policies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QPilot.Core.Models.SubscriptionTiers.Policy"
            },
            "nullable": true
          },
          "fallbackToQpilotShippingWhenNextimeFails": {
            "type": "boolean"
          },
          "logExpirations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QPilot.Core.Models.LogExpiration"
            },
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "currencyIso": {
            "type": "string",
            "nullable": true
          },
          "sortProductsAlphabetically": {
            "type": "boolean"
          },
          "hideOutOfStockProducts": {
            "type": "boolean"
          },
          "manageAllowedFrequencies": {
            "type": "boolean"
          },
          "allowedFrequencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QPilot.Core.Models.FrequencyTypeValues"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Sites.SiteCustomerPortalSettings": {
        "type": "object",
        "properties": {
          "styles": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Sites.CustomerPortalStyleSettings"
          },
          "detailedSummaryComponentConfig": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Sites.DetailedSummaryComponentConfig"
          },
          "allowCustomerSnooze": {
            "type": "boolean"
          },
          "snoozeOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QPilot.Core.Models.Sites.SnoozeOption"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Sites.SiteIntegration": {
        "type": "object",
        "properties": {
          "siteId": {
            "type": "integer",
            "format": "int64"
          },
          "integrationId": {
            "type": "integer",
            "format": "int64"
          },
          "outboundApiKey1": {
            "type": "string",
            "nullable": true
          },
          "outboundApiKey2": {
            "type": "string",
            "nullable": true
          },
          "inboundApiKeyString": {
            "type": "string",
            "nullable": true
          },
          "inboundApiKey": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "createdUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedUtc": {
            "type": "string",
            "format": "date-time"
          },
          "testMode": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Sites.SnoozeOption": {
        "type": "object",
        "properties": {
          "duration": {
            "type": "integer",
            "format": "int32"
          },
          "durationType": {
            "type": "string",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Sites.UnifiedComponentOrderItem": {
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "enabled": {
            "type": "boolean"
          },
          "isCustom": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.SubscriptionStatus": {
        "enum": [
          "None",
          "Trial",
          "Active",
          "Inactive"
        ],
        "type": "string"
      },
      "QPilot.Core.Models.SubscriptionTierType": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          32,
          64,
          128,
          256
        ],
        "type": "integer",
        "format": "int32"
      },
      "QPilot.Core.Models.SubscriptionTiers.Policy": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "slug": {
            "type": "string",
            "nullable": true
          },
          "tierId": {
            "type": "integer",
            "format": "int64"
          },
          "tier": {
            "$ref": "#/components/schemas/QPilot.Core.Models.SubscriptionTiers.Tier"
          },
          "siteId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "site": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Sites.Site"
          },
          "defaultPolicyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "defaultPolicy": {
            "$ref": "#/components/schemas/QPilot.Core.Models.SubscriptionTiers.Policy"
          },
          "pageId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/QPilot.Core.Models.SubscriptionTiers.PolicyType"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "createdUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedUtc": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.SubscriptionTiers.PolicyType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "QPilot.Core.Models.SubscriptionTiers.Tier": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "handle": {
            "type": "string",
            "nullable": true
          },
          "createdUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedUtc": {
            "type": "string",
            "format": "date-time"
          },
          "policies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QPilot.Core.Models.SubscriptionTiers.Policy"
            },
            "nullable": true
          },
          "usageOnCreating": {
            "type": "boolean"
          },
          "usageOnProcessing": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.TimeUnitType": {
        "enum": [
          "Minutes",
          "Hours",
          "Days"
        ],
        "type": "string"
      },
      "QPilot.Core.Models.UserRole": {
        "enum": [
          "None",
          "Merchant",
          "Administrator"
        ],
        "type": "string"
      },
      "QPilot.Core.Models.Users.User": {
        "required": [
          "email",
          "password"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "email": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string"
          },
          "password": {
            "maxLength": 32,
            "type": "string",
            "format": "byte"
          },
          "role": {
            "$ref": "#/components/schemas/QPilot.Core.Models.UserRole"
          },
          "subscriptionId": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "subscriptionStatus": {
            "$ref": "#/components/schemas/QPilot.Core.Models.SubscriptionStatus"
          },
          "subscriptionPaymentMethodDescription": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "subscriptionNextBillingDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "subscriptionUpdatedUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedUtc": {
            "type": "string",
            "format": "date-time"
          },
          "activeTier": {
            "$ref": "#/components/schemas/QPilot.Core.Models.SubscriptionTierType"
          },
          "chargifyProductHandle": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "maxLength": 30,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "firstLogin": {
            "type": "integer",
            "format": "int32"
          },
          "accountOwnerEmail": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "emailVerificationStatus": {
            "$ref": "#/components/schemas/QPilot.Core.Models.Users.UserVerificationStatus"
          }
        },
        "additionalProperties": false
      },
      "QPilot.Core.Models.Users.UserVerificationStatus": {
        "enum": [
          "Unknown",
          "Verified",
          "Unverified",
          "PendingVerification"
        ],
        "type": "string"
      },
      "QPilot.Core.Models.WeightUnitType": {
        "enum": [
          "Pound",
          "Ounce",
          "Kilogram",
          "Gram"
        ],
        "type": "string"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Authorization header using the Bearer scheme. Example: \"Bearer {token}\"",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```