Authorization: Bearer ********************{
"email": "company2@example.com",
"emailConfirmation": "company2@example.com",
"phoneNumber": "+134567890",
"name": "Awesome Company ",
"registrationNumber": "123456786",
"website": "https://www.awesomecompany.com",
"address": "123 Awesome Street, City, Country",
"countryId": 1,
"industryTypeId": 1
}
curl --location 'http://localhost:3000/api/v1/companies' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "company2@example.com",
"emailConfirmation": "company2@example.com",
"phoneNumber": "+134567890",
"name": "Awesome Company ",
"registrationNumber": "123456786",
"website": "https://www.awesomecompany.com",
"address": "123 Awesome Street, City, Country",
"countryId": 1,
"industryTypeId": 1
}'{
"message": "Added successful",
"status": "Success",
"data": {
"address": "123 Awesome Street, City, Country",
"employerId": 1,
"name": "Awesome Company ",
"registrationNumber": "123456786",
"userId": 8,
"website": "https://www.awesomecompany.com",
"industryTypeId": 1,
"createdAt": "2024-09-25T13:40:31.772+00:00",
"updatedAt": "2024-09-25T13:40:31.772+00:00",
"id": 3
}
}