curl --request PUT \
--url https://api.upwell.com/api/rest/addresses/{id} \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"input": {
"canonicalAddressId": "<string>",
"city": "<string>",
"companyId": "<string>",
"companyName": "<string>",
"contactId": "<string>",
"country": "AD",
"createdAt": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"id": "<string>",
"locationCodeId": "<string>",
"name": "<string>",
"phoneNumber": "<string>",
"stateOrProvince": "<string>",
"streetLine1": "<string>",
"streetLine2": "<string>",
"streetLine3": "<string>",
"tenantId": "<string>",
"type": "ADDRESS_BOOK",
"updatedAt": "2023-11-07T05:31:56Z",
"zipOrPostalCode": "<string>"
}
}
'{
"updateAddress": {
"city": "<string>",
"companyName": "<string>",
"country": "AD",
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "<string>",
"phoneNumber": "<string>",
"stateOrProvince": "<string>",
"streetLine1": "<string>",
"streetLine2": "<string>",
"streetLine3": "<string>",
"type": "ADDRESS_BOOK",
"updatedAt": "2023-11-07T05:31:56Z",
"zipOrPostalCode": "<string>"
}
}Update an address by ID
curl --request PUT \
--url https://api.upwell.com/api/rest/addresses/{id} \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"input": {
"canonicalAddressId": "<string>",
"city": "<string>",
"companyId": "<string>",
"companyName": "<string>",
"contactId": "<string>",
"country": "AD",
"createdAt": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"id": "<string>",
"locationCodeId": "<string>",
"name": "<string>",
"phoneNumber": "<string>",
"stateOrProvince": "<string>",
"streetLine1": "<string>",
"streetLine2": "<string>",
"streetLine3": "<string>",
"tenantId": "<string>",
"type": "ADDRESS_BOOK",
"updatedAt": "2023-11-07T05:31:56Z",
"zipOrPostalCode": "<string>"
}
}
'{
"updateAddress": {
"city": "<string>",
"companyName": "<string>",
"country": "AD",
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "<string>",
"phoneNumber": "<string>",
"stateOrProvince": "<string>",
"streetLine1": "<string>",
"streetLine2": "<string>",
"streetLine3": "<string>",
"type": "ADDRESS_BOOK",
"updatedAt": "2023-11-07T05:31:56Z",
"zipOrPostalCode": "<string>"
}
}Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY
"id" is required (enter it either in parameters or request body)
Query parameters can also be provided in the request body as a JSON object
Responses for PUT /api/rest/addresses/{id}
columns and relationships of "addresses"
Show child attributes