Bringg

App · 26 actions

Create and track delivery orders, and manage drivers, teams and customers in Bringg.

Actions

ActionWhat it does
Add a note to an orderAdd a text note to one of an order's destinations.
Cancel an orderCancel an open order.
Check in at a destinationRecord that the driver arrived at the order's current destination.
Check out of a destinationRecord that the driver left the order's current destination.
Complete an orderMark an order as done.
Create a customerCreate a customer that orders can be delivered to.
Create a teamCreate a team, such as a store or a depot.
Create a userCreate a driver or dispatcher.
Create an orderCreate an order (a task in Bringg) with one destination.
Delete a teamDelete a team.
Delete a userDelete a driver, dispatcher or admin.
End a driver's shiftEnd a driver's shift.
Get a teamGet a team's details.
Get a userGet a driver, dispatcher or admin by Bringg's ID or your own.
Get a vehicleGet a vehicle or trailer by Bringg's ID or your own.
Get an orderGet an order with its destinations and status, by Bringg's ID or your own.
Get driver availabilityList the drivers available now in the chosen teams, with where they are.
List open ordersList the orders that aren't done or cancelled yet.
List teamsList all of the account's teams.
List vehiclesList the account's vehicles and trailers, a page at a time.
Start a driver's shiftStart a driver's shift.
Start an orderMark an assigned order as started, as when its driver sets off.
Update a customerChange a customer's details.
Update a teamChange a team's details.
Update a userChange a driver's or dispatcher's details.
Update an orderChange an order's details or one of its destinations.

Add a note to an order

Add a text note to one of an order's destinations.

Inputs

Orderorder_idnumberRequired
Bringg's ID for the order.
Destination IDway_point_idnumberRequired
Bringg's ID for the destination, such as the order's active_way_point_id.
NotenotetextRequired
The note's text.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "task": {
      "author_name": "example",
      "created_at": "example",
      "id": 1,
      "note": "example",
      "task_id": 1,
      "type": "example",
      "user_id": 1,
      "way_point_id": 1
    }
  }
}

Cancel an order

Cancel an open order.

Inputs

Orderorder_idnumber
Bringg's ID for the order to cancel. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the order to cancel, when it has one.
Reason IDreason_idnumber
Bringg's ID for one of your cancellation reasons.
Reasonreasontext
The reason, in words, when the reason is Other.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "task": {
      "active_way_point_id": 1,
      "cancelled_at": "example",
      "created_at": "example",
      "customer_id": 1,
      "delivery_price": 1,
      "ended_time": "example",
      "external_id": "example",
      "extras": {},
      "id": 1,
      "late": true,
      "priority": 1,
      "ready_to_execute": true,
      "scheduled_at": "example",
      "started_time": "example",
      "status": 1,
      "tag_id": 1,
      "team_ids": [
        1
      ],
      "title": "example",
      "total_price": 1,
      "user_id": 1,
      "uuid": "example",
      "way_points": [
        {
          "address": "example",
          "address_second_line": "example",
          "checkin_time": "example",
          "checkout_time": "example",
          "city": "example",
          "done": true,
          "id": 1,
          "lat": 1,
          "late": true,
          "lng": 1,
          "no_earlier_than": "example",
          "no_later_than": "example",
          "position": 1,
          "scheduled_at": "example",
          "zipcode": "example"
        }
      ]
    }
  }
}

Check in at a destination

Record that the driver arrived at the order's current destination.

Inputs

Orderorder_idnumber
Bringg's ID for the order. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the order, when it has one.
Arrived attime_atdate and time
When the driver arrived. Left empty, now.
Latlatnumber
Where it happened: the latitude.
Lnglngnumber
Where it happened: the longitude.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "task": {
      "active_way_point_id": 1,
      "cancelled_at": "example",
      "created_at": "example",
      "customer_id": 1,
      "delivery_price": 1,
      "ended_time": "example",
      "external_id": "example",
      "extras": {},
      "id": 1,
      "late": true,
      "priority": 1,
      "ready_to_execute": true,
      "scheduled_at": "example",
      "started_time": "example",
      "status": 1,
      "tag_id": 1,
      "team_ids": [
        1
      ],
      "title": "example",
      "total_price": 1,
      "user_id": 1,
      "uuid": "example",
      "way_points": [
        {
          "address": "example",
          "address_second_line": "example",
          "checkin_time": "example",
          "checkout_time": "example",
          "city": "example",
          "done": true,
          "id": 1,
          "lat": 1,
          "late": true,
          "lng": 1,
          "no_earlier_than": "example",
          "no_later_than": "example",
          "position": 1,
          "scheduled_at": "example",
          "zipcode": "example"
        }
      ]
    }
  }
}

Check out of a destination

Record that the driver left the order's current destination. Leaving the last one completes the order.

Inputs

Orderorder_idnumber
Bringg's ID for the order. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the order, when it has one.
Left attime_atdate and time
When the driver left. Left empty, now.
Latlatnumber
Where it happened: the latitude.
Lnglngnumber
Where it happened: the longitude.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "task": {
      "active_way_point_id": 1,
      "cancelled_at": "example",
      "created_at": "example",
      "customer_id": 1,
      "delivery_price": 1,
      "ended_time": "example",
      "external_id": "example",
      "extras": {},
      "id": 1,
      "late": true,
      "priority": 1,
      "ready_to_execute": true,
      "scheduled_at": "example",
      "started_time": "example",
      "status": 1,
      "tag_id": 1,
      "team_ids": [
        1
      ],
      "title": "example",
      "total_price": 1,
      "user_id": 1,
      "uuid": "example",
      "way_points": [
        {
          "address": "example",
          "address_second_line": "example",
          "checkin_time": "example",
          "checkout_time": "example",
          "city": "example",
          "done": true,
          "id": 1,
          "lat": 1,
          "late": true,
          "lng": 1,
          "no_earlier_than": "example",
          "no_later_than": "example",
          "position": 1,
          "scheduled_at": "example",
          "zipcode": "example"
        }
      ]
    }
  }
}

Complete an order

Mark an order as done.

Inputs

Orderorder_idnumber
Bringg's ID for the order to complete. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the order to complete, when it has one.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "task": {
      "active_way_point_id": 1,
      "cancelled_at": "example",
      "created_at": "example",
      "customer_id": 1,
      "delivery_price": 1,
      "ended_time": "example",
      "external_id": "example",
      "extras": {},
      "id": 1,
      "late": true,
      "priority": 1,
      "ready_to_execute": true,
      "scheduled_at": "example",
      "started_time": "example",
      "status": 1,
      "tag_id": 1,
      "team_ids": [
        1
      ],
      "title": "example",
      "total_price": 1,
      "user_id": 1,
      "uuid": "example",
      "way_points": [
        {
          "address": "example",
          "address_second_line": "example",
          "checkin_time": "example",
          "checkout_time": "example",
          "city": "example",
          "done": true,
          "id": 1,
          "lat": 1,
          "late": true,
          "lng": 1,
          "no_earlier_than": "example",
          "no_later_than": "example",
          "position": 1,
          "scheduled_at": "example",
          "zipcode": "example"
        }
      ]
    }
  }
}

Create a customer

Create a customer that orders can be delivered to.

Inputs

External IDexternal_idtext
Your own system's ID for the customer.
Namenametext
The customer's name.
Emailemailtext
The customer's email address.
Phonephonetext
The customer's phone number.
Addressaddresstext
The customer's street address.
Address line 2address_second_linetext
The apartment or suite.
Citycitytext
The city.
Statestatetext
The state.
ZIP codezipcodetext
The ZIP code.
Send textsallow_sending_smstrue/false
Whether Bringg may text the customer updates.
Send emailsallow_sending_emailtrue/false
Whether Bringg may email the customer updates.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "customer": {
      "address": "example",
      "address_second_line": "example",
      "allow_sending_email": true,
      "allow_sending_sms": true,
      "city": "example",
      "email": "example",
      "external_id": "example",
      "id": 1,
      "lat": 1,
      "lng": 1,
      "name": "example",
      "phone": "example",
      "state": "example",
      "team_ids": [
        1
      ],
      "zipcode": "example"
    },
    "success": true
  }
}

Create a team

Create a team, such as a store or a depot.

Inputs

NamenametextRequired
The team's name.
External IDexternal_idtext
Your own system's ID for the team.
Descriptiondescriptiontext
A description of the team.
Addressaddresstext
The team's address.
Address line 2address_second_linetext
The second line of the address.
Citycitytext
The city.
Statestatetext
The state.
ZIP codezipcodetext
The ZIP code.
Country codecountry_codetext
The two-letter country code, such as US.
Time zonetime_zonetext
The team's time zone, such as America/New_York.
Phonecontact_phonetext
The team's phone number.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "team": {
      "address": "example",
      "address_second_line": "example",
      "contact_phone": "example",
      "country_code": "example",
      "description": "example",
      "external_id": "example",
      "id": 1,
      "lat": 1,
      "lng": 1,
      "name": "example",
      "parent_team_id": 1,
      "service_cities": [
        "example"
      ],
      "service_zipcodes": [
        "example"
      ],
      "time_zone": "example",
      "zipcode": "example"
    }
  }
}

Create a user

Create a driver or dispatcher.

Inputs

External IDexternal_idtext
Your own system's ID for the user.
Namenametext
The user's full name.
Emailemailtext
The user's email address.
Phonephonetext
The user's phone number.
Driverdrivertrue/false
Whether the user is a driver.
Dispatcherdispatchertrue/false
Whether the user is a dispatcher.
Teamsteam_idslist
The teams the user belongs to.
Skillsskillslist
The user's skills, such as fridge installation.
Languagelanguagetext
The language of the user's app, as a two-letter code such as en.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "user": {
      "active_shift_id": 1,
      "admin": true,
      "created_at": "example",
      "dispatcher": true,
      "driver": true,
      "email": "example",
      "external_id": "example",
      "id": 1,
      "job_description": "example",
      "lat": 1,
      "lng": 1,
      "name": "example",
      "phone": "example",
      "status": "example",
      "team_ids": [
        1
      ]
    }
  }
}

Create an order

Create an order (a task in Bringg) with one destination.

Inputs

External IDexternal_idtext
Your own system's ID for the order.
Order typeorder_typetext
What the driver does at the destination.One of: dropoff, pickup, return, pickup_and_dropoff (Pickup and dropoff).
Titletitletext
The order's title.
Driver IDdriver_idnumber
Bringg's ID for the driver to assign.
Priorityprioritynumber
The order's place in its route: 1 is the first stop.At least 1.
Ready to dispatchready_to_executetrue/false
On to send the order to drivers now; off to keep it in planning.
Total pricetotal_pricenumber
The order's total price.At least 0.
Delivery feedelivery_pricenumber
The delivery fee the customer pays.At least 0.
Tag IDtag_idnumber
Bringg's ID for the tag that sets the order's branding and flow.
Team external IDteam_external_idtext
Your own system's ID for the team to give the order to. Left empty, Bringg assigns it.
Customer IDcustomer_idnumber
Bringg's ID for an existing customer, such as one Create a customer returned.
New customer's namecustomer_nametext
The name of a new customer to create with the order.
New customer's phonecustomer_phonetext
The new customer's phone number.
New customer's emailcustomer_emailtext
The new customer's email address.
Addressaddresstext
The destination's street address.
Address line 2address_second_linetext
The apartment, suite or floor.
Citycitytext
The city.
Statestatetext
The state.
ZIP codezipcodetext
The ZIP or postal code.
Country codecountry_codetext
The two-letter country code, such as US.
Latitudelatnumber
The destination's latitude.From -90 to 90.
Longitudelngnumber
The destination's longitude.From -180 to 180.
Scheduled forscheduled_atdate and time
When the order is due at the destination.
Window startsno_earlier_thandate and time
The start of the delivery window.
Window endsno_later_thandate and time
The end of the delivery window.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "task": {
      "active_way_point_id": 1,
      "cancelled_at": "example",
      "created_at": "example",
      "customer_id": 1,
      "delivery_price": 1,
      "ended_time": "example",
      "external_id": "example",
      "extras": {},
      "id": 1,
      "late": true,
      "priority": 1,
      "ready_to_execute": true,
      "scheduled_at": "example",
      "started_time": "example",
      "status": 1,
      "tag_id": 1,
      "team_ids": [
        1
      ],
      "title": "example",
      "total_price": 1,
      "user_id": 1,
      "uuid": "example",
      "way_points": [
        {
          "address": "example",
          "address_second_line": "example",
          "checkin_time": "example",
          "checkout_time": "example",
          "city": "example",
          "done": true,
          "id": 1,
          "lat": 1,
          "late": true,
          "lng": 1,
          "no_earlier_than": "example",
          "no_later_than": "example",
          "position": 1,
          "scheduled_at": "example",
          "zipcode": "example"
        }
      ]
    }
  }
}

Delete a team

Delete a team.

Inputs

Teambringg_team_idnumberRequired
The team to delete.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "message": "example",
    "success": true
  }
}

Delete a user

Delete a driver, dispatcher or admin.

Inputs

User IDbringg_user_idnumberRequired
Bringg's ID for the user. Give this or the external ID.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "rc": 1,
    "success": true
  }
}

End a driver's shift

End a driver's shift.

Inputs

Driver IDdriver_idnumber
Bringg's ID for the driver. Give this or the external ID.
Driver external IDdriver_external_idtext
Your own system's ID for the driver.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "shift": {
      "active_team_id": 1,
      "end_shift": "example",
      "id": 1,
      "start_shift": "example"
    },
    "success": true
  }
}

Get a team

Get a team's details.

Inputs

Teambringg_team_idnumberRequired
The team.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "team": {
      "address": "example",
      "address_second_line": "example",
      "contact_phone": "example",
      "country_code": "example",
      "description": "example",
      "external_id": "example",
      "id": 1,
      "lat": 1,
      "lng": 1,
      "name": "example",
      "parent_team_id": 1,
      "service_cities": [
        "example"
      ],
      "service_zipcodes": [
        "example"
      ],
      "time_zone": "example",
      "zipcode": "example"
    }
  }
}

Get a user

Get a driver, dispatcher or admin by Bringg's ID or your own.

Inputs

User IDbringg_user_idnumber
Bringg's ID for the user. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the user.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "active_shift_id": 1,
    "admin": true,
    "created_at": "example",
    "dispatcher": true,
    "driver": true,
    "email": "example",
    "external_id": "example",
    "id": 1,
    "job_description": "example",
    "lat": 1,
    "lng": 1,
    "name": "example",
    "phone": "example",
    "status": "example",
    "team_ids": [
      1
    ]
  }
}

Get a vehicle

Get a vehicle or trailer by Bringg's ID or your own.

Inputs

Vehicle IDvehicle_idnumber
Bringg's ID for the vehicle. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the vehicle.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "vehicle": {
      "available": true,
      "color": "example",
      "external_id": "example",
      "id": 1,
      "is_trailer": true,
      "license_plate": "example",
      "model": "example",
      "name": "example",
      "skills": [
        "example"
      ],
      "team_id": 1,
      "user_id": 1,
      "vehicle_type_id": 1
    }
  }
}

Get an order

Get an order with its destinations and status, by Bringg's ID or your own.

Inputs

Orderorder_idnumber
Bringg's ID for the order. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the order, when it has one.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "task": {
      "active_way_point_id": 1,
      "cancelled_at": "example",
      "created_at": "example",
      "customer_id": 1,
      "delivery_price": 1,
      "ended_time": "example",
      "external_id": "example",
      "extras": {},
      "id": 1,
      "late": true,
      "priority": 1,
      "ready_to_execute": true,
      "scheduled_at": "example",
      "started_time": "example",
      "status": 1,
      "tag_id": 1,
      "team_ids": [
        1
      ],
      "title": "example",
      "total_price": 1,
      "user_id": 1,
      "uuid": "example",
      "way_points": [
        {
          "address": "example",
          "address_second_line": "example",
          "checkin_time": "example",
          "checkout_time": "example",
          "city": "example",
          "done": true,
          "id": 1,
          "lat": 1,
          "late": true,
          "lng": 1,
          "no_earlier_than": "example",
          "no_later_than": "example",
          "position": 1,
          "scheduled_at": "example",
          "zipcode": "example"
        }
      ]
    }
  }
}

Get driver availability

List the drivers available now in the chosen teams, with where they are.

Inputs

Teamsteam_idslistRequired
The teams to look in.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "drivers": [
      {
        "id": 1,
        "lat": 1,
        "lng": 1,
        "name": "example",
        "team_ids": [
          1
        ]
      }
    ],
    "success": true
  }
}

List open orders

List the orders that aren't done or cancelled yet.

Inputs

None.

Outputs

datalist
The response from Bringg.
Example output
{
  "data": [
    {
      "active_way_point_id": 1,
      "cancelled_at": "example",
      "created_at": "example",
      "customer_id": 1,
      "delivery_price": 1,
      "ended_time": "example",
      "external_id": "example",
      "extras": {},
      "id": 1,
      "late": true,
      "priority": 1,
      "ready_to_execute": true,
      "scheduled_at": "example",
      "started_time": "example",
      "status": 1,
      "tag_id": 1,
      "team_ids": [
        1
      ],
      "title": "example",
      "total_price": 1,
      "user_id": 1,
      "uuid": "example",
      "way_points": [
        {
          "address": "example",
          "address_second_line": "example",
          "checkin_time": "example",
          "checkout_time": "example",
          "city": "example",
          "done": true,
          "id": 1,
          "lat": 1,
          "late": true,
          "lng": 1,
          "no_earlier_than": "example",
          "no_later_than": "example",
          "position": 1,
          "scheduled_at": "example",
          "zipcode": "example"
        }
      ]
    }
  ]
}

List teams

List all of the account's teams.

Inputs

None.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "teams": [
      {
        "address": "example",
        "address_second_line": "example",
        "contact_phone": "example",
        "country_code": "example",
        "description": "example",
        "external_id": "example",
        "id": 1,
        "lat": 1,
        "lng": 1,
        "name": "example",
        "parent_team_id": 1,
        "service_cities": [
          "example"
        ],
        "service_zipcodes": [
          "example"
        ],
        "time_zone": "example",
        "zipcode": "example"
      }
    ]
  }
}

List vehicles

List the account's vehicles and trailers, a page at a time.

Inputs

Page sizelimitnumber
How many to return on the page.From 1 to 100.
Page cursorcursornumber
Where the page starts: the next_page_cursor from an earlier page.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "next_page_cursor": 1,
    "success": true,
    "vehicles": [
      {
        "available": true,
        "color": "example",
        "external_id": "example",
        "id": 1,
        "is_trailer": true,
        "license_plate": "example",
        "model": "example",
        "name": "example",
        "skills": [
          "example"
        ],
        "team_id": 1,
        "user_id": 1,
        "vehicle_type_id": 1
      }
    ]
  }
}

Start a driver's shift

Start a driver's shift.

Inputs

Driver IDdriver_idnumber
Bringg's ID for the driver. Give this or the external ID.
Driver external IDdriver_external_idtext
Your own system's ID for the driver.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "shift": {
      "active_team_id": 1,
      "end_shift": "example",
      "id": 1,
      "start_shift": "example"
    },
    "success": true
  }
}

Start an order

Mark an assigned order as started, as when its driver sets off.

Inputs

Orderorder_idnumber
Bringg's ID for the order to start. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the order to start, when it has one.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "task": {
      "active_way_point_id": 1,
      "cancelled_at": "example",
      "created_at": "example",
      "customer_id": 1,
      "delivery_price": 1,
      "ended_time": "example",
      "external_id": "example",
      "extras": {},
      "id": 1,
      "late": true,
      "priority": 1,
      "ready_to_execute": true,
      "scheduled_at": "example",
      "started_time": "example",
      "status": 1,
      "tag_id": 1,
      "team_ids": [
        1
      ],
      "title": "example",
      "total_price": 1,
      "user_id": 1,
      "uuid": "example",
      "way_points": [
        {
          "address": "example",
          "address_second_line": "example",
          "checkin_time": "example",
          "checkout_time": "example",
          "city": "example",
          "done": true,
          "id": 1,
          "lat": 1,
          "late": true,
          "lng": 1,
          "no_earlier_than": "example",
          "no_later_than": "example",
          "position": 1,
          "scheduled_at": "example",
          "zipcode": "example"
        }
      ]
    }
  }
}

Update a customer

Change a customer's details. Fields left empty stay as they are.

Inputs

Customer IDcustomer_idnumber
Bringg's ID for the customer. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the customer.
Namenametext
The customer's name.
Emailemailtext
The customer's email address.
Phonephonetext
The customer's phone number.
Addressaddresstext
The customer's street address.
Address line 2address_second_linetext
The apartment or suite.
Citycitytext
The city.
Statestatetext
The state.
ZIP codezipcodetext
The ZIP code.
Send textsallow_sending_smstrue/false
Whether Bringg may text the customer updates.
Send emailsallow_sending_emailtrue/false
Whether Bringg may email the customer updates.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "customer": {
      "address": "example",
      "address_second_line": "example",
      "allow_sending_email": true,
      "allow_sending_sms": true,
      "city": "example",
      "email": "example",
      "external_id": "example",
      "id": 1,
      "lat": 1,
      "lng": 1,
      "name": "example",
      "phone": "example",
      "state": "example",
      "team_ids": [
        1
      ],
      "zipcode": "example"
    },
    "success": true
  }
}

Update a team

Change a team's details. Fields left empty stay as they are.

Inputs

Teambringg_team_idnumber
The team. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the team.
Namenametext
The team's new name.
Descriptiondescriptiontext
A description of the team.
Addressaddresstext
The team's address.
Address line 2address_second_linetext
The second line of the address.
Citycitytext
The city.
Statestatetext
The state.
ZIP codezipcodetext
The ZIP code.
Country codecountry_codetext
The two-letter country code, such as US.
Time zonetime_zonetext
The team's time zone, such as America/New_York.
Phonecontact_phonetext
The team's phone number.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "team": {
      "address": "example",
      "address_second_line": "example",
      "contact_phone": "example",
      "country_code": "example",
      "description": "example",
      "external_id": "example",
      "id": 1,
      "lat": 1,
      "lng": 1,
      "name": "example",
      "parent_team_id": 1,
      "service_cities": [
        "example"
      ],
      "service_zipcodes": [
        "example"
      ],
      "time_zone": "example",
      "zipcode": "example"
    }
  }
}

Update a user

Change a driver's or dispatcher's details. Fields left empty stay as they are.

Inputs

User IDbringg_user_idnumberRequired
Bringg's ID for the user. Give this or the external ID.
Job titlejob_descriptiontext
The user's job title.
Namenametext
The user's full name.
Emailemailtext
The user's email address.
Phonephonetext
The user's phone number.
Driverdrivertrue/false
Whether the user is a driver.
Dispatcherdispatchertrue/false
Whether the user is a dispatcher.
Teamsteam_idslist
The teams the user belongs to.
Skillsskillslist
The user's skills, such as fridge installation.
Languagelanguagetext
The language of the user's app, as a two-letter code such as en.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "user": {
      "active_shift_id": 1,
      "admin": true,
      "created_at": "example",
      "dispatcher": true,
      "driver": true,
      "email": "example",
      "external_id": "example",
      "id": 1,
      "job_description": "example",
      "lat": 1,
      "lng": 1,
      "name": "example",
      "phone": "example",
      "status": "example",
      "team_ids": [
        1
      ]
    }
  }
}

Update an order

Change an order's details or one of its destinations. Fields left empty stay as they are.

Inputs

Orderorder_idnumber
Bringg's ID for the order. Give this or the external ID.
External IDexternal_idtext
Your own system's ID for the order, when it has one.
Titletitletext
The order's title.
Driver IDdriver_idnumber
Bringg's ID for the driver to assign.
Priorityprioritynumber
The order's place in its route: 1 is the first stop.At least 1.
Ready to dispatchready_to_executetrue/false
On to send the order to drivers now; off to keep it in planning.
Total pricetotal_pricenumber
The order's total price.At least 0.
Delivery feedelivery_pricenumber
The delivery fee the customer pays.At least 0.
Tag IDtag_idnumber
Bringg's ID for the tag that sets the order's branding and flow.
Addressaddresstext
The destination's street address.
Address line 2address_second_linetext
The apartment, suite or floor.
Citycitytext
The city.
Statestatetext
The state.
ZIP codezipcodetext
The ZIP or postal code.
Country codecountry_codetext
The two-letter country code, such as US.
Latitudelatnumber
The destination's latitude.From -90 to 90.
Longitudelngnumber
The destination's longitude.From -180 to 180.
Scheduled forscheduled_atdate and time
When the order is due at the destination.
Window startsno_earlier_thandate and time
The start of the delivery window.
Window endsno_later_thandate and time
The end of the delivery window.
Destinationway_point_positionnumber
Which destination to change: 1 for the first, 2 for the second. Needed when changing a destination.From 1 to 2.

Outputs

dataobject
The response from Bringg.
Example output
{
  "data": {
    "success": true,
    "task": {
      "active_way_point_id": 1,
      "cancelled_at": "example",
      "created_at": "example",
      "customer_id": 1,
      "delivery_price": 1,
      "ended_time": "example",
      "external_id": "example",
      "extras": {},
      "id": 1,
      "late": true,
      "priority": 1,
      "ready_to_execute": true,
      "scheduled_at": "example",
      "started_time": "example",
      "status": 1,
      "tag_id": 1,
      "team_ids": [
        1
      ],
      "title": "example",
      "total_price": 1,
      "user_id": 1,
      "uuid": "example",
      "way_points": [
        {
          "address": "example",
          "address_second_line": "example",
          "checkin_time": "example",
          "checkout_time": "example",
          "city": "example",
          "done": true,
          "id": 1,
          "lat": 1,
          "late": true,
          "lng": 1,
          "no_earlier_than": "example",
          "no_later_than": "example",
          "position": 1,
          "scheduled_at": "example",
          "zipcode": "example"
        }
      ]
    }
  }
}

On this page