v1

latestOpenAPI 3.1.02026-07-24290162.6 KB

Cadastrar loja

Cadastro e informações das lojas

post/api/v2/me/companies

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

namestring required

Nome / Ex: Melhor Loja

emailstring required

Endereço de contato e-mail / Ex: contato@melhorloja.me

descriptionstring required

Descrição da Loja

company_namestring required

Nome da Loja

documentstring required

Número do Documento / Ex: 89.157.108/0001-04

state_registerstring required

Inscrição Estadual / Ex: 476.210.979.481

Response

200

namestring
emailstring
descriptionstring
company_namestring
documentstring
state_registerstring
idstring
updated_atstring
created_atstring

Example response

{
  "name": "Melhor Loja",
  "email": "contato@melhorloja.me",
  "description": "Descrição da loja",
  "company_name": "Nome da Loja",
  "document": "89157108000104",
  "state_register": "476210979481",
  "id": "781f86be-c3be-47e7-9bef-70b8675a55c3",
  "updated_at": "2022-03-30 16:53:56",
  "created_at": "2022-03-30 16:53:56"
}