latestOpenAPI 3.0.02026-08-15122834.2 KB

fea4b2a0d73d

Primary Owners

Create a primary owner

post/api/platform/v1/primary-owners

Request body

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

Example request

{
  "businessId": "adbcccf9-3a7f-4040-add3-55c9d6da2d37",
  "email": "user@gmail.com",
  "firstName": "John",
  "lastName": "Smith"
}

Response

Primary owner already exists for this business with the same email. Returning existing primary owner.

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

Example response

{
  "businessId": "adbcccf9-3a7f-4040-add3-55c9d6da2d37",
  "email": "user@gmail.com",
  "firstName": "John",
  "lastName": "Smith"
}