FatoriPay
  1. Clientes
FatoriPay
  • Autenticação
    • Renovar Token
      POST
    • Login
      POST
  • Fatura
    • Criar Fatura
      POST
    • Criar Fatura com Captura
      POST
    • Capturar Fatura para Boleto
      POST
    • Capturar Fatura para Pix
      POST
    • Capturar Fatura para Cartão de Crédito
      POST
    • Consultar Faturas
      GET
    • Consultar Faturas por ID
      GET
    • Estornar Fatura
      POST
    • Atualizar Fatura
      PATCH
    • Cancelar Fatura
      POST
  • Clientes
    • Criar Cliente
      POST
    • Buscar Clientes
      GET
    • Consultar Clientes por ID
      GET
    • Atualizar Cliente
      PATCH
  • Merchant
    • Métodos de Pagamento Habilitados
      GET
  • Produtos
    • Criar Produtos
      POST
    • Buscar Produtos
      GET
  • Webhooks & Gatilhos
    • Criar Gatilho
      POST
    • Consultar Gatilhos
      GET
    • Remover Webhook
      DELETE
  • Utilidades
    • Consultar Parcelas do Cartão
      GET
    • Consultar Taxas
      GET
  • Login Admin Copy
    POST
  • Create Merchant Copy
    POST
  1. Clientes

Atualizar Cliente

PATCH
http://{{app_url}}/api/v1/customer/id_do_cliente
Atualiza um cliente existente através da ID enviada na URL.

Requisição

Authorization
Forneça seu token bearer no cabeçalho
Authorization
ao fazer requisições para recursos protegidos.
Exemplo:
Authorization: Bearer ********************
Parâmetros Bodyapplication/json
fullname
string 
requerido
email
string 
requerido
cellphone
string 
requerido
address
object 
requerido
street
string 
requerido
number
string 
requerido
complement
string 
requerido
neighborhood
string 
requerido
city
string 
requerido
state
string 
requerido
zipcode
string 
requerido
Exemplo
{
  "fullname": "",
  "email": "",
  "cellphone": "",
  "address": {
    "street": "",
    "number": "",
    "complement": "",
    "neighborhood": "",
    "city": "",
    "state": "",
    "zipcode": ""
  }
}

Exemplos de Requisição

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH 'http://{{app_url}}/api/v1/customer/id_do_cliente' \
--header 'Content-Type: application/json' \
--data-raw '{
    "fullname": "",
    "email": "",
    "cellphone": "",
    "address": {
        "street": "",
        "number": "",
        "complement": "",
        "neighborhood": "",
        "city": "",
        "state": "",
        "zipcode": ""
    }
}'

Respostas

🟢200Success
application/json
Body
object {0}
Exemplo
{}
Página anterior
Consultar Clientes por ID
Próxima página
Métodos de Pagamento Habilitados
Built with