POST /v1/parties/{id}/portal-users
POST/v1/parties/{id}/portal-users
CodeMeta OS API endpoint.
Datamodel
Deze operatie werkt op de entiteit Party (party). Alle 70 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.
Request body
| Naam | Type | Beschrijving |
|---|
emailvereist | string<email> | |
shopRoleId | stringnull | |
message | stringnull | |
existingPersonPartyId | stringnull | |
firstName | string | |
lastName | string | |
displayName | string | |
Padparameters
| Naam | Type | Beschrijving |
|---|
idvereist | string | |
Voorbeeld
curl -X POST https://api.codemeta-os.de/v1/parties/{id}/portal-users \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"email": "string",
"shopRoleId": null,
"message": null,
"existingPersonPartyId": null,
"firstName": "string",
"lastName": "string",
"displayName": "string"
}'
const result = await cm.parties.post({
"email": "string",
"shopRoleId": null,
"message": null,
"existingPersonPartyId": null,
"firstName": "string",
"lastName": "string",
"displayName": "string"
});
Antwoordcodes
| HTTP |
Betekenis |
200 |
Default Response |