POST
/
omni-omni
/
v1
/
parties
/
{email}
/
relationships
curl --request POST \
  --url https://backend.sandbox.ecrop.de/ecrop-command/omni-omni/v1/parties/{email}/relationships \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "partyEmail": "<string>",
  "relationshipDirection": "MEMBER",
  "relationshipType": "EXECUTIVE"
}'
{
  "id": 123,
  "partyEmail": "<string>",
  "relationshipDirection": "MEMBER",
  "relationshipType": "EXECUTIVE"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

email
string
required

Body

application/json

Response

201
application/json
Party relationship is created

The response is of type object.