# Connect Adobe Commerce (Magento 2) to Starshipit
URL: https://support.starshipit.com/articles/213430403-connect-adobe-commerce-magento-2-to-starshipit
Canonical: https://support.starshipit.com/articles/213430403-connect-adobe-commerce-magento-2-to-starshipit
Markdown: https://support.starshipit.com/articles/213430403-connect-adobe-commerce-magento-2-to-starshipit.md
Updated: 2026-11-26

> For the complete documentation index, see [llms.txt](https://support.starshipit.com/llms.txt).

> Connect Adobe Commerce to import orders, product images and identifiers, and write back tracking information.

Integrate your Adobe Commerce platform (previously Magento) with Starshipit using token or user authentication to import orders and write back tracking information.

:::important
Adobe Commerce 2.4 uses two-factor authentication by default, so use **Token** authentication. In Adobe Commerce 2.4.4, also allow OAuth access tokens to be used as standalone bearer tokens under **Stores > Configuration > Services > OAuth > Consumer Settings**.
:::

## Before you begin

You need your Adobe Commerce store URL and access to manage integrations in Adobe Commerce Admin. **Token** authentication is recommended.

## Choose API permissions

Use **Custom** resource access for standard Starshipit order import and shipment writeback. Select the resources for the features you use.

| What Starshipit needs to do | Resource in Adobe Commerce Admin |
| --- | --- |
| Read orders for import and connection testing | **Sales > Operations > Orders > Actions > View** |
| Read product details, including images and identifiers | **Catalog > Inventory > Products** |
| Read colour and size options | **Stores > Attributes > Product** |
| Look up a registered customer's address when the order has no shipping address | **Customers** |
| Create shipments with tracking and update order status | **Sales > Operations > Orders > Actions > Ship** and **Comment** |

For import only, leave **Ship** and **Comment** unselected and turn on **Disable writeback** in Starshipit. Adobe Commerce uses the same permissions to read and change products and product attributes. [See Adobe's API resource settings](https://experienceleague.adobe.com/en/docs/commerce-admin/systems/integrations).

WMS location lookup and inventory writeback use additional Adobe Commerce inventory APIs. If the connection also serves WMS, use the [Adobe Commerce WMS guide](/articles/14700000000052-set-up-adobe-commerce-magento-2-with-starshipit-wms) to verify location lookup and inventory sync before switching the token.

## Create an access token

1. In Adobe Commerce, go to **System > Extensions > Integrations**.
2. Click **Add New Integration** and enter `Starshipit` as the name.
3. Enter your Adobe Commerce admin password, then open the **API** tab.
4. Under **Resource Access**, select **Custom** and tick the [resources listed above](#choose-api-permissions).
5. Click **Save**.
6. Back on the Integrations page, click **Activate** for Starshipit and then **Allow**.
7. Copy the **Access Token** from the confirmation dialog.

## Connect Adobe Commerce in Starshipit

1. Go to **Settings > Integrations > Add a new integration > Adobe Commerce**. To update an existing connection in UI 2.0, open **Settings > Integrations > [Adobe Commerce](https://next.starshipit.com/settings/integrations/magento2)**.
2. Turn on **Enable Adobe Commerce**.
3. Select **Token** authentication and enter your store URL and access token.
4. Choose the order status or statuses to import. Separate multiple statuses with a semicolon.
5. Turn on **Disable writeback** if the connection is for order import only.
6. Click **Save**.

## Verify the connection

1. Select **Test connection** to confirm Starshipit can read orders.
2. Import a test order in one of the statuses you selected. Check its shipping address and expected product details in Starshipit.
3. If writeback is enabled, process a test shipment using your usual writeback workflow. In Adobe Commerce, check the shipment for the expected tracking number. Check the order history for a new comment and confirm the order has the expected status.

If the connection test succeeds but product details are missing, check **Products** and **Stores > Attributes > Product**. If the shipment or order history fails to update, check **Ship** and **Comment** and follow [Troubleshooting orders not updating your platform](/articles/6125898969487-troubleshooting-orders-not-updating-platform-writeback).

<!-- faq:start -->

<!-- faq:question -->Can I use user authentication instead?<!-- /faq:question -->

Yes. In Adobe Commerce, create a user role with **Custom** resource access and select the [same API resources](#choose-api-permissions). Assign the role to your integration user, then select **User** authentication in Starshipit and enter that user's username and password.

<!-- faq:end -->

## Optional order fields

To offer delivery instructions, authority to leave, or signature-required choices at checkout, create these Adobe Commerce custom fields:

```
delivery_comment (String max 100) for the delivery instruction  
authority_to_leave: values can be 0, 1, true, false, yes or no  
signature_required: values can be 0, 1, true, false, yes or no  
```
:::note
Add these fields to the `/rest/V1/orders/` order-search criteria API.
:::

Turn on **Import bundle items** only when you need bundle lines to import. Bundle details appear on customised packing slips; ship-together bundles are not supported.

## Import payment details into order notes

In UI 2.0, go to **Settings > Integrations > [Adobe Commerce](https://next.starshipit.com/settings/integrations/magento2)** and open your store. Under **Advanced settings**, turn on **Import payment details into order notes**, then select **Save**.

Open a newly imported order and check **Notes** for the amount paid, currency and any transaction ID Adobe Commerce supplied. The note records payment at import. Check Adobe Commerce for later payments.

If you want these notes on a packing slip, [add order notes to your template](/articles/9067623250063-configure-packing-slips-using-the-template-editor#show-order-notes-on-packing-slips).

## Import manufacturer codes and barcodes

Starshipit imports these fixed Adobe Commerce product attributes on newly imported orders. There is no separate identifier-mapping setting to enable.

| Adobe Commerce attribute | Starshipit field | What to check |
| --- | --- | --- |
| `manufacturer_sku` | **Manufacturer Product ID** | Use the manufacturer's code for the purchased product. |
| `upc` | **Barcode** | Use the recognised identifier for the purchased product or variant. Leading zeroes are retained. |

For configurable products, the purchased variant's `manufacturer_sku` takes priority. If it is blank, Starshipit uses the configurable parent's `manufacturer_sku`. The Barcode comes only from the purchased variant's `upc`; it does not fall back to the parent's barcode. Other custom attribute names are not mapped by this feature.

1. Populate the relevant attributes on your products in Adobe Commerce.
2. Import a new representative order, including a variant if you sell configurable products.
3. In Starshipit UI 2.0, open the order's **Items** section and show **Manufacturer Product ID** and **Barcode** if the columns are hidden.
4. Compare both values with the purchased product or variant before shipping.

`upc` populates **Barcode**, rather than the dedicated **Standardised Product ID** field. See [Set up product identifiers for EU shipments](/articles/1790827200001-set-up-product-identifiers-for-eu-shipments) for courier requirements and fallback behaviour. The existing item SKU is unchanged.

Changing product attributes does not backfill existing orders. Correct an existing unprinted order, or [apply Product Catalogue to eligible existing orders](/articles/1792513200001-apply-product-catalogue-to-existing-orders) if you have saved matching catalogue data.

If an imported value is missing or different, check the exact attribute code and the purchased variant first. Then review [Product Catalogue settings](/articles/1781620000002-configure-product-catalogue-settings): catalogue overwrite can replace imported values, including with blanks if protection against empty values is off.

## Use product images on packing slips

Starshipit imports the Adobe Commerce product's `image` attribute on newly imported order items. No separate image-import setting is required. For configurable products, the purchased variant's image takes priority; if it has no image, Starshipit uses the configurable parent's image.

1. Check that the product or purchased variant has an image in Adobe Commerce.
2. Import a representative new order into Starshipit.
3. Follow [Add images to packing slips and packing summaries](/articles/10764333384719-add-images-to-packing-slips-and-packing-summaries) to select an image template or use `%ItemImage%` in the item table.
4. Generate a packing slip and confirm that the image matches the purchased SKU or variant before using it to pack orders.

A missing image or an `image` value of `no_selection` leaves the item without an image. An image on a bundle parent is not inherited by its components. Product changes do not backfill existing Starshipit orders. If an image is missing from a new order's packing slip, check the source image and the template before changing the integration.

## Configure Adobe Commerce settings

Complete the following fields when you connect Adobe Commerce (Magento 2). You can update them later from **Settings > Integrations > Adobe Commerce (Magento 2)**.

| Setting | What it controls |
| --- | --- |
| **Enable Magento2** | Turns the connection on or off. |
| **Authentication** | Choose **User** authentication or **Token** authentication. Token authentication is recommended for Adobe Commerce 2.4. |
| **Store URL** | The base URL of your Adobe Commerce store. |
| **Access Token** | The token used for Token authentication. |
| **Username** and **Password** | Credentials used for User authentication. |
| **User Agent** | Optional value sent to Adobe Commerce to identify Starshipit requests. |
| **Status** | Selects the Adobe Commerce order status to import. |
| **Disable writeback** | Stops Starshipit from sending shipment and tracking updates back to Adobe Commerce. |
| **Use base currency value fields** | Uses Adobe Commerce base-currency values when importing order amounts. |
| **Import payment details into order notes** | [Adds payment information to Notes on newly imported orders](#import-payment-details-into-order-notes). |
| **Map address line 2 to building field** | Maps address line 2 into Starshipit's Building field. |
| **Import bundle items** | Imports bundle items. Bundle details are available on customised packing slips; ship-together bundles are not supported. |
| **Unit of Measurement** | Selects the unit used when importing product dimensions. |

Click **Save** after changing settings, then [verify the connection](#verify-the-connection).
