Listar lojas do usuário
Changed onCadastro e informações das lojas
get/api/v2/me/companies
Request
- Base URLhttps://sandbox.melhorenvio.com.br
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Acceptstring required
Content-typestring required
Authorizationstring required
User-Agentstring required
É 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.
Request body
unknown required
Response
200
Example response
{
"current_page": 1,
"data": [
{
"id": "bde0e453-1d10-4245-a447-d376ae24be55",
"protocol": "COM-2021063464",
"name": "Minha Loja teste",
"created_at": "2021-06-22 12:17:38",
"updated_at": "2021-06-22 12:17:38"
}
],
"first_page_url": "https://sandbox.melhorenvio.com.br/api/v2/me/companies?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://sandbox.melhorenvio.com.br/api/v2/me/companies?page=1",
"path": "https://sandbox.melhorenvio.com.br/api/v2/me/companies",
"per_page": 10,
"to": 1,
"total": 1
}Changes
- info
endpoint added
- info