Customers
Atualizar customer pelo id
Visão Geral
Tokens
Charges
Sessions
Customers
Merchants
Vendors
Sellers
Webhooks
Reports
Customers
Atualizar customer pelo id
PATCH
/
v1
/
customers
/
{id}
curl --request PATCH \
--url https://api.malga.io/v1/customers/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>' \
--data '{
"name": "<string>",
"phoneNumber": "<string>",
"address": {
"street": "<string>",
"streetNumber": "<string>",
"complement": "<string>",
"zipCode": "<string>",
"country": "BR",
"state": "<string>",
"city": "<string>",
"district": "<string>"
}
}'
Path Parameters
id do customers que deseja alterar
Body
application/json
Response
200
The record has been successfully updated.
Was this page helpful?
curl --request PATCH \
--url https://api.malga.io/v1/customers/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>' \
--data '{
"name": "<string>",
"phoneNumber": "<string>",
"address": {
"street": "<string>",
"streetNumber": "<string>",
"complement": "<string>",
"zipCode": "<string>",
"country": "BR",
"state": "<string>",
"city": "<string>",
"district": "<string>"
}
}'