# Routific

> Manage Routific orders, schedules and routes and track delivery progress.

App · 19 actions. Web page: https://docs.lodol.com/docs/integrations/routific

## Actions

### Assign driver to route

Assign driver to route.

**Inputs**

- Route uuid (`route_uuid`, text, required): Route uuid.
- Driver uuid (`driver_uuid`, text, required): Driver uuid.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {}
}
```

### Complete delivery order

Complete delivery order.

**Inputs**

- Order uuid (`order_uuid`, text, required): Order uuid.
- Status (`status`, text, required): Status. One of: `delivered`, `missed`.
- Completed at (`completed_at`, date and time): Completed at.
- Notes (`notes`, text): Notes.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {}
}
```

### Create delivery orders

Create delivery orders.

**Inputs**

- Workspace (`workspace_uuid`, text, required): Workspace uuid.
- Orders (`orders`, list, required): Orders.

**Outputs**

- `data` (list): The response from Routific.

**Example output**

```json
{
  "data": []
}
```

### Delete order

Delete order.

**Inputs**

- Order uuid (`order_uuid`, text, required): Order uuid.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "actionUuid": "example"
  }
}
```

### Delete orders

Delete orders.

**Inputs**

- Order uuids (`order_uuids`, list, required): Order uuids.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "actionUuid": "example"
  }
}
```

### Get order

Get order.

**Inputs**

- Order uuid (`order_uuid`, text, required): Order uuid.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "customFields": {},
    "customerOrderNumber": "example",
    "deliveryDate": "example",
    "duration": 1,
    "email": "example",
    "instructions": "example",
    "load": 1.0,
    "locations": [],
    "name": "example",
    "packages": [],
    "phone": "example",
    "status": "example",
    "tags": [],
    "timeWindows": [],
    "uuid": "example"
  }
}
```

### Get order action status

Get order action status.

**Inputs**

- Action uuid (`action_uuid`, text, required): Action uuid.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "actionUuid": "example",
    "status": "example"
  }
}
```

### Get route publication status

Get route publication status.

**Inputs**

- Action uuid (`action_uuid`, text, required): Action uuid.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "actionUuid": "example",
    "status": "example"
  }
}
```

### Get route timeline

Get route timeline.

**Inputs**

- Route uuid (`route_uuid`, text, required): Route uuid.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {}
}
```

### Get scheduled solution

Get scheduled solution.

**Inputs**

- Action uuid (`action_uuid`, text, required): Action uuid.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {}
}
```

### Get scheduling status

Get scheduling status.

**Inputs**

- Action uuid (`action_uuid`, text, required): Action uuid.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "actionUuid": "example",
    "status": "example"
  }
}
```

### List drivers

List drivers.

**Inputs**

- Cursor (`cursor`, text): Cursor.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "items": [],
    "nextCursor": "example"
  }
}
```

### List routes for a date

List routes for a date.

**Inputs**

- Workspace (`workspace_uuid`, text, required): Workspace uuid.
- Date (`date`, date, required): Date.
- Cursor (`cursor`, text): Cursor.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "items": [],
    "nextCursor": "example"
  }
}
```

### List scheduling runs

List scheduling runs.

**Inputs**

- Cursor (`cursor`, text): Cursor.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "items": [],
    "nextCursor": "example"
  }
}
```

### List workspaces

List workspaces.

**Inputs**

- Cursor (`cursor`, text): Cursor.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "items": [],
    "nextCursor": "example"
  }
}
```

### Publish routes for a date

Publish routes for a date.

**Inputs**

- Workspace (`workspace_uuid`, text, required): Workspace uuid.
- Date (`date`, date, required): Date.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "actionUuid": "example"
  }
}
```

### Schedule orders

Schedule orders.

**Inputs**

- Workspace (`workspace_uuid`, text, required): Workspace uuid.
- Date (`date`, date, required): Date.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "actionUuid": "example"
  }
}
```

### Unassign driver from route

Unassign driver from route.

**Inputs**

- Route uuid (`route_uuid`, text, required): Route uuid.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {}
}
```

### Update delivery order

Update delivery order.

**Inputs**

- Order uuid (`order_uuid`, text, required): Order uuid.
- Name (`name`, text): Name.
- Locations (`locations`, list): Locations.
- Phone (`phone`, text): Phone.
- Email (`email`, text): Email.
- Duration (`duration`, number): Duration.
- Load (`load`, number): Load.
- Instructions (`instructions`, text): Instructions.
- Time windows (`time_windows`, list): Time windows.
- Customer order number (`customer_order_number`, text): Customer order number.
- Delivery date (`delivery_date`, date): Delivery date.
- Tags (`tags`, list): Tags.
- Packages (`packages`, list): Packages.
- Custom fields (`custom_fields`, object): Custom fields.

**Outputs**

- `data` (object): The response from Routific.

**Example output**

```json
{
  "data": {
    "actionName": "example",
    "actionUuid": "example",
    "status": "example"
  }
}
```
