Criar filial
Cadastra uma nova filial (seller) na conta — usado para operações com múltiplas lojas.
Conceito relacionado
Entenda o conceito no guia: Filial (Seller).
Header obrigatório. Toda chamada exige o header x-abbiamo-seller-group-key.
Preencha-o no canto superior direito desta página ou veja como obter a sua chave.
Rate limit: 300 requisições por minuto por chave. Acima disso a API retorna HTTP 429.
Este endpoint cria uma nova filial na sua conta, identificada pelo seller_identifier informado.
Authorization
sellerGroupKey In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/seller-group/v1/seller" \ -H "Content-Type: application/json" \ -d '{ "email": "john.doe@example.com", "document_type": "CNPJ", "document_number": "12345678000190", "state_registration": "29797935", "trading_name": "Example Trading", "country": "BRA", "phone": "21988887777", "address": { "street": "123 Main Street", "street_number": "456", "complement": "Apt 789", "reference": "Proximo ao parque", "neighborhood": "Downtown", "zip_code": "22411003", "city": "Cityville", "state": "RJ", "country": "BRA", "latitude": -22.930140003064, "longitude": -43.23429998161 } }'{
"success": true
}{
"status_code": 400,
"timestamp": "2024-01-30T18:54:43.726Z",
"message": "Identifier 123454321 already exists",
"code": "IDENTIFIER_ALREADY_EXISTS",
"error_id": "350b093d-54f1-438c-9620-4b412552a265"
}