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

{
  "id": "w0jpt4MErLXRi-rC6lj6Y",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "/episerverapi/commerce/nodes/{nodeCode}/commondraft/{lang}",
    "servers": [],
    "name": "Gets the common draft catalog node.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "lang",
          "type": "string",
          "description": "The language code."
        },
        {
          "kind": "required",
          "name": "nodeCode",
          "type": "string",
          "description": ""
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "text/plain",
            "application/json",
            "text/json"
          ],
          "default": "text/plain"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "nodeCode",
          "type": "string",
          "description": "The node code."
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Return the common draft catalog node.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "The draft node model.",
            "customType": "DraftNode",
            "schema": [
              {
                "name": "code",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "Gets or sets the Category Code."
              },
              {
                "name": "parentNodeCode",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "Gets or sets the parent node code."
              },
              {
                "name": "name",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "Gets or sets the name."
              },
              {
                "name": "startDate",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "Gets or sets the start date.",
                "format": "date-time"
              },
              {
                "name": "endDate",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "Gets or sets the end date.",
                "format": "date-time"
              },
              {
                "name": "metaClass",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "Gets or sets the MetaClass."
              },
              {
                "name": "catalog",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "Gets or sets the Catalog."
              },
              {
                "name": "sortOrder",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "Gets or sets the sort order.",
                "format": "int32"
              },
              {
                "name": "parentNode",
                "kind": "optional",
                "type": "object",
                "description": "Class that represents linkage and more information about models.",
                "modelRef": "#/components/schemas/ResourceLink",
                "customType": "ResourceLink",
                "schema": [
                  {
                    "name": "title",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the title."
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the type."
                  },
                  {
                    "name": "href",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the uri."
                  },
                  {
                    "name": "properties",
                    "kind": "optional",
                    "type": "array",
                    "nullable": true,
                    "description": "Gets or sets the properties.",
                    "modelRef": "#/components/schemas/NameValue",
                    "customType": "NameValue[]",
                    "schema": [
                      {
                        "name": "name",
                        "kind": "optional",
                        "type": "string",
                        "nullable": true,
                        "description": "Gets or sets the name."
                      },
                      {
                        "name": "value",
                        "kind": "optional",
                        "type": "string",
                        "nullable": true,
                        "description": "Gets or sets the type."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "assets",
                "kind": "optional",
                "type": "array",
                "nullable": true,
                "description": "Gets or sets the assets.",
                "modelRef": "#/components/schemas/ResourceLink",
                "customType": "ResourceLink[]",
                "schema": [
                  {
                    "name": "title",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the title."
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the type."
                  },
                  {
                    "name": "href",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the uri."
                  },
                  {
                    "name": "properties",
                    "kind": "optional",
                    "type": "array",
                    "nullable": true,
                    "description": "Gets or sets the properties.",
                    "modelRef": "#/components/schemas/NameValue",
                    "customType": "NameValue[]",
                    "schema": [
                      {
                        "name": "name",
                        "kind": "optional",
                        "type": "string",
                        "nullable": true,
                        "description": "Gets or sets the name."
                      },
                      {
                        "name": "value",
                        "kind": "optional",
                        "type": "string",
                        "nullable": true,
                        "description": "Gets or sets the type."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "children",
                "kind": "optional",
                "type": "array",
                "nullable": true,
                "description": "Gets or sets the child nodes.",
                "modelRef": "#/components/schemas/ResourceLink",
                "customType": "ResourceLink[]",
                "schema": [
                  {
                    "name": "title",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the title."
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the type."
                  },
                  {
                    "name": "href",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the uri."
                  },
                  {
                    "name": "properties",
                    "kind": "optional",
                    "type": "array",
                    "nullable": true,
                    "description": "Gets or sets the properties.",
                    "modelRef": "#/components/schemas/NameValue",
                    "customType": "NameValue[]",
                    "schema": [
                      {
                        "name": "name",
                        "kind": "optional",
                        "type": "string",
                        "nullable": true,
                        "description": "Gets or sets the name."
                      },
                      {
                        "name": "value",
                        "kind": "optional",
                        "type": "string",
                        "nullable": true,
                        "description": "Gets or sets the type."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "entries",
                "kind": "optional",
                "type": "array",
                "nullable": true,
                "description": "Gets or sets the entries.",
                "modelRef": "#/components/schemas/ResourceLink",
                "customType": "ResourceLink[]",
                "schema": [
                  {
                    "name": "title",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the title."
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the type."
                  },
                  {
                    "name": "href",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the uri."
                  },
                  {
                    "name": "properties",
                    "kind": "optional",
                    "type": "array",
                    "nullable": true,
                    "description": "Gets or sets the properties.",
                    "modelRef": "#/components/schemas/NameValue",
                    "customType": "NameValue[]",
                    "schema": [
                      {
                        "name": "name",
                        "kind": "optional",
                        "type": "string",
                        "nullable": true,
                        "description": "Gets or sets the name."
                      },
                      {
                        "name": "value",
                        "kind": "optional",
                        "type": "string",
                        "nullable": true,
                        "description": "Gets or sets the type."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "metaFields",
                "kind": "optional",
                "type": "array",
                "nullable": true,
                "description": "Gets or sets the meta field data.",
                "modelRef": "#/components/schemas/DraftMetaFieldProperty",
                "customType": "DraftMetaFieldProperty[]",
                "schema": [
                  {
                    "name": "name",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the name."
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the type."
                  },
                  {
                    "name": "data",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the data."
                  }
                ]
              },
              {
                "name": "seoInformation",
                "kind": "optional",
                "type": "object",
                "description": "The draft Seo info model.",
                "modelRef": "#/components/schemas/DraftSeoInfo",
                "customType": "DraftSeoInfo",
                "schema": [
                  {
                    "name": "title",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the title."
                  },
                  {
                    "name": "uri",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the URI."
                  },
                  {
                    "name": "uriSegment",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the uri segment."
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the description."
                  },
                  {
                    "name": "keywords",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "Gets or sets the keywords."
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/DraftNode",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "If user does not have enough permission for this request.",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "If node common draft does not exist.",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "R7Bm5YtQpkaIgEhPY4iZ1",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url /episerverapi/commerce/nodes/{nodeCode}/commondraft/{lang} \\\n     --header 'accept: text/plain'"
        },
        {
          "id": "rRtOCSSCFgJCUkEjAYM8M",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"text/plain\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"/episerverapi/commerce/nodes/{nodeCode}/commondraft/{lang}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "_DiMSMe9x_slOs6yMmIGp",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"/episerverapi/commerce/nodes/{nodeCode}/commondraft/{lang}\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"text/plain\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "mC9d8BDGcXDze4vnVTfNb",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"/episerverapi/commerce/nodes/{nodeCode}/commondraft/{lang}\"\n\npayload = {}\nheaders = {\n   'accept': 'text/plain',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "R7Bm5YtQpkaIgEhPY4iZ1"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// Return the common draft catalog node.\n{\n  \"code\": \"\",\n  \"parentNodeCode\": \"\",\n  \"name\": \"\",\n  \"startDate\": \"\",\n  \"endDate\": \"\",\n  \"metaClass\": \"\",\n  \"catalog\": \"\",\n  \"sortOrder\": \"\",\n  \"parentNode\": {\n    \"title\": \"\",\n    \"type\": \"\",\n    \"href\": \"\",\n    \"properties\": [\n      {\n        \"name\": \"\",\n        \"value\": \"\"\n      }\n    ]\n  },\n  \"assets\": [\n    {\n      \"title\": \"\",\n      \"type\": \"\",\n      \"href\": \"\",\n      \"properties\": [\n        {\n          \"name\": \"\",\n          \"value\": \"\"\n        }\n      ]\n    }\n  ],\n  \"children\": [\n    {\n      \"title\": \"\",\n      \"type\": \"\",\n      \"href\": \"\",\n      \"properties\": [\n        {\n          \"name\": \"\",\n          \"value\": \"\"\n        }\n      ]\n    }\n  ],\n  \"entries\": [\n    {\n      \"title\": \"\",\n      \"type\": \"\",\n      \"href\": \"\",\n      \"properties\": [\n        {\n          \"name\": \"\",\n          \"value\": \"\"\n        }\n      ]\n    }\n  ],\n  \"metaFields\": [\n    {\n      \"name\": \"\",\n      \"type\": \"\",\n      \"data\": \"\"\n    }\n  ],\n  \"seoInformation\": {\n    \"title\": \"\",\n    \"uri\": \"\",\n    \"uriSegment\": \"\",\n    \"description\": \"\",\n    \"keywords\": \"\"\n  }\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 node common draft does not exist.\n"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}