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": "AL",
    "state": "<string>",
    "city": "<string>",
    "district": "<string>"
  }
}'

Authorizations

X-Client-Id
string
headerrequired
X-Api-Key
string
headerrequired

Path Parameters

id
string
required

id do customers que deseja alterar

Body

application/json
name
string

nome do usuario

phoneNumber
string

telefone de contato do usuario

address
object