PATCH
/
business
/
{id}
curl --request PATCH \
  --url https://api.treasuryprime.com/business/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "address": {
    "city": "New York",
    "postal_code": "10005",
    "state": "NY",
    "street_line_1": "11 Wall St",
    "street_line_2": "Suite 42"
  }
}'
{
  "account_ids": [
    "acct_1029384756"
  ],
  "address": {
    "city": "New York",
    "postal_code": "10005",
    "state": "NY",
    "street_line_1": "11 Wall St",
    "street_line_2": "Suite 42"
  },
  "emails": [
    "george@acme.com"
  ],
  "id": "owner_0123456789",
  "name": "Acme Goods Inc",
  "phone_number": "4154845555",
  "tin_last4": "4912"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Unique identifier for object

Body

application/json
The business to update

The body is of type object.

Response

200 - application/json
The business updated

The response is of type object.