latestOpenAPI 3.0.02026-08-15122834.2 KB

fea4b2a0d73d

Primary Owners

Update a primary owner

patch/api/platform/v1/primary-owners/{primaryOwnerId}

Path parameters

primaryOwnerIdstring required

The primary owner UUID

Request body

addressAddress
emailstring

The user email. Must be unique.

firstNamestring

The user first name

lastNamestring

The user last name

Example request

{
  "email": "user@gmail.com",
  "firstName": "John",
  "lastName": "Smith"
}

Response

addressAddress
businessIdstring required

The business UUID for the user

emailstring required

The user email. Must be unique.

firstNamestring

The user first name

lastNamestring

The user last name

idstring required

UUID

createdAtstring required

ISO timestamp

updatedAtstring required

ISO timestamp

Example response

{
  "businessId": "adbcccf9-3a7f-4040-add3-55c9d6da2d37",
  "email": "user@gmail.com",
  "firstName": "John",
  "lastName": "Smith",
  "id": "1193fdaf-630c-4771-a629-8da7a87947d2",
  "createdAt": "2022-06-01T03:57:26.115Z",
  "updatedAt": "2022-06-01T03:57:26.115Z"
}