Create Order (Task)Ask AIpost https://developer-api.bringg.com/services/6f15901b/{service_uuid1}/{service_uuid2}Send the details of a new order to Bringg from your Order Management System (OMS).Body Paramscreate_groupbooleanIndicates whether to automatically group this order with other orders that have the same customer or grouping key.truefalsecreate_linked_tasksbooleanWhen both the pickup and dropoff location for an order are destinations on a route (neither are located at the route origin), true creates two linked orders for individual optimization.truefalsecustomerobjectAn object containing detailed information about a new customer to create and associate with this order. NOTE: Use either the customer object attribute (create a new customer) or the customer_id attribute (an existing customer). For more information about customer object attributes, see Customer Object.customer objectdelivery_costdoubleThe cost per delivery charged by a third-party carrier.delivery_pricedoubleThe delivery fee that the customer pays at checkout.discountdoubleThe discount applied to this order at checkout.external_fleet_idstringYour external system's ID for the carrier assigned to this order.external_idstringThe order's ID in your external systems.external_user_idstringYour external system's ID for the driver associated with this order.extrasjsonThis field can be used to send custom attributes to Bringg.has_parking_areabooleanIndicates whether there is a loading/unloading zone at the destination.truefalseleft_to_be_paiddoubleThe unpaid balance of this total order.left_to_be_paid_for_deliveryfloatThe unpaid balance for delivery of this order.notesarray of objectsAn array of notes associated with the order. Read more about the Order Notes Object.notesADD objectpayment_methodint32The payment method for this order. The values are: 0: unknown 1: cash 2: credit 3: check 4: credit card terminalpayment_type_namestringThe name of the payment type, used to specify which payment equipment is required for this order.price_before_taxdoubleThe net price of this order (not including taxes).priorityint32Priority of the order within assigned route. For example, Priority 1 is the first stop in the route. Should be used when orders are sent to Bringg already assigned to a Route.quote_idint32The 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.rankint32Defines the priority of a customer or order when using Route Optimization or AutoDispatch. null is the lowest rank, 1 is the highest rank. 0 in not accepted.ready_to_executebooleanIndicates whether this task is in planning phase or has been dispatched to drivers.Possible values: false or 0- the order appears in the Planning tab and is not visible to drivers trueor1 - the order appears in the Dispatch tab and is visible to drivers.truefalserequired_skillsarray of stringsAn array of driver skills or vehicle capabilities required to carry out this order, such as "fridge installation".required_skillsADD stringreserved_untildateDate and time when the reservation of a delivery slot for an order expires. If the order is not confirmed by this time, the delivery slot reservation expires and the order is canceled.runobjectThe details of the route associated with this order. Include when creating routes outside of Bringg.run objectrun_external_idstringYour external system's ID for the route associated with this order. Include when creating routes outside of Bringg. Can be used instead of the "run" object when only needing to specify the planned route external ID.service_feedoubleThe service fee charged by an external carrier. Usually calculated as a percentage of the order's subtotal.service_plan_external_idstringYour external system's ID for the service plan applied to this order.service_plan_idstringIndicates which Service Plan should be applied to the order. Service Plans are used to set SLA and relevant driver actionssmall_cart_feedoubleA fee applied when the customer's order subtotal does not meet the "small cart" threshold.tag_idint32Bringg's ID for the relevant tag, which determines the branding and workflows to use for this order.task_configuration_idint32Bringg's ID for the Driver Action to be associated with the order. ID can be found in the Dashboard > Settings > Driver App > Actions Configuration.task_inventoriesobjectThe Order Inventories object provides detailed information about inventory items associated with an order.task_inventories objecttask_type_idint32Indicate whether an order is a Pickup (2), Return (3), Dropoff (4) or both Pickup and Dropoff (5).tax_pricedoubleThe total tax amount charged for the order.team_external_idstringYour external system's ID for the assigned team. Omit to assign in Bringg.tipdoubleThe tip (gratuity) paid to the driver by the customer for this order.tip_driver_enabledstringIndicates whether the driver can be tipped for this order.titlestringThis order's title. The maximum length is 255 characters.total_handling_unitsstringUse to ensure that the vehicle does not exceed capacity even if a customer adds last-minute items to their order.total_pricedoubleThe total price of this order.total_weightint32Use to ensure vehicle capacity even if consumer adds last minute items to their order. Bringg calculates according to the higher value : total_weight or the aggregated weight of all inventory items in the order.user_idint32Bringg's ID for the driver associated with this order.virtual_taskbooleanIndicates if an order should be scheduled by the customer or a dispatcher, such as when created as part of an unconfirmed quote.truefalseway_pointsarray of objectsrequiredAn array of one or two objects containing destination information. Read more about the Way Point Object.way_points*ADD objectResponses 200200 400400Updated 8 months ago