Skip to main content
PATCH
/
deliver
/
businesses
/
{id}
Partial update a business by id
curl --request PATCH \
  --url https://api-sandbox.orum.io/deliver/businesses/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Orum-Version: <orum-version>' \
  --data '{
  "legal_name": "<string>",
  "business_name": "<string>",
  "entity_type": "sole_proprietorship",
  "tax_id": "<string>",
  "tax_id_type": "tin",
  "account_holder_name": "<string>",
  "incorporation_date": "<string>",
  "addresses": [
    {
      "type": "legal",
      "address1": "<string>",
      "address2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "country": "US",
      "zip5": "<string>"
    }
  ],
  "contacts": [
    {
      "type": "email",
      "value": "<string>"
    }
  ],
  "metadata": {}
}'
{
  "business": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "customer_reference_id": "<string>",
    "legal_name": "<string>",
    "business_name": "<string>",
    "entity_type": "<string>",
    "tax_id_type": "<string>",
    "account_holder_name": "<string>",
    "incorporation_date": "<string>",
    "status": "created",
    "addresses": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "type": "home",
        "address1": "<string>",
        "address2": "<string>",
        "city": "<string>",
        "state": "<string>",
        "country": "US",
        "zip5": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ],
    "contacts": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "type": "email",
        "value": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "closed_at": "2023-11-07T05:31:56Z",
    "metadata": {}
  }
}

Authorizations

Authorization
string
header
required

Headers

Orum-Version
enum<string>
required
Available options:
v2022-09-21

Path Parameters

id
string<uuid>
required

Body

application/json
Maximum length: 255
business_name
string
Maximum length: 255
entity_type
enum<string> | null
Available options:
sole_proprietorship,
partnership,
limited_liability_partnership,
limited_liability_company,
c_corporation,
s_corporation,
b_corporation,
nonprofit_corporation
tax_id
string
tax_id_type
enum<string>
Available options:
tin,
ein
account_holder_name
string
Maximum length: 255
incorporation_date
string
addresses
BusinessPatchPostalAddressRequest · object[] | null
Maximum length: 1
contacts
PatchContactRequestBusiness · object[] | null
Maximum length: 3
metadata
object

Response

business
object
required