The order object is included in many webhook callbacks and contains all available values related to an order in Bringg.
Order Details
To create or update orders in Bringg, it's important to understand the different parameters that you can use in your payloads. Not all parameters are relevant for each order, so be sure to only include those that are relevant for your use organization. For example, if you wish to assign an order to your own fleet or for an order to be assigned once it is already in Bringg, do not include fleet_id in your payload.
Below is a list of all available parameters. If there are parameters that you want to include but are not listed here, you can create custom attributes that can be displayed and used throughout Bringg.
Best practiceWe recommend using external IDs, which you define, in your requests. This reduces the need for you to map entities that already exist in your other systems.
For example, after creating a service plan in the Bringg UI or with the Create Service Plan endpoint, use the
service_plan_external_idparameter when creating orders instead of mapping and sendingtag_idandtask_configuration_id.
Parameter | Description | Validations and Notes |
|---|---|---|
* | Indicates whether to automatically group this order with other orders that have the same customer or grouping key. | Possible values: |
* | When both the pickup and dropoff location for an order are destinations on a route (neither are located at the route origin), | To create linked tasks, send your payload as a task object. For example: |
* | An object containing detailed information about a new customer to create and associate with this order. | To attach an order to an existing customer, include their |
* | The cost per delivery charged by a third-party carrier. | |
* | The delivery fee that the customer pays at checkout. | |
* | The discount applied to this order at checkout. | |
* | The order's ID in your external systems. | |
* | Your external system's ID for the carrier assigned to this order. | Omit or leave this parameter |
* | The selected team's ID in your external systems. | Include |
* | Your external system's ID for the driver associated with this order. | |
* | This field can be used to send custom attributes to Bringg. | JSON format of field and value. For example:
|
* | Indicates whether there is a loading/unloading zone at the destination. | |
* | The unpaid balance of this order. | |
* | An array of notes associated with the order. Each note should include the | For example:
|
* | The name to use as the creator of the note. | Possible values: |
* | The payment method for this order. | Possible values: |
* | The name of the payment type, used to specify which payment equipment is required for this order. | |
* | The net price of this order (not including taxes). | |
* | Priority of the order within an assigned route. For example, Priority | Should be used when orders are assigned to a route before being sent to Bringg. |
* | The ID of a quote received as a response from the Get Quotes request and selected for use in your external systems, such as customer checkout. | Learn more about the Quotes object. |
* | Defines the priority of a customer or order when using Route Optimization or AutoDispatch. |
|
* | Indicates whether this order is in planning phase or has been dispatched to drivers. | Possible values: |
* | An array of driver skills or vehicle capabilities required to carry out this order, such as "fridge installation". | Learn more about setting up skills in Bringg. |
* | The ID in your system for the Service Plan applied to this order. Service Plans are used to set SLA and driver actions. | |
* | A fee applied when the customer's order subtotal does not meet the "small cart" threshold. | \When updating a leg of a linked order using the order's external_id, use this field to indicate which leg.- |
* | Indicates the order type. Can also be automatically generated when inventory or waypoint objects indicate the order type. | When updating a leg of a linked order using the order's |
* | The total tax amount charged for the order. | |
* | The tip (gratuity) paid to the driver by the customer for this order. | |
* | Indicates whether the driver can be tipped for this order. | Possible values: |
* | The order's title. | Maximum 255 characters |
* | Use to ensure that the vehicle does not exceed capacity even if a customer adds last-minute items to their order. When omitted, Bringg calculates the aggregated | |
* | The total price of this order. | |
* | Use to ensure order does not exceed vehicle capacity even if customers add last-minute items to their order. Bringg calculates according to the higher value, | |
* | The vehicle associated with this order. | |
* | Indicates if an order should be scheduled by the customer or a dispatcher, such as when created as part of an unconfirmed quote. | Possible values: |
* | An array of one or two objects containing destination information. Read more about the Way Point Object. | Required |
Response and Webhook Data
Below is a list of the data returned in webhooks and responses to your API requests. The inclusion of specific parameters may depend on your use case, your API request, and the webhook fields you have subscribed to.
Parameter | Description |
|---|---|
success | Indicates whether the service completed successfully.
|
message | If an error occurred, a message indicating the error is included. |
rc | If an error occurred, the return code is included. |
accept_time | The date and time when the driver accepted this order. |
acknowledged_at | The time at which the order was acknowledged by a dispatcher. If orders are auto-acknowledged, then this time is set upon creation. |
active_way_point_id | The ID for the incomplete waypoint associated with this order. |
automatically_assigned | Indicates whether this order was automatically assigned. The values are: |
automatically_cancelled | Indicates the method used to cancel this order. Possible values: |
automatically_ended | Indicates the method used to end this order. Possible values: |
automatically_started | Indicates the method used to start this order. Possible values: |
cancelled_at | The date and time when this order was canceled. |
created_at | The date and time this order was created. This is in UTC and is in the format is "%Y-%m-%dT%H:%M:%S%z". |
customer_id | Bringg's ID of the customer associated with this order. |
delete_at | A null timestamp indicates that the entity is still active or present in Bringg. |
delivery_cost | The delivery fee charged by a third-party carrier. |
delivery_price | The delivery fee charged by you to your end customer. |
delivery_window_id | Bringg's ID for the delivery window selected by or assigned to the customer. |
discount | |
dispatcher_id | The ID of the dispatcher who assigned this order. |
distance_automatically_set | Indicates how the distance_traveled for this order was calculated. Possible values: |
distance_traveled | The actual distance traveled (in km). |
driver_payments | An array including details of all payments accepted by a driver for this order. |
ended_time | The date and time when the order was canceled or marked as complete. |
external_carrier_tracking_url | The carrier's tracking link. |
external_id | Your external system's ID for this order. |
external_user_id | Your external system's ID for the driver associated with this order. |
failed_delivery_attempts | The number of times a driver unsuccessfully attempted to deliver the order. |
fleet | An object containing the details of an assigned or quoted carrier. |
fleet_delivery_external_id | The external carrier's ID for the order. |
fleet_id | Bringg's ID for the external carrier. |
group_leader_id | If this order is part of a group of orders, this is the ID of the order representing the entire collection of orders in the group (the parent order containing all child orders in the group). This is the ID that Bringg operators (for example, dispatchers and users/drivers) view. NOTE: Bringg internally maintains each order and each order contains the same group leader ID. |
group_uuid | If this order is a group of orders, this is the UUID of the group (see |
id | The unique ID of this order in Bringg. |
invalidated | When |
last_assigned_time | The last date and time this order was assigned to a driver. |
last_ready_to_execute_at | The last time this order was marked as ready to execute. |
last_way_point_lat | The geographical latitude for the last waypoint for the order. |
last_way_point_lng | The geographical longitude of the last waypoint for the order. |
late | Indicates whether the driver has not arrived at a destination in this order on or before the scheduled times. The values are: |
late_reason | |
left_to_be_paid | The unpaid balance of this total order. |
linked_task_id | Bringg’s ID for a linked order. Linked orders are created when one order is split into distinct tasks for each waypoint. |
merchant_id | The ID of the merchant to which the order belongs. |
parent_task_id | If this order was created from another order (for example, one that failed), this is the ID of the original order. |
payment_type_name | The name of the payment type. For example, Visa, Mastercard, or Amex. |
planned_distance_from_prev_task | The distance to this order's last waypoint from the last waypoint of the preceding order in the route, as calculated during Route Optimization and via manual planning adjustments in the route planner. |
planning_done | Indicates if this order has been organized into a route, and that route has been marked as "Done Planning." |
planning_published | Indicates if the planned delivery window has been finalized or shared with the customer. |
post_delivery_tip_cash | The tip (gratuity) paid to the driver in cash after delivery. |
post_delivery_tip_credit | The tip (gratuity) paid to the driver by credit after delivery. |
pre_delivery_tip | The tip (gratuity) paid to the driver before delivery. |
preparation_acknowledge_time_actual | Time and date when the order was actually acknowledged. |
preparation_end_time_actual | Time and date when the order actually ended. |
preparation_end_time_planned | Time and date when the order was scheduled to end. |
preparation_picked_up_time_actual | Time and date when the order was actually picked up. |
preparation_ready_for_pickup_time_actual | Time and date when the order was actually ready for pick up. |
preparation_ready_for_pickup_time_planned | Time and date when the order was scheduled to be ready for pickup. |
preparation_start_time_actual | Time and date when preparation of the order actually began. |
preparation_start_time_planned | Time and date when preparation of the order was scheduled to begin. |
preparation_status | The order's stage in the preparation workflow. Possible values: |
price_before_tax | The net price of this order not including taxes. |
priority | Sequence of the order within an assigned route. For example, Priority 1 is the first stop in the route. |
ready_to_execute | Indicates whether this order is in planning and not visible to users (drivers). The values are:
|
recurrent_task_template_id | Designates the recurring order series that generated this order. See Create Recurring Order Template. |
reserved_until | Date and time when the reservation of a delivery slot for an order expires. If the order is not completed by this time, the delivery slot reservation expires and the order is canceled. |
run_id | The ID of the route the order is assigned to. |
run_start_time | If the order is part of a "run", this is the start date and time of the "run". A "run" is a group of user (driver) tasks beginning at the time a user (driver) leaves a "base" and ending when the user (driver) returns to that "base". |
run_uuid | The UUID of the run the order is assigned to. Use |
scans | An array of objects including details about barcode scans related to an order, such as for inventory items. |
scheduled_at | The date and time this order was scheduled. This is in UTC and is in the format " %Y-%m-%dT%H:%M:%S%z". |
scheduled_to_be_ready | The date and time when an order is scheduled to be ready for pickup from a waypoint. |
service_fee | The service fee charged by an external carrier. Usually calculated as a percentage of the subtotal of the order. |
service_plan_id | Bringg's ID for the Service Plan applied to this order. Service Plans are used to set SLA and driver actions. |
shared_locations | Array of objects that includes URLs, tokens, and identifying data related to the customer experience for a waypoint. |
shift_id | Bringg's ID for the driver's shift when fulfilling this order. |
start_lat | The geoposition latitude of the driver when this order started. |
start_lng | The geoposition longitude of the driver when this order started. |
started_time | The date and time when the driver started this order. This is in UTC and is in the format " %Y-%m-%dT%H:%M:%S%z". |
status | Indicates the current status of this order. Possible values include: |
tag_id | The Bringg ID of the tag associated with this order. |
tax_price | The tax amount of the price of this order. |
tip | The tip (gratuity) paid to the driver for this order. |
tip_driver_enabled | Indicates whether the user (driver) is allowed to be tipped. The values are:
|
title | This order's title. The maximum length is 255 characters. |
total_price | The total price of this order. |
updated_at | The date and time of the last update for this order. This is in UTC and is in the format " %Y-%m-%dT%H:%M:%S%z". |
user_id | Bringg's ID for the driver associated with this order. |
uuid | A universally unique identifier (UUID) for this order. |
way_points | The list of waypoints associated with this order. For more details, see the Way Point Object. |
