---
title: Gets the catalog common draft.
slug: commerce-connect-15/service-api/wFje-gets-the-catalog-common-draft
docTags: 
createdAt: 2026-10-09T17:33:31.176Z
---

{
  "id": "3plP3j9eXqu9U5y6BkvQg",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "http://localhost:64424/episerverapi/commerce/catalogs/{catalogName}/commondraft/{lang}",
    "servers": [
      {
        "url": "http://localhost:64424/episerverapi/commerce/catalogs/{catalogName}/commondraft/{lang}"
      },
      {
        "url": "https://localhost:64424/episerverapi/commerce/catalogs/{catalogName}/commondraft/{lang}"
      }
    ],
    "name": "Gets the catalog common draft.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "catalogName",
          "type": "string",
          "description": "The catalog name."
        },
        {
          "kind": "required",
          "name": "lang",
          "type": "string",
          "description": "The language code."
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Return the catalog common draft.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "The draft catalog model.",
            "customType": "EPiServer.ServiceApi.Commerce.Models.Catalog.DraftCatalog",
            "schema": [
              {
                "name": "RouteSegment",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the route segment."
              },
              {
                "name": "EndDate",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "Gets or sets the end date.",
                "format": "date-time"
              },
              {
                "name": "StartDate",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "Gets or sets the start date.",
                "format": "date-time"
              },
              {
                "name": "IsPrimary",
                "kind": "optional",
                "type": "boolean",
                "description": "Gets or sets a value indicating whether this instance is primary."
              },
              {
                "name": "Owner",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the owner."
              },
              {
                "name": "SortOrder",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "Gets or sets the sort order.",
                "format": "int32"
              },
              {
                "name": "Name",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the name."
              },
              {
                "name": "DefaultCurrency",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the default currency."
              },
              {
                "name": "DefaultLanguage",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the default language."
              },
              {
                "name": "WeightBase",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the weight base."
              },
              {
                "name": "LengthBase",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the length base."
              }
            ],
            "modelRef": "#/components/schemas/EPiServer.ServiceApi.Commerce.Models.Catalog.DraftCatalog",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "If user does not have enough permission for this request.",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "If catalog common draft does not exist.",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "uxW_omEVknxrpCoQHpEi8",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url http://localhost:64424/episerverapi/commerce/catalogs/{catalogName}/commondraft/{lang} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "M5oUTbr8PE7x_PpO3YKn_",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"http://localhost:64424/episerverapi/commerce/catalogs/{catalogName}/commondraft/{lang}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "0gxhN_jPAxsK4iXQFdOKw",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost:64424/episerverapi/commerce/catalogs/{catalogName}/commondraft/{lang}\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "F-i114qHIuLXVDZylYIL4",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost:64424/episerverapi/commerce/catalogs/{catalogName}/commondraft/{lang}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "uxW_omEVknxrpCoQHpEi8"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// Return the catalog common draft.\n{\n  \"RouteSegment\": \"\",\n  \"EndDate\": \"\",\n  \"StartDate\": \"\",\n  \"IsPrimary\": false,\n  \"Owner\": \"\",\n  \"SortOrder\": \"\",\n  \"Name\": \"\",\n  \"DefaultCurrency\": \"\",\n  \"DefaultLanguage\": \"\",\n  \"WeightBase\": \"\",\n  \"LengthBase\": \"\"\n}"
        },
        {
          "id": "response-1-401",
          "language": "401",
          "code": "// If user does not have enough permission for this request.\n"
        },
        {
          "id": "response-2-404",
          "language": "404",
          "code": "// If catalog common draft does not exist.\n"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}