Seguros APIseguros-api reference
Criar novo vendedor
Cria um novo vendedor no sistema
Cria um novo vendedor no sistema
x-api-key<token>
In: header
Request Body
application/json
Dados para criação do vendedor
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/vendors" \ -H "Content-Type: application/json" \ -d '{ "vendorId": "V001", "name": "Carlos Vendedor", "isActive": true, "webhookEnabled": true }'{
"id": "123e4567-e89b-12d3-a456-426614174000",
"vendorId": "V001",
"name": "Carlos Vendedor",
"store": "Loja A",
"phone": "(61) 99999-9999",
"isActive": true,
"webhookEnabled": true,
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}Empty