Menu

Companies

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.

Endpoints

Create

This endpoint creates a company

POST /companies

Get

This endpoint gets all the companies

GET /companies

Get company by ID

This endpoint can get a companies information by ID.

GET /companies/{id}

Get suppliers by Company ID

Get suppliers by Company ID

GET /companies/{id}/suppliers

Allow Company to Supplier

This endpoint allows Company to Supplier a company.

POST /companies

Delete Supplier By Id

This endpoint deletes a company by ID.

DELETE /companies/{id}

Delete Company to Supplier

This endpoint deletes Company to Supplier.

DELETE /companies/{id}/supplier/{id}

Menu