Neofin V1
english
  • latest
  • english
  1. Upserting a customer
Neofin V1
english
  • latest
  • english
  • Start your Neofin journey
  • Setup your environment
  • NeofinV1
    • Billing API
      • Upsert a billing
        • How to upsert a billing
        • Upsert a billing
          POST
      • Retrieve a billing
        • How to retrieve a single billing
        • Get billing by Integration Identifier
          GET
        • Get billing by Billing Number
          GET
      • Mark a billing as paid
        • How to mark a billing as paid
        • Mark a billing as paid
          PUT
      • Cancel a billing
        • How to cancel a billing
        • Cancel a billing
          PUT
      • Listing billings
        • How to list your billings
        • Billing by status
          GET
        • Billing by customer
          GET
        • Billing updated date
          GET
        • Billing Events
          GET
        • Billing Events by Integration Identifier
          GET
      • Upload attachments
        • How to upload attachments
        • Upload a Billing NF by Integration Identifier
          PUT
        • Upload a Billing Boleto by Integration Identifier
          PUT
    • Customer API
      • Upserting a customer
        • How to upsert a customer
        • Upsert a customer
          POST
      • Retrieve a customer
        • Get a customer by Integration Identifier
          GET
        • Get a customer by their document
          GET
    • Webhooks
      • How to setup your webhooks
  • Comece aqui
    • Introdução
  1. Upserting a customer

Upsert a customer

Sandbox
https://api.sandbox.neofin.services
Sandbox
https://api.sandbox.neofin.services
POST
https://api.sandbox.neofin.services
/customer/

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠403Invalid API Keys
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.sandbox.neofin.services/customer/' \
--header 'api-key;' \
--header 'secret-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customers": [
        {
            "address_city": "Anápolis",
            "address_complement": "ALALA QUADRA13",
            "address_neighborhood": "DAIA",
            "address_number": "SN",
            "address_state": "GO",
            "address_street": "Rua teste",
            "address_zip_code": null,
            "document": "30234820000109",
            "mail": "empresa@embalagens.com.br",
            "name": "Nome do meu cliente",
            "phone": "(33) 3333-3333",
            "secondary_phone": "",
            "integration_identifier": "33322111aaabbccc",
            "pause_notifications": false,
            "recipients": [
                "empresa-1@embalagens.com.br",
                "empresa-2@embalagens.com.br"
            ]
        }
    ]
}'
Response Response Example
200 - Example 1
{}
Previous
How to upsert a customer
Next
Get a customer by Integration Identifier
Built with