Bynet
  1. My company
Bynet
  • 🚀 Introdução à API
  • 📦 Criar Pedido
  • My company
    • Get all data
      GET
    • Update
      PUT
    • Update documents
      PUT
    • Get by ID
      GET
    • Update other info
      PUT
  • Products
    • Create
      POST
    • Find All
      GET
    • Find by ID
      GET
    • Update
      PUT
    • Delete
      DELETE
    • Update Status
      PUT
  • Bank
    • Create
      POST
    • Find all
      GET
    • Find by ID
      GET
    • Find pre bank
      GET
  • Transactions
    • Find All
      GET
    • Create
      POST
    • Find by ID
      GET
    • Update delivery status
      PUT
    • Export Excel
      POST
    • Summary all
      GET
    • Fee
      POST
    • Summary by ID
      GET
  • Checkout
    • Layouts
      • Create Layout
      • Find
      • Update settings
      • Update status
      • Find by ID
    • Find info
    • Create Order
    • Find info order
    • Find payment methods by ID
    • Create payment
    • Find payment methods
  • Transfers
    • Create
    • Update
    • Find all
    • Find by ID
    • summary
  • Cashout
    • Create
    • Find all
    • Find by ID
  • Customers
    • Find all
    • Find by ID
  • Balance
    • Find
    • Summary
    • Find finalcial reserve
  • Webhook
    • ⚙️ Webhook: Formato de Postback
    • Create
    • Find all
    • Find by ID
    • Update
    • Delete
  1. My company

Update documents

PUT
/api/user/sellers/{id}/documents
Este endpoint permite atualizar os documentos.
É necessário informar o id do recebedor no path da URL.

✅ Requisitos da Requisição#

Método HTTP: PUT
Endpoint: /api/user/sellers/{id}/documents
Content-Type: multipart/form-data
Autenticação: api_token

🧠 Header da requisição#

CampoTipoObrigatórioDescrição
x-api-keystringSimToken de autenticação API Key
User-AgentAtivoB2B/1.0Sim

🔎 Parâmetros de URL#

CampoTipoObrigatórioDescrição
idstringSimIdentificador único do recebedor (UUID).

Request

Path Params

Header Params

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/user/sellers/00000000000000/documents' \
--header 'x-api-key: {Token}' \
--header 'User-Agent: AtivoB2B/1.0'
Response Response Example
200 - Success
{
  "message": "Documentos da empresa atualizados com sucesso.",
  "data": {
    "id": "XXX",
    "sellerName": "XXX",
    "docSocialContractUrl": "https://xxx.com/Contrato.jpg",
    "docSocialContractName": "xxx.jpg",
    "documentCardUrl": "https://xxx.com/Documento.jpg",
    "documentCardName": "xxx.jpg",
    "frontDocumentResponsibleUrl": "https://xxx.com/FrenteDocumento.jpg",
    "frontDocumentResponsibleName": "xxx.jpg",
    "backDocumentResponsibleUrl": "https://xxx.com/VersoDocumento.jpg",
    "backDocumentResponsibleName": "xxx.jpg",
    "photoWithDocumentUrl": "https://xxx.com/SelfieDocumento.jpg",
    "photoWithDocumentName": "xxx.jpg",
    "lastSixMonthsRevenueUrl": null,
    "lastSixMonthsRevenueName": null,
    "addressProofUrl": null,
    "addressProofName": null,
    "webhook": {
      "status": 200,
      "message": "Webhook ativado com sucesso",
      "data": {
        "link": "http://localhost:3000/api/hook",
        "mode": "development"
      },
      "error": null
    }
  },
  "status": 200,
  "error": null
}
Modified at 2025-07-23 19:02:40
Previous
Update
Next
Get by ID
Built with