PUT
/
api
/
v2.1
/
address
/
update
/
{addressId}
curl --request PUT \
  --url https://sandbox.finhub.cloud/api/v2.1/address/update/{addressId} \
  --header 'Content-Type: application/json' \
  --header 'X-Forwarded-For: <x-forwarded-for>' \
  --data '{
  "addressLine1": "<string>",
  "addressLine2": "<string>",
  "city": "<string>",
  "state": "<string>",
  "postalCode": "<string>",
  "country": "<string>",
  "purpose": "<string>",
  "isPrimary": true,
  "primary": true
}'
{
  "success": true,
  "message": "<string>",
  "data": "<any>"
}

Headers

X-Forwarded-For
string
required

Forwarded client IP address

User-Agent
string

Client user agent information

X-Tenant-ID
string

Tenant identifier for multi-tenant operations

Path Parameters

addressId
string
required

Body

application/json

Response

200
application/json

Address updated successfully

The response is of type object.