---
agentTools:
  projectIndex: https://getcommerce.readme.io/llms.txt
---

# Excluir Endereço

Permite a exclusão de determinado endereço de cliente

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Get Commerce",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "{domain}/rest",
      "variables": {
        "domain": {
          "default": "your-domain.com"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "[your_token]"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/customer_address": {
      "delete": {
        "summary": "Excluir Endereço",
        "description": "Permite a exclusão de determinado endereço de cliente",
        "operationId": "excluir-endereco-cliente",
        "parameters": [
          {
            "name": "entity_id",
            "in": "query",
            "description": "ID do endereço a ser excluído",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"http_code\": 200,\n  \"result\": {\n  \t\"entity_id\": \"123\"\n  },\n  \"errors\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "result": {
                      "type": "object",
                      "properties": {
                        "entity_id": {
                          "type": "string",
                          "example": "123"
                        }
                      }
                    },
                    "errors": {}
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6564ceb42587ff002c52d10a:656620c322cb81002ab7e8b7"
}
```