Skip to main content
PUT
Update Sub Account

Authorizations

Authorization
string
header
required

Bearer token authentication using your thanks.io API key

Path Parameters

subAccountId
integer
required

ID of sub-account

Example:

56

Body

application/json
title
string
required
Example:

"My Sub Account"

return_name
string
Example:

"John Smith"

return_address
string
Example:

"123 Smith Street"

return_address2
string
Example:

"Apartment 2"

return_city
string
Example:

"Denver"

return_state
string
Example:

"CO"

return_postal_code
string
Example:

"12345"

Response

Updated

id
integer
Example:

1

user_id
integer
Example:

2

title
string
Example:

"My Sub Account"

return_name
string
Example:

"John Smith"

return_address
string
Example:

"123 Smith Street"

return_address2
string
Example:

"Apartment 2"

return_city
string
Example:

"Denver"

return_state
string
Example:

"CO"

return_postal_code
string
Example:

"12345"