API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

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

NaamTypeBeschrijving
emailvereiststring<email>
shopRoleIdstringnull
messagestringnull
existingPersonPartyIdstringnull
firstNamestring
lastNamestring
displayNamestring

Padparameters

NaamTypeBeschrijving
idvereiststring

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

Zoeken