---
title: Link orders to B2B company locations on import
date: 2026-05-12
description: Order imports can now attach to a B2B Company Location via new Company and Company: Location columns - useful for migrating historical B2B order history.
tags: ["Orders","Companies","Migration"]
categories: ["Changelog"]
url: https://www.getaltera.com/changelog/2026-05-12-link-orders-to-b2b-company-locations/
---


Migrating a B2B store onto Shopify? Order imports can now attach to a company location so buyers see their full history on their company's customer account page.

### What's new

- **Companies column group** - new optional section in order exports and imports with `Company: ID`, `Company: Name`, `Company: External ID`, `Company: Location ID`, `Company: Location Name`, and `Company: Location External ID` (see [Order Fields](https://support.getaltera.com/en/articles/11490221-order-fields)).
- **Lookup chain** - the importer resolves each side by ID, then External ID, then Name. Location lookups are scoped to the resolved Company so duplicate location names across companies don't collide.
- **Sample file** - [Orders_Sample_B2B_Company_Linking.csv](https://static.getaltera.com/sample_files/Orders_Sample_B2B_Company_Linking.csv) shows the minimum columns to import a B2B order.

### Heads-up

- The customer on the order must already be a contact at the target location with an active role (e.g., **Ordering only** or **Location admin**). Import companies, locations, and contacts first.
- Shopify's order update API can't change the company link on an existing order. Use `REPLACE` if you need to re-link.

