Skip to main content

BRT Integration

The BRT integration handles parcel and pallet shipments via the /brt interface in the back-office.

Interface Behavior

ConditionShipment Type
Pallet > 0Pallet shipment
Pallet = 0 and Parcel > 0Parcel shipment
Both at 0Falls back to the parcel count calculated from sold products

:::warning Limitation Mixed parcel + pallet shipments within a single BRT shipment are not supported. :::

API Mapping

Parcel Shipment

{
"numberOfParcels": "<parcel_count>"
}

Pallet Shipment

{
"palletType1": "EUR",
"palletType1Number": "<pallet_count>",
"numberOfParcels": 0
}

Tracking Model

  • Sold products selected within the same print action share a single logical BRT shipment reference
  • Labels from the response are stored on each selected SaleProduct
  • Tracking uses the BRT label identifiers from shipment_infos

Data Flow

Error Handling

  • Invalid pallet/parcel counts: the interface validates input before sending to the API
  • API timeout: retry the shipment from the back-office
  • Mixed shipment attempt: rejected at the interface level with a warning