---
updatedAt: 2026-06-18T14:03:31.000Z
agentTools:
  projectIndex: https://docs.melhorenvio.com.br/llms.txt
---

# Cadastrar telefones de uma loja

Cadastro e visualização de endereços e telefones de lojas

<div style={{ textAlign: "justify" }}>

Uma vez cadastrada a loja, é possível adicionar o telefone da mesma. Para isso deve ser informado, como parâmetro da URL, o `id` da loja.

</div>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-melhor-envio-sandbox",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://sandbox.melhorenvio.com.br/",
      "description": "Ambiente de Sandbox (Testes)"
    },
    {
      "url": "https://melhorenvio.com.br/",
      "description": "Ambiente de Produção (Real)"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/api/v2/me/companies/{storeId}/phones": {
      "post": {
        "summary": "Cadastrar telefones de uma loja",
        "description": "Cadastro e visualização de endereços e telefones de lojas",
        "operationId": "cadastrar-telefones-de-uma-loja",
        "parameters": [
          {
            "name": "storeId",
            "in": "path",
            "description": "ID da Loja",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Content-type",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Bearer token"
            }
          },
          {
            "name": "User-Agent",
            "in": "header",
            "description": "É obrigatório que seja adicionado o cabeçalho HTTP User-Agent com o nome da sua aplicação junto a um email de contato/suporte.",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Aplicação (email para contato técnico)"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "type",
                  "phone"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "description": "Tipo de contato: \"mobile\" ou \"fixed\"",
                    "default": "mobile"
                  },
                  "phone": {
                    "type": "string",
                    "description": "Número: 11987654321"
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "type": "mobile",
                    "phone": "11987654321"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"type\": \"mobile\",\n  \"phone\": \"5530203020\",\n  \"country_id\": \"BR\",\n  \"updated_at\": \"2022-03-30 20:28:52\",\n  \"created_at\": \"2022-03-30 20:28:52\",\n  \"id\": 42303\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "example": "mobile"
                    },
                    "phone": {
                      "type": "string",
                      "example": "5530203020"
                    },
                    "country_id": {
                      "type": "string",
                      "example": "BR"
                    },
                    "updated_at": {
                      "type": "string",
                      "example": "2022-03-30 20:28:52"
                    },
                    "created_at": {
                      "type": "string",
                      "example": "2022-03-30 20:28:52"
                    },
                    "id": {
                      "type": "integer",
                      "example": 42303,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "422",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"phone\": [\n      \"O campo phone não pode ser superior a 11 caracteres.\"\n    ]\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "The given data was invalid."
                    },
                    "errors": {
                      "type": "object",
                      "properties": {
                        "phone": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "example": "O campo phone não pode ser superior a 11 caracteres."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```