- Autenticação
- Fatura
- Clientes
- Merchant
- Produtos
- Webhooks & Gatilhos
- Utilidades
- Login Admin CopyPOST
- Create Merchant CopyPOST
Criar Cliente
POST
http://{{app_url}}/api/v1/customer/
Requisição
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.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 POST 'http://{{app_url}}/api/v1/customer/' \
--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
{}
Modified at 2024-10-10 18:23:35