curl --request POST \
--url https://dev.seqhq.io/api/customer-organizations/{id}/members \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"customerIds": [
"e06f36e2-0a44-404d-bdbc-b66a292609b0"
]
}
'{
"id": "c0dc4e79-ec52-4811-8cf5-addb2527915c",
"owner": {
"id": "50af5191-05a3-42a5-802a-6b59091157af",
"name": "FinTech Solutions Inc."
},
"members": [
{
"id": "e309e948-088e-4d77-b654-cd85498f1555",
"name": "Fintech Payment Processing"
},
{
"id": "50af5191-05a3-42a5-802a-6b59091157af",
"name": "Fintech Lending Services"
},
{
"id": "e06f36e2-0a44-404d-bdbc-b66a292609b0",
"name": "FinTech Wealth Management"
}
]
}Add a customer to an existing customer organization. This action does not impact their membership in other organizations.
curl --request POST \
--url https://dev.seqhq.io/api/customer-organizations/{id}/members \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"customerIds": [
"e06f36e2-0a44-404d-bdbc-b66a292609b0"
]
}
'{
"id": "c0dc4e79-ec52-4811-8cf5-addb2527915c",
"owner": {
"id": "50af5191-05a3-42a5-802a-6b59091157af",
"name": "FinTech Solutions Inc."
},
"members": [
{
"id": "e309e948-088e-4d77-b654-cd85498f1555",
"name": "Fintech Payment Processing"
},
{
"id": "50af5191-05a3-42a5-802a-6b59091157af",
"name": "Fintech Lending Services"
},
{
"id": "e06f36e2-0a44-404d-bdbc-b66a292609b0",
"name": "FinTech Wealth Management"
}
]
}Your API credentials. Eg. Basic {credentials}.
Use this header to select an API version
2024-07-30 Customer organisation ID
IDs of customers to add to an existing organization.
["e06f36e2-0a44-404d-bdbc-b66a292609b0"]OK
Organization ID
"c0dc4e79-ec52-4811-8cf5-addb2527915c"
ID of the customer that will own the organization.
Show child attributes
{
"id": "50af5191-05a3-42a5-802a-6b59091157af",
"name": "FinTech Solutions Inc."
}Members of the customer organization, excluding the owner. These are the children in a parent-child relationship.
Show child attributes
[
{
"id": "e309e948-088e-4d77-b654-cd85498f1555",
"name": "Fintech Payment Processing"
},
{
"id": "50af5191-05a3-42a5-802a-6b59091157af",
"name": "Fintech Lending Services"
}
]