Criar filial

Cadastra uma nova filial (seller) na conta — usado para operações com múltiplas lojas.

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.

POST
/seller-group/v1/seller
x-abbiamo-seller-group-key<token>

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": "71955998000126",    "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    }  }'
"{\n  \"success\": true\n}"

"{\n  \"status_code\":400,\n  \"timestamp\":\"2024-01-30T18:54:43.726Z\",\n  \"message\":\"Identifier 123454321 already exists\",\n  \"code\":\"IDENTIFIER_ALREADY_EXISTS\",\n  \"error_id\":\"350b093d-54f1-438c-9620-4b412552a265\"\n}"