Znode

POST portals

Creates a new portal.

Request Information

» Parameters

Name Description Additional information
model The model of the portal.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "AdminEmail": "sample string 1",
  "CompanyName": "sample string 2",
  "Catalogs": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "CatalogId": 1,
        "ExternalId": "sample string 2",
        "IsActive": true,
        "Name": "sample string 4",
        "PortalId": 1,
        "PreserveCategories": true,
        "IsDefault": true,
        "IsFromSitecore": true
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "CurrencyTypeId": 1,
  "CustomerServiceEmail": "sample string 3",
  "CustomerServicePhoneNumber": "sample string 4",
  "DefaultAnonymousProfileId": 1,
  "DefaultOrderStateId": 1,
  "DefaultProductReviewStateId": 1,
  "DefaultRegisteredProfileId": 1,
  "DefaultReviewStatus": "sample string 5",
  "DimensionUnit": "sample string 6",
  "EmailListDefaultList": "sample string 7",
  "EmailListPassword": "sample string 8",
  "EmailListUsername": "sample string 9",
  "EnableAddressValidation": true,
  "EnableCustomerPricing": true,
  "EnablePims": true,
  "ExternalId": "sample string 10",
  "FedExAccountNumber": "sample string 11",
  "FedExAddInsurance": true,
  "FedExClientProductId": "sample string 12",
  "FedExClientProductVersion": "sample string 13",
  "FedExCspKey": "sample string 14",
  "FedExCspPassword": "sample string 15",
  "FedExDropoffType": "sample string 16",
  "FedExMeterNumber": "sample string 17",
  "FedExPackagingType": "sample string 18",
  "FedExProductionKey": "sample string 19",
  "FedExSecurityCode": "sample string 20",
  "FedExUseDiscountRate": true,
  "GoogleAnalyticsCode": "sample string 21",
  "ImageNotAvailablePath": "sample string 22",
  "InclusiveTax": true,
  "IsActive": true,
  "IsShippingTaxable": true,
  "LocaleId": 26,
  "LogoPath": "sample string 27",
  "MasterPage": "sample string 28",
  "MaxCatalogCategoryDisplayThumbnails": 29,
  "MaxCatalogDisplayColumns": 64,
  "MaxCatalogDisplayItems": 31,
  "MaxCatalogItemCrossSellWidth": 32,
  "MaxCatalogItemLargeWidth": 33,
  "MaxCatalogItemMediumWidth": 34,
  "MaxCatalogItemSmallThumbnailWidth": 35,
  "MaxCatalogItemSmallWidth": 36,
  "MaxCatalogItemThumbnailWidth": 37,
  "MobileTheme": "sample string 38",
  "OrderReceiptAffiliateJavascript": "sample string 39",
  "PersistentCartEnabled": true,
  "PortalCatalogs": {
    "$id": "4",
    "$values": [
      {
        "$id": "5",
        "Catalog": {
          "$ref": "3"
        },
        "CatalogId": 1,
        "CssId": 1,
        "LocaleId": 2,
        "PortalCatalogId": 3,
        "Portal": {
          "$ref": "1"
        },
        "PortalId": 4,
        "ThemeId": 1,
        "CSSName": "sample string 5",
        "ThemeName": "sample string 6",
        "CatalogName": "sample string 7"
      },
      {
        "$ref": "5"
      },
      {
        "$ref": "5"
      }
    ]
  },
  "PortalCountries": {
    "$id": "6",
    "$values": [
      {
        "$id": "7",
        "Country": {
          "$id": "8",
          "Code": "sample string 1",
          "DisplayOrder": 2,
          "IsActive": true,
          "Name": "sample string 4",
          "States": {
            "$id": "9",
            "$values": [
              {
                "$id": "10",
                "Code": "sample string 1",
                "CountryCode": "sample string 2",
                "Name": "sample string 3"
              },
              {
                "$ref": "10"
              },
              {
                "$ref": "10"
              }
            ]
          }
        },
        "CountryCode": "sample string 1",
        "IsBillingActive": true,
        "IsShippingActive": true,
        "PortalCountryId": 4,
        "PortalId": 5,
        "CountryName": "sample string 6"
      },
      {
        "$ref": "7"
      },
      {
        "$ref": "7"
      }
    ]
  },
  "PortalId": 40,
  "RequireValidatedAddress": true,
  "SalesEmail": "sample string 41",
  "SalesPhoneNumber": "sample string 42",
  "SeoDefaultCategoryDescription": "sample string 43",
  "SeoDefaultCategoryKeyword": "sample string 44",
  "SeoDefaultCategoryTitle": "sample string 45",
  "SeoDefaultContentDescription": "sample string 46",
  "SeoDefaultContentKeyword": "sample string 47",
  "SeoDefaultContentTitle": "sample string 48",
  "SeoDefaultProductDescription": "sample string 49",
  "SeoDefaultProductKeyword": "sample string 50",
  "SeoDefaultProductTitle": "sample string 51",
  "ShippingOriginAddress1": "sample string 52",
  "ShippingOriginAddress2": "sample string 53",
  "ShippingOriginCity": "sample string 54",
  "ShippingOriginCountryCode": "sample string 55",
  "ShippingOriginPhone": "sample string 56",
  "ShippingOriginStateCode": "sample string 57",
  "ShippingOriginZipCode": "sample string 58",
  "ShopByPriceIncrement": 59,
  "ShopByPriceMax": 60,
  "ShopByPriceMin": 61,
  "ShowAlternateImageInCategory": true,
  "ShowSwatchInCategory": true,
  "SiteWideAnalyticsJavascript": "sample string 64",
  "SiteWideBottomJavascript": "sample string 65",
  "SiteWideTopJavascript": "sample string 66",
  "SmtpPassword": "sample string 67",
  "SmtpPort": 1,
  "SmtpServer": "sample string 68",
  "SmtpUsername": "sample string 69",
  "SplashCategoryId": 1,
  "SplashImageFile": "sample string 70",
  "StoreName": "sample string 71",
  "TimeZoneOffset": "sample string 72",
  "UpsKey": "sample string 73",
  "UpsPassword": "sample string 74",
  "UpsUsername": "sample string 75",
  "UseDynamicDisplayOrder": true,
  "UseSsl": true,
  "WeightUnit": "sample string 77",
  "OrderStatus": "sample string 78",
  "DefaultProductReviewStateName": "sample string 79",
  "CurrencySuffix": "sample string 80",
  "CurrencyName": "sample string 81",
  "CatalogName": "sample string 82",
  "CssName": "sample string 83",
  "ThemeName": "sample string 84",
  "LocaleDescription": "sample string 85",
  "IsEnableCompare": true,
  "CompareType": "sample string 86",
  "TabMode": 1,
  "IsMultipleCouponAllowed": true,
  "IsEnableSinglePageCheckout": true,
  "MobileLogoPath": "sample string 88",
  "CurrencyTypeModel": {
    "$id": "11",
    "CurrencyTypeID": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "CurrencySuffix": "sample string 4",
    "Symbol": "sample string 5"
  },
  "EnableSslForSmtp": true,
  "QuickOrderSort": "sample string 90"
}