---
title: Deletes the catalog node.
slug: commerce-connect-15/service-api/f9pM-deletes-the-catalog-node
docTags: 
createdAt: 2026-10-09T17:33:31.176Z
---

{
  "id": "t3gBkrqbxwWHSX9hDZZWa",
  "type": "api-oas-v2",
  "data": {
    "method": "DELETE",
    "url": "http://localhost:64424/episerverapi/commerce/nodes/{nodeCode}",
    "servers": [
      {
        "url": "http://localhost:64424/episerverapi/commerce/nodes/{nodeCode}"
      },
      {
        "url": "https://localhost:64424/episerverapi/commerce/nodes/{nodeCode}"
      }
    ],
    "name": "Deletes the catalog node.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "nodeCode",
          "type": "string",
          "description": "The node 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": "The catalog node is deleted.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "The node model.",
            "customType": "EPiServer.ServiceApi.Commerce.Models.Catalog.Node",
            "schema": [
              {
                "name": "IsActive",
                "kind": "optional",
                "type": "boolean",
                "description": "Gets or sets a value indicating whether this instance is active."
              },
              {
                "name": "MetaFields",
                "kind": "optional",
                "type": "array",
                "description": "Gets or sets the item attributes.",
                "modelRef": "#/components/schemas/EPiServer.ServiceApi.Commerce.Models.Catalog.MetaFieldProperty",
                "customType": "EPiServer.ServiceApi.Commerce.Models.Catalog.MetaFieldProperty[]",
                "schema": [
                  {
                    "name": "Data",
                    "kind": "optional",
                    "type": "array",
                    "description": "Gets or sets the data.",
                    "modelRef": "#/components/schemas/EPiServer.ServiceApi.Commerce.Models.Catalog.MetaFieldData",
                    "customType": "EPiServer.ServiceApi.Commerce.Models.Catalog.MetaFieldData[]",
                    "schema": [
                      {
                        "name": "Language",
                        "kind": "optional",
                        "type": "string",
                        "description": "Gets or sets the language."
                      },
                      {
                        "name": "Value",
                        "kind": "optional",
                        "type": "string",
                        "description": "Gets or sets the value."
                      }
                    ]
                  },
                  {
                    "name": "Name",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the name."
                  },
                  {
                    "name": "Type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the type."
                  }
                ]
              },
              {
                "name": "SeoInformation",
                "kind": "optional",
                "type": "array",
                "description": "Gets or sets the SEO information.",
                "modelRef": "#/components/schemas/EPiServer.ServiceApi.Commerce.Models.Catalog.SeoInfo",
                "customType": "EPiServer.ServiceApi.Commerce.Models.Catalog.SeoInfo[]",
                "schema": [
                  {
                    "name": "LanguageCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the language code."
                  },
                  {
                    "name": "Title",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the title."
                  },
                  {
                    "name": "Uri",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the URI."
                  },
                  {
                    "name": "UriSegment",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the uri segment."
                  },
                  {
                    "name": "Description",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the description."
                  },
                  {
                    "name": "Keywords",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the keywords."
                  }
                ]
              },
              {
                "name": "PublishStatuses",
                "kind": "optional",
                "type": "array",
                "description": "Gets or sets the publish statuses for language versions of this node.",
                "modelRef": "#/components/schemas/EPiServer.ServiceApi.Commerce.Models.Catalog.PublishStatus",
                "customType": "EPiServer.ServiceApi.Commerce.Models.Catalog.PublishStatus[]",
                "schema": [
                  {
                    "name": "Language",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets language version."
                  },
                  {
                    "name": "IsPublished",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Gets or sets the publish status."
                  },
                  {
                    "name": "StartPublish",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "description": "<p>Gets or sets the start publish time, in UTC.</p>",
                    "format": "date-time"
                  },
                  {
                    "name": "StopPublish",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "description": "<p>Gets or sets the stop publish time, in UTC.</p>",
                    "format": "date-time"
                  }
                ]
              },
              {
                "name": "Code",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the Category Code."
              },
              {
                "name": "ParentNodeCode",
                "kind": "optional",
                "type": "string",
                "description": "Gets or sets the parent node code."
              },
              {
                "name": "Name",
                "kind": "optional",
                "type": "string",
                "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",
                "description": "Gets or sets the MetaClass."
              },
              {
                "name": "Catalog",
                "kind": "optional",
                "type": "string",
                "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/EPiServer.ServiceApi.Models.ResourceLink",
                "customType": "EPiServer.ServiceApi.Models.ResourceLink",
                "schema": [
                  {
                    "name": "Title",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the title."
                  },
                  {
                    "name": "Type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the type."
                  },
                  {
                    "name": "Href",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the uri."
                  },
                  {
                    "name": "Properties",
                    "kind": "optional",
                    "type": "array",
                    "description": "Gets or sets the properties.",
                    "modelRef": "#/components/schemas/EPiServer.ServiceApi.Models.NameValue",
                    "customType": "EPiServer.ServiceApi.Models.NameValue[]",
                    "schema": [
                      {
                        "name": "Name",
                        "kind": "optional",
                        "type": "string",
                        "description": "Gets or sets the name."
                      },
                      {
                        "name": "Value",
                        "kind": "optional",
                        "type": "string",
                        "description": "Gets or sets the type."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "Assets",
                "kind": "optional",
                "type": "array",
                "description": "Gets or sets the assets.",
                "modelRef": "#/components/schemas/EPiServer.ServiceApi.Models.ResourceLink",
                "customType": "EPiServer.ServiceApi.Models.ResourceLink[]",
                "schema": [
                  {
                    "name": "Title",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the title."
                  },
                  {
                    "name": "Type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the type."
                  },
                  {
                    "name": "Href",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the uri."
                  },
                  {
                    "name": "Properties",
                    "kind": "optional",
                    "type": "array",
                    "description": "Gets or sets the properties.",
                    "modelRef": "#/components/schemas/EPiServer.ServiceApi.Models.NameValue",
                    "customType": "EPiServer.ServiceApi.Models.NameValue[]",
                    "schema": [
                      {
                        "name": "Name",
                        "kind": "optional",
                        "type": "string",
                        "description": "Gets or sets the name."
                      },
                      {
                        "name": "Value",
                        "kind": "optional",
                        "type": "string",
                        "description": "Gets or sets the type."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "Children",
                "kind": "optional",
                "type": "array",
                "description": "Gets or sets the child nodes.",
                "modelRef": "#/components/schemas/EPiServer.ServiceApi.Models.ResourceLink",
                "customType": "EPiServer.ServiceApi.Models.ResourceLink[]",
                "schema": [
                  {
                    "name": "Title",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the title."
                  },
                  {
                    "name": "Type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the type."
                  },
                  {
                    "name": "Href",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the uri."
                  },
                  {
                    "name": "Properties",
                    "kind": "optional",
                    "type": "array",
                    "description": "Gets or sets the properties.",
                    "modelRef": "#/components/schemas/EPiServer.ServiceApi.Models.NameValue",
                    "customType": "EPiServer.ServiceApi.Models.NameValue[]",
                    "schema": [
                      {
                        "name": "Name",
                        "kind": "optional",
                        "type": "string",
                        "description": "Gets or sets the name."
                      },
                      {
                        "name": "Value",
                        "kind": "optional",
                        "type": "string",
                        "description": "Gets or sets the type."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "Entries",
                "kind": "optional",
                "type": "array",
                "description": "Gets or sets the entries.",
                "modelRef": "#/components/schemas/EPiServer.ServiceApi.Models.ResourceLink",
                "customType": "EPiServer.ServiceApi.Models.ResourceLink[]",
                "schema": [
                  {
                    "name": "Title",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the title."
                  },
                  {
                    "name": "Type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the type."
                  },
                  {
                    "name": "Href",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the uri."
                  },
                  {
                    "name": "Properties",
                    "kind": "optional",
                    "type": "array",
                    "description": "Gets or sets the properties.",
                    "modelRef": "#/components/schemas/EPiServer.ServiceApi.Models.NameValue",
                    "customType": "EPiServer.ServiceApi.Models.NameValue[]",
                    "schema": [
                      {
                        "name": "Name",
                        "kind": "optional",
                        "type": "string",
                        "description": "Gets or sets the name."
                      },
                      {
                        "name": "Value",
                        "kind": "optional",
                        "type": "string",
                        "description": "Gets or sets the type."
                      }
                    ]
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/EPiServer.ServiceApi.Commerce.Models.Catalog.Node",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "If user does not have enough permission for this request.",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "If node does not exist.",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "vv4MC9_bscPpwDVt5vlbm",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request DELETE \\\n     --url http://localhost:64424/episerverapi/commerce/nodes/{nodeCode} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "1wq0QehOXkYwaDQ_jjLBx",
          "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: 'DELETE',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"http://localhost:64424/episerverapi/commerce/nodes/{nodeCode}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "tWtabrZK-RYl7-SpNFBzr",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost:64424/episerverapi/commerce/nodes/{nodeCode}\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "zscZLOcfbXrvWsFMo-eIF",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost:64424/episerverapi/commerce/nodes/{nodeCode}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "vv4MC9_bscPpwDVt5vlbm"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// The catalog node is deleted.\n{\n  \"IsActive\": false,\n  \"MetaFields\": [\n    {\n      \"Data\": [\n        {\n          \"Language\": \"\",\n          \"Value\": \"\"\n        }\n      ],\n      \"Name\": \"\",\n      \"Type\": \"\"\n    }\n  ],\n  \"SeoInformation\": [\n    {\n      \"LanguageCode\": \"\",\n      \"Title\": \"\",\n      \"Uri\": \"\",\n      \"UriSegment\": \"\",\n      \"Description\": \"\",\n      \"Keywords\": \"\"\n    }\n  ],\n  \"PublishStatuses\": [\n    {\n      \"Language\": \"\",\n      \"IsPublished\": false,\n      \"StartPublish\": \"\",\n      \"StopPublish\": \"\"\n    }\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}"
        },
        {
          "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 does not exist.\n"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}