To create update or delete Companies you can use the endpoints below
The methods allowed per endpoint are specified in the documentation of the endpoint.
This endpoint creates a company
POST /companies
This endpoint gets all the companies
GET /companies
This endpoint can get a companies information by ID.
GET /companies/{id}
Get suppliers by Company ID
GET /companies/{id}/suppliers
This endpoint allows Company to Supplier a company.
POST /companies
This endpoint deletes a company by ID.
DELETE /companies/{id}
This endpoint deletes Company to Supplier.
DELETE /companies/{id}/supplier/{id}