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

{
  "id": "TpvRB0WAW2smFB-qr-i4z",
  "type": "api-oas-v2",
  "data": {
    "method": "DELETE",
    "url": "http://localhost:64424/episerverapi/commerce/catalogs/{catalogName}",
    "servers": [
      {
        "url": "http://localhost:64424/episerverapi/commerce/catalogs/{catalogName}"
      },
      {
        "url": "https://localhost:64424/episerverapi/commerce/catalogs/{catalogName}"
      }
    ],
    "name": "Deletes the catalog.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "catalogName",
          "type": "string",
          "description": "The catalog name."
        }
      ],
      "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 is deleted.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "The catalog model.",
            "customType": "EPiServer.ServiceApi.Commerce.Models.Catalog.Catalog",
            "schema": [
              {
                "name": "IsActive",
                "kind": "optional",
                "type": "boolean",
                "description": "Gets or sets a value indicating whether this instance is active."
              },
              {
                "name": "Languages",
                "kind": "optional",
                "type": "array",
                "description": "Gets or sets the languages.",
                "modelRef": "#/components/schemas/EPiServer.ServiceApi.Commerce.Models.Catalog.CatalogLanguage",
                "customType": "EPiServer.ServiceApi.Commerce.Models.Catalog.CatalogLanguage[]",
                "schema": [
                  {
                    "name": "LanguageCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the language code."
                  },
                  {
                    "name": "Catalog",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the catalog."
                  },
                  {
                    "name": "UriSegment",
                    "kind": "optional",
                    "type": "string",
                    "description": "Gets or sets the URI segment."
                  }
                ]
              },
              {
                "name": "Nodes",
                "kind": "optional",
                "type": "array",
                "description": "Gets or sets the 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."
                      }
                    ]
                  }
                ]
              },
              {
                "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.Catalog",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "If user does not have enough permission for this request.",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "If catalog does not exist.",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "0NTdemUdMVdRTLP0_z2J_",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request DELETE \\\n     --url http://localhost:64424/episerverapi/commerce/catalogs/{catalogName} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "mxKhyzWDbsNtdUVmPM3Rc",
          "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/catalogs/{catalogName}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "ohr1PLGI__74nPOT1VUWF",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost:64424/episerverapi/commerce/catalogs/{catalogName}\")\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": "-_gHPmbQ7AbTHtfBVSeI8",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost:64424/episerverapi/commerce/catalogs/{catalogName}\"\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": "0NTdemUdMVdRTLP0_z2J_"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// The catalog is deleted.\n{\n  \"IsActive\": false,\n  \"Languages\": [\n    {\n      \"LanguageCode\": \"\",\n      \"Catalog\": \"\",\n      \"UriSegment\": \"\"\n    }\n  ],\n  \"Nodes\": [\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  \"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 does not exist.\n"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}