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>"
}
}'
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>"
}
}'
id do customers que deseja alterar
The record has been successfully updated.
Was this page helpful?