# Allocated Warehouse gets Overwritten

**URL:** https://community.shiphero.com/t/allocated-warehouse-gets-overwritten/3196
**Category:** GraphQL API
**Created:** [February 5, 2025, 4:12pm UTC](https://community.shiphero.com/t/allocated-warehouse-gets-overwritten/3196 "2025-02-05T16:12:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@erik](https://community.shiphero.com/u/erik)
#### Post date: [February 5, 2025, 4:12pm UTC](https://community.shiphero.com/t/allocated-warehouse-gets-overwritten/3196/1 "2025-02-05T16:12:53Z")

</div>

Hi,

Our integrations to Shiphero are live but we see different behaviour in the test environment compared to the productive environment. When we send out orders to Shiphero for a specific warehouse, it gets overwritten with a different warehouse Id in the shiphero system.

The query below is for our warehouse in the UK (V2FyZWhvdXNlOjEwODE3NA==) but when we check the system afer a successful post we see that the order is registered for a different warehouse, (V2FyZWhvdXNlOjkxMzk2).

{“query”:"mutation Order\_create { order\_create( data: { order\_number: "80000098" shipping\_address: { XXX } line\_items: [ { sku: "en-qtp-blk-03" partner\_line\_item\_id: "80000098000010" quantity: 300 price: "0" warehouse\_id: "V2FyZWhvdXNlOjEwODE3NA==" … }

Is this a setting in Shiphero we need to adjust?

---

<div class="post-metadata">

### Author: ![tomasfd](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@tomasfd](https://community.shiphero.com/u/tomasfd)
#### Post date: [February 11, 2025, 1:34pm UTC](https://community.shiphero.com/t/allocated-warehouse-gets-overwritten/3196/2 "2025-02-11T13:34:32Z")

</div>

Hello Erik,  
That is because multi-warehouse allocation rules are set in your account and run over anything else. You can ask your CSM to set them according to your needs; you could use order tags to trigger them, for example.  
Have a nice day!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/2X/8/83f2a5ec5d7908b156cb6999baa4c753fadfa85d.svg) [@system](https://community.shiphero.com/u/system)
#### Post date: [February 15, 2025, 1:34pm UTC](https://community.shiphero.com/t/allocated-warehouse-gets-overwritten/3196/3 "2025-02-15T13:34:58Z")

</div>

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
