curl --request PATCH \
--url https://api.treasuryprime.com/person/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"mailing_address": {
"city": "Seattle",
"postal_code": "98102",
"state": "WA",
"street_line_1": "888 Rainy Lane",
"street_line_2": null
}
}'
{
"account_ids": [
"acct_1029384756"
],
"address": {
"city": "San Francisco",
"postal_code": "94104",
"state": "CA",
"street_line_1": "1 Market St",
"street_line_2": "Suite 42"
},
"email": "george@gmail.com",
"first_name": "George",
"id": "owner_9876543210",
"last_name": "Washington",
"mailing_address": {
"city": "Seattle",
"postal_code": "98102",
"state": "WA",
"street_line_1": "888 Rainy Lane",
"street_line_2": null
},
"middle_name": null,
"phone_number": "4154845555",
"suffix": null,
"tin_last4": "3192"
}
curl --request PATCH \
--url https://api.treasuryprime.com/person/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"mailing_address": {
"city": "Seattle",
"postal_code": "98102",
"state": "WA",
"street_line_1": "888 Rainy Lane",
"street_line_2": null
}
}'
{
"account_ids": [
"acct_1029384756"
],
"address": {
"city": "San Francisco",
"postal_code": "94104",
"state": "CA",
"street_line_1": "1 Market St",
"street_line_2": "Suite 42"
},
"email": "george@gmail.com",
"first_name": "George",
"id": "owner_9876543210",
"last_name": "Washington",
"mailing_address": {
"city": "Seattle",
"postal_code": "98102",
"state": "WA",
"street_line_1": "888 Rainy Lane",
"street_line_2": null
},
"middle_name": null,
"phone_number": "4154845555",
"suffix": null,
"tin_last4": "3192"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Unique identifier for object
The person to update
The body is of type object
.
The person updated
The response is of type object
.
Was this page helpful?