Bringg
App · 26 actions
Create and track delivery orders, and manage drivers, teams and customers in Bringg.
Actions
| Action | What it does |
|---|---|
| Add a note to an order | Add a text note to one of an order's destinations. |
| Cancel an order | Cancel an open order. |
| Check in at a destination | Record that the driver arrived at the order's current destination. |
| Check out of a destination | Record that the driver left the order's current destination. |
| Complete an order | Mark an order as done. |
| Create a customer | Create a customer that orders can be delivered to. |
| Create a team | Create a team, such as a store or a depot. |
| Create a user | Create a driver or dispatcher. |
| Create an order | Create an order (a task in Bringg) with one destination. |
| Delete a team | Delete a team. |
| Delete a user | Delete a driver, dispatcher or admin. |
| End a driver's shift | End a driver's shift. |
| Get a team | Get a team's details. |
| Get a user | Get a driver, dispatcher or admin by Bringg's ID or your own. |
| Get a vehicle | Get a vehicle or trailer by Bringg's ID or your own. |
| Get an order | Get an order with its destinations and status, by Bringg's ID or your own. |
| Get driver availability | List the drivers available now in the chosen teams, with where they are. |
| List open orders | List the orders that aren't done or cancelled yet. |
| List teams | List all of the account's teams. |
| List vehicles | List the account's vehicles and trailers, a page at a time. |
| Start a driver's shift | Start a driver's shift. |
| Start an order | Mark an assigned order as started, as when its driver sets off. |
| Update a customer | Change a customer's details. |
| Update a team | Change a team's details. |
| Update a user | Change a driver's or dispatcher's details. |
| Update an order | Change 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
- Order
order_idnumberRequired - Bringg's ID for the order.
- Destination ID
way_point_idnumberRequired - Bringg's ID for the destination, such as the order's active_way_point_id.
- Note
notetextRequired - 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
- Order
order_idnumber - Bringg's ID for the order to cancel. Give this or the external ID.
- External ID
external_idtext - Your own system's ID for the order to cancel, when it has one.
- Reason ID
reason_idnumber - Bringg's ID for one of your cancellation reasons.
- Reason
reasontext - 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
- Order
order_idnumber - Bringg's ID for the order. Give this or the external ID.
- External ID
external_idtext - Your own system's ID for the order, when it has one.
- Arrived at
time_atdate and time - When the driver arrived. Left empty, now.
- Lat
latnumber - Where it happened: the latitude.
- Lng
lngnumber - 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
- Order
order_idnumber - Bringg's ID for the order. Give this or the external ID.
- External ID
external_idtext - Your own system's ID for the order, when it has one.
- Left at
time_atdate and time - When the driver left. Left empty, now.
- Lat
latnumber - Where it happened: the latitude.
- Lng
lngnumber - 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
- Order
order_idnumber - Bringg's ID for the order to complete. Give this or the external ID.
- External ID
external_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 ID
external_idtext - Your own system's ID for the customer.
- Name
nametext - The customer's name.
- Email
emailtext - The customer's email address.
- Phone
phonetext - The customer's phone number.
- Address
addresstext - The customer's street address.
- Address line 2
address_second_linetext - The apartment or suite.
- City
citytext - The city.
- State
statetext - The state.
- ZIP code
zipcodetext - The ZIP code.
- Send texts
allow_sending_smstrue/false - Whether Bringg may text the customer updates.
- Send emails
allow_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
- Name
nametextRequired - The team's name.
- External ID
external_idtext - Your own system's ID for the team.
- Description
descriptiontext - A description of the team.
- Address
addresstext - The team's address.
- Address line 2
address_second_linetext - The second line of the address.
- City
citytext - The city.
- State
statetext - The state.
- ZIP code
zipcodetext - The ZIP code.
- Country code
country_codetext - The two-letter country code, such as US.
- Time zone
time_zonetext - The team's time zone, such as America/New_York.
- Phone
contact_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 ID
external_idtext - Your own system's ID for the user.
- Name
nametext - The user's full name.
- Email
emailtext - The user's email address.
- Phone
phonetext - The user's phone number.
- Driver
drivertrue/false - Whether the user is a driver.
- Dispatcher
dispatchertrue/false - Whether the user is a dispatcher.
- Teams
team_idslist - The teams the user belongs to.
- Skills
skillslist - The user's skills, such as fridge installation.
- Language
languagetext - 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 ID
external_idtext - Your own system's ID for the order.
- Order type
order_typetext - What the driver does at the destination.One of:
dropoff,pickup,return,pickup_and_dropoff(Pickup and dropoff). - Title
titletext - The order's title.
- Driver ID
driver_idnumber - Bringg's ID for the driver to assign.
- Priority
prioritynumber - The order's place in its route: 1 is the first stop.At least 1.
- Ready to dispatch
ready_to_executetrue/false - On to send the order to drivers now; off to keep it in planning.
- Total price
total_pricenumber - The order's total price.At least 0.
- Delivery fee
delivery_pricenumber - The delivery fee the customer pays.At least 0.
- Tag ID
tag_idnumber - Bringg's ID for the tag that sets the order's branding and flow.
- Team external ID
team_external_idtext - Your own system's ID for the team to give the order to. Left empty, Bringg assigns it.
- Customer ID
customer_idnumber - Bringg's ID for an existing customer, such as one Create a customer returned.
- New customer's name
customer_nametext - The name of a new customer to create with the order.
- New customer's phone
customer_phonetext - The new customer's phone number.
- New customer's email
customer_emailtext - The new customer's email address.
- Address
addresstext - The destination's street address.
- Address line 2
address_second_linetext - The apartment, suite or floor.
- City
citytext - The city.
- State
statetext - The state.
- ZIP code
zipcodetext - The ZIP or postal code.
- Country code
country_codetext - The two-letter country code, such as US.
- Latitude
latnumber - The destination's latitude.From -90 to 90.
- Longitude
lngnumber - The destination's longitude.From -180 to 180.
- Scheduled for
scheduled_atdate and time - When the order is due at the destination.
- Window starts
no_earlier_thandate and time - The start of the delivery window.
- Window ends
no_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
- Team
bringg_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 ID
bringg_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 ID
driver_idnumber - Bringg's ID for the driver. Give this or the external ID.
- Driver external ID
driver_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
- Team
bringg_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 ID
bringg_user_idnumber - Bringg's ID for the user. Give this or the external ID.
- External ID
external_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 ID
vehicle_idnumber - Bringg's ID for the vehicle. Give this or the external ID.
- External ID
external_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
- Order
order_idnumber - Bringg's ID for the order. Give this or the external ID.
- External ID
external_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
- Teams
team_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 size
limitnumber - How many to return on the page.From 1 to 100.
- Page cursor
cursornumber - 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 ID
driver_idnumber - Bringg's ID for the driver. Give this or the external ID.
- Driver external ID
driver_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
- Order
order_idnumber - Bringg's ID for the order to start. Give this or the external ID.
- External ID
external_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 ID
customer_idnumber - Bringg's ID for the customer. Give this or the external ID.
- External ID
external_idtext - Your own system's ID for the customer.
- Name
nametext - The customer's name.
- Email
emailtext - The customer's email address.
- Phone
phonetext - The customer's phone number.
- Address
addresstext - The customer's street address.
- Address line 2
address_second_linetext - The apartment or suite.
- City
citytext - The city.
- State
statetext - The state.
- ZIP code
zipcodetext - The ZIP code.
- Send texts
allow_sending_smstrue/false - Whether Bringg may text the customer updates.
- Send emails
allow_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
- Team
bringg_team_idnumber - The team. Give this or the external ID.
- External ID
external_idtext - Your own system's ID for the team.
- Name
nametext - The team's new name.
- Description
descriptiontext - A description of the team.
- Address
addresstext - The team's address.
- Address line 2
address_second_linetext - The second line of the address.
- City
citytext - The city.
- State
statetext - The state.
- ZIP code
zipcodetext - The ZIP code.
- Country code
country_codetext - The two-letter country code, such as US.
- Time zone
time_zonetext - The team's time zone, such as America/New_York.
- Phone
contact_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 ID
bringg_user_idnumberRequired - Bringg's ID for the user. Give this or the external ID.
- Job title
job_descriptiontext - The user's job title.
- Name
nametext - The user's full name.
- Email
emailtext - The user's email address.
- Phone
phonetext - The user's phone number.
- Driver
drivertrue/false - Whether the user is a driver.
- Dispatcher
dispatchertrue/false - Whether the user is a dispatcher.
- Teams
team_idslist - The teams the user belongs to.
- Skills
skillslist - The user's skills, such as fridge installation.
- Language
languagetext - 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
- Order
order_idnumber - Bringg's ID for the order. Give this or the external ID.
- External ID
external_idtext - Your own system's ID for the order, when it has one.
- Title
titletext - The order's title.
- Driver ID
driver_idnumber - Bringg's ID for the driver to assign.
- Priority
prioritynumber - The order's place in its route: 1 is the first stop.At least 1.
- Ready to dispatch
ready_to_executetrue/false - On to send the order to drivers now; off to keep it in planning.
- Total price
total_pricenumber - The order's total price.At least 0.
- Delivery fee
delivery_pricenumber - The delivery fee the customer pays.At least 0.
- Tag ID
tag_idnumber - Bringg's ID for the tag that sets the order's branding and flow.
- Address
addresstext - The destination's street address.
- Address line 2
address_second_linetext - The apartment, suite or floor.
- City
citytext - The city.
- State
statetext - The state.
- ZIP code
zipcodetext - The ZIP or postal code.
- Country code
country_codetext - The two-letter country code, such as US.
- Latitude
latnumber - The destination's latitude.From -90 to 90.
- Longitude
lngnumber - The destination's longitude.From -180 to 180.
- Scheduled for
scheduled_atdate and time - When the order is due at the destination.
- Window starts
no_earlier_thandate and time - The start of the delivery window.
- Window ends
no_later_thandate and time - The end of the delivery window.
- Destination
way_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"
}
]
}
}
}