cURL
curl --request POST \ --url http://localhost:3000/connect/v1/supply-chains/company-members/ \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "user": { "id": "<string>", "first_name": "<string>", "last_name": "<string>", "email": "[email protected]", "dob": "2023-12-25", "phone": "<string>", "address": "<string>", "updated_email": "[email protected]", "default_entity": "<string>", "accepted_policy": "<string>", "language": "<string>" }, "company": "<string>", "id": "<string>", "type": "SUPER_ADMIN", "is_active": true, "creator": "<string>", "updater": "<string>" } '
{ "user": { "id": "<string>", "first_name": "<string>", "last_name": "<string>", "email": "[email protected]", "dob": "2023-12-25", "phone": "<string>", "address": "<string>", "image": "<string>", "updated_email": "[email protected]", "managing_entitys": [ "<string>" ], "default_entity": "<string>", "accepted_policy": "<string>", "policy_accepted": "<string>", "current_policy": "<string>", "language": "<string>" }, "company": "<string>", "id": "<string>", "updated_on": "2023-11-07T05:31:56Z", "created_on": "2023-11-07T05:31:56Z", "type": "SUPER_ADMIN", "is_active": true, "creator": "<string>", "updater": "<string>" }
Add Company Member endpoint allows you to add a new member to a specific company within the supply chain by making a POST request. Provide the required information in the request body, including user details and the type of membership.
Show child attributes
150
254
2000
1
SUPER_ADMIN
ADMIN
REPORTER