Driver Companies Model

ActionMethodresourceDescription
Get allGET/driver_companiesGet all driver companies.
GetGET/driver_companies/driver_company_idGet driver company with id drivergroup_id.
CreatePOST/driver_companiesCreate a driver company
UpdatePUT/driver_companies/driver_company_idUpdate driver company with id driver_company_id.
DeleteDELETE/driver_companies/driver_company_idDelete driver group with id driver_company_id.

The driver company model is composed of the following attributes:

attributetyperequiredDescriptionwhereable
namestringno, required to create.yes
logostringnoyes
addressstringno, required to create.yes
schedulejsonnoyes
priorityintegernoyes
limitintegernoyes
fixed_cost_deliverynumericno, required to create.yes
fixed_cost_per_kmnumericno, required to create.yes
percentage_cost_per_order_subtotalnumericno, required to create.yes
webhook_new_orderstringno, required to create.yes
webhook_order_status_changedstringnoyes
webhook_cancel_requeststringno, required to create.yes
api_keystringnoyes
last_order_assigned_atdatenoyes
busybooleannoyes
enabledbooleannoyes

🚧

Requirement for use Driver Copany Endpoints.

To create, update, delete driver groups user must be user level 0 (Type: Administrator).