POST
/
customer-organizations

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Body

application/json
ownerId
string
required

ID of the customer that will own the organization.

memberIds
string[]
required

IDs of the customers who are members of this organization, excluding the owner. These are the children in a parent-child relationship. You can pass an empty array if they are not yet known.

Response

201 - application/json
id
string
required

Organization ID

owner
object
required

ID of the customer that will own the organization.

members
object[]
required

Members of the customer organization, excluding the owner. These are the children in a parent-child relationship.