# Auto set number of consignment boxes for courier integration/labels

**URL:** <https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391>\
**Category:** Ideas & feature requests\
**Created:** [1 November 2023 10:13 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391 "2023-11-01T10:13:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![luke](https://community.breww.com/user_avatar/community.breww.com/luke/32/3636_2.png) [@luke](https://community.breww.com/u/luke)\
**Post date:** [1 November 2023 10:13 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/1 "2023-11-01T10:13:34Z")

</div>

This fantastic feature request was from @adam-henderson. I have split this from another thread with multiple suggestions into a single thread to ensure it can be tracked through to implementation properly and others voting know what they are voting for.

> [@Courier integrations improvements](https://community.breww.com/t/courier-integrations-improvements/3390/1):
>
> Auto set number of consignment boxes – in the past we have sort of fudged this with some rules, but I think a better way is to set available box sizes/weights and assign what combinations of product types can go in what box. For example.  
> • Box A can take single cans – max 12kg per box  
> • Box B can take 12packs OR 24packs – max 24kg per box  
> • Box C can take 30L Keykegs – max 30kg per box  
> • Box D can only 30L steel kegs – max 40kg per box  
> For example – if an order is  
> • 2x12pack (6kg)  
> • 1x24pack (12kg)  
> • 1x30L Keykeg (30kg)  
> The system would set 2 boxes on the consignment (1xBox B and 1xBox C) to fulfil the order.  
> Then orders can be set to auto select the correct and minimum number of boxes on the consignment. I am open to other suggestions on how to do this if you have them.

If you would find this useful, please give this thread a vote 👍

---

<div class="post-metadata">

**Author:** ![luke](https://community.breww.com/user_avatar/community.breww.com/luke/32/3636_2.png) [@luke](https://community.breww.com/u/luke)\
**Post date:** [15 November 2023 11:57 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/2 "2023-11-15T11:57:07Z")

</div>

Adding the idea here that when specifying your boxes, you could enter the dimensions of the box to ensure that Breww can pass over more specific dimensions to the courier when generating labels.

---

<div class="post-metadata">

**Author:** ![luke](https://community.breww.com/user_avatar/community.breww.com/luke/32/3636_2.png) [@luke](https://community.breww.com/u/luke)\
**Post date:** [19 December 2023 17:59 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/3 "2023-12-19T17:59:28Z")

</div>

@adam-henderson, following on from the [“Delivery rules” discussion thread](https://community.breww.com/t/how-to-configure-delivery-rules-to-automatically-schedule-your-deliveries/3604/10), I’ve another idea that might be a good middle ground between these two ideas. I wanted to move this part of the conversation here (rather than in the comments on the Delivery rules help article).

I do think your above idea is excellent, but it’s complex and may not be easily implemented in the short term. I have an idea that might be simpler for us to implement as it leverages more existing tooling, so I would like to get your thoughts on it (and the thoughts of anyone else looking for this feature).

I suggest that we build a brand new logic flow (much like the “Delivery rules” one, but separate, as you’ll probably have different conditions). It could have the same sorts of possible filters, but you wouldn’t need to worry about splitting the logic threads for own-vehicle/courier/etc, and it could be purely focused on determining the number of boxes.

The “outcome blocks” (where you set the delivery method with Delivery rules) would be a calculation for the number of boxes for the courier. Rather than just a fixed number, you could enter a formula (similar to how [Recipe calculated fields](https://community.breww.com/t/introduction-to-production/237#calculated-fields-in-recipes-3) work). You could have variables available to you for use in your formula, such as:

- number\_of\_casks
- number\_of\_kegs
- number\_of\_container\_type\_keykeg\_30l (for example. There could be a variable for each container type)
- number\_of\_smallpack\_mulitpacks
- number\_of\_smallpack\_singles
- number\_of\_smallpack\_total\_containers
- number\_of\_smallpack\_24\_packs
- number\_of\_smallpack\_12\_packs
- number\_of\_smallpack\_6\_packs
- …and probably many others, but that should give you an idea

I’ve made some assumptions on quantities (e.g. max 48 smallpack per box), but your formula could look something like this:

```auto
round_up(number_of_smallpack_total_containers / 48) + number_of_kegs

```

In this case, you might get away without needing any “Conditions” and just a formula, but with the option for conditions, you could do something like this to support pallets (assuming max 200kg via courier and max 400kg to a pallet):

```mermaid
flowchart TD
    A["If total weight over 200kg (i.e pallets)"]
    A -->|Yes| B["round_up(total_weight / 400)"]
    A -->|No| C["round_up(number_of_smallpack_total_containers / 48) + number_of_kegs"]

```

This idea wouldn’t help with box dimensions, but this might be less important.

I hope this all makes some sense. Please let me know what you think 😄

---

<div class="post-metadata">

**Author:** ![adam-henderson](https://community.breww.com/user_avatar/community.breww.com/adam-henderson/32/258_2.png) [@adam-henderson](https://community.breww.com/u/adam-henderson)\
**Post date:** [21 December 2023 15:06 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/4 "2023-12-21T15:06:45Z")

</div>

Hi Luke,

I think this will work fine, it is similar to what we do now but if it can do some actually maths then it will work better than what we had before.

I would say keep all keg/cask types as separate variables other than grouping them as a single one because they all weight different weights and depending on which one go though different couriers.

Thumbs up from me.

---

<div class="post-metadata">

**Author:** ![adam-henderson](https://community.breww.com/user_avatar/community.breww.com/adam-henderson/32/258_2.png) [@adam-henderson](https://community.breww.com/u/adam-henderson)\
**Post date:** [26 February 2024 16:23 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/5 "2024-02-26T16:23:51Z")

</div>

Hi,

Just wondered if there is any progress on this? We still have to set the service and each number of boxes manually on all orders so this will be a massive time saver.

---

<div class="post-metadata">

**Author:** ![luke](https://community.breww.com/user_avatar/community.breww.com/luke/32/3636_2.png) [@luke](https://community.breww.com/u/luke)\
**Post date:** [29 February 2024 11:16 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/6 "2024-02-29T11:16:53Z")

</div>

Not yet, I’m sorry, but this is on the radar.

---

<div class="post-metadata">

**Author:** ![olivier-schols1](https://community.breww.com/letter_avatar_proxy/v4/letter/o/da6949/32.png) [@olivier-schols1](https://community.breww.com/u/olivier-schols1)\
**Post date:** [12 February 2025 11:09 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/8 "2025-02-12T11:09:21Z")

</div>

Just would like to emphasis that this would be indeed a big saver. Currently we are working with 3rd-party for label creation and their 2 main benefits compared to the Breww integration:

1. Automatic rules on label creation, based on weight/product details (what is discussed here)
2. Able to manually select which label **s** to create. (e.g. if you have already created labels from orders placed before 9am and want to create labels for orders that came in between 9am and 10am, you can select these in Shiptheory. In Breww I believe you OR will print all labels, including the ones from before 9am OR you need to print every label seperate from orders that came in between 9am and 10am)  
If this could be fixed, it would be very tempting to move away from the 3rd party to Breww for label creation

---

<div class="post-metadata">

**Author:** ![luke](https://community.breww.com/user_avatar/community.breww.com/luke/32/3636_2.png) [@luke](https://community.breww.com/u/luke)\
**Post date:** [19 February 2025 10:55 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/9 "2025-02-19T10:55:00Z")

</div>

Thanks for the feedback, Olivier. Please can you also vote for this? Votes will move this up the priority list. For more information on how we process feature requests, please see [💡 Posting ideas & feature requests for Breww 💙](https://community.breww.com/t/posting-ideas-feature-requests-for-breww/22)

---

<div class="post-metadata">

**Author:** ![tom-smart](https://community.breww.com/user_avatar/community.breww.com/tom-smart/32/2922_2.png) [@tom-smart](https://community.breww.com/u/tom-smart)\
**Post date:** [11 July 2025 12:14 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/10 "2025-07-11T12:14:50Z")

</div>

Another vote for this!

---

<div class="post-metadata">

**Author:** ![jez-galaun](https://community.breww.com/user_avatar/community.breww.com/jez-galaun/32/2067_2.png) [@jez-galaun](https://community.breww.com/u/jez-galaun)\
**Post date:** [8 September 2026 15:10 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/11 "2026-09-08T15:10:41Z")

</div>

Could you simply add a setting to use “actual no. of items” OR a default no. of boxes that can be set, e.g. 1 box.  
Our couriers allow up-to 30kg and if someone orders 12 cans that’s one box, not 12 for e.g.

This shouldn’t require any complex logic?

---

<div class="post-metadata">

**Author:** ![luke](https://community.breww.com/user_avatar/community.breww.com/luke/32/3636_2.png) [@luke](https://community.breww.com/u/luke)\
**Post date:** [8 September 2026 15:58 UTC](https://community.breww.com/t/auto-set-number-of-consignment-boxes-for-courier-integration-labels/3391/12 "2026-09-08T15:58:38Z")

</div>

Some cases will be simple, but there are plenty of situations where more complex logic would be needed and we would like to cover some more complex cases too - such as a customer ordering two cases of 12 cans - where you might choose to put both in one outer box to pay the courier less.
