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>",
"zipCode": "<string>",
"country": "BR",
"state": "<string>",
"city": "<string>",
"district": "<string>",
"complement": "<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>",
"zipCode": "<string>",
"country": "BR",
"state": "<string>",
"city": "<string>",
"district": "<string>",
"complement": "<string>"
}
}
'id do customers que deseja alterar
nome do usuario
telefone de contato do usuario
Show child attributes
Nome da rua/avenida/travessa
Número onde se localiza o endereço
Codigo postal CEP
Pais onde se localiza o endereço - Padrão ISO 3166-1 alpha-2
AL, AD, AR, AT, AU, BA, BZ, BE, BG, BR, BY, CA, CU, CY, CZ, CH, CL, CN, CO, CR, DE, DK, DO, EC, EE, SV, GT, FI, FR, GB, GR, HR, HK, HU, IS, ID, IE, IN, IL, IT, LI, LT, LU, LV, MK, MC, MD, MT, MU, JP, KR, MX, ME, MY, NL, NZ, NO, PY, PE, PK, PL, PT, RU, RO, SM, RS, SE, SG, TH, TW, TR, SI, SK, ES, UY, UA, US, VE, VN, ZA Estado onde se localiza o endereço
Cidade onde se localiza o endereço
Bairro onde se localiza o endereço
Complemento onde se localiza o endereço, caso exista
The record has been successfully updated.
Was this page helpful?