---
schema_version: "1"
id: 526406705c0cc4aa31bf0fca06edab099022c1f61b29cc62fa5aaf5e3647dcd9
title: Upgrading and Migrating Commerce Cloud B2C Shop Connector to Version 2.1
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/commerce-cloud-shop-api-connector/latest/shop-api-connector-upgrade.md
canonical_url: https://docs.mulesoft.com/commerce-cloud-shop-api-connector/latest/shop-api-connector-upgrade
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b24b52d2843c19aed87c72bb74e675636be034492a2e77b5c04d70a26f96307a
description: MuleSoft Documentation Site
release: "2.1"
latest: true
---
---
product: Salesforce Commerce Cloud B2C Shop API Connector
version: 2.1
is-latest-version: true
---

# Upgrading and Migrating Commerce Cloud B2C Shop Connector to Version 2.1

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Upgrade Anypoint Connector for Salesforce Commerce Cloud B2C Shop APIs (B2C Shop Connector) to take
advantage of the functionality provided by the Shopper Customer APIs version 0.0.24.

## Supported Upgrade Paths

<table><colgroup><col> <col></colgroup><thead><tr><th>From Version</th><th>To Version</th></tr></thead><tbody><tr><td><div><div><p>1.x.x</p></div></div></td><td><div><div><p>2.x.x</p></div></div></td></tr></tbody></table>

## Changes in This Release

- The connector is updated with the latest Salesforce Commerce B2C Shop APIs.

- The Shopper Customer endpoints that did not work in the previous version of the connector are
  fixed.

## Upgrade Prerequisites

Before you perform the upgrade, you must create a backup of your files, data, and configurations in
case you need to restore to them.

## Upgrade Steps

Follow these steps to perform the upgrade:

1.  In Anypoint Studio, create a Mule project.

2.  In the **Mule Palette** view, click **Search in Exchange**.

3.  In **Add Dependencies to Project**, enter `commerce cloud b2c shop` in the search field.

4.  In **Available modules**, select **<connector>** and click **Add**.

5.  Click **Finish**.

6.  Verify that the <connector> dependency version is <latest-version> in the `pom.xml` file in the
    Mule project.

Studio upgrades the connector automatically.

### Verify the Upgrade

After you install the latest version of the connector, follow these steps to verify the upgrade:

1.  In Studio, verify that there are no errors in the **Problems** or **Console** views.

2.  Verify that there are no problems in the project `pom.xml` file.

3.  Test the connection to verify that the operations work.

## Troubleshoot

If there are common known issues and errors that occur when upgrading, give troubleshooting tips.

### Revert the Upgrade

If it is necessary to revert to the previous version of B2C Shop Connector, change the
`connector-name-dependency` dependency version in the project’s `pom.xml` file to the previous
version.

You must update the project’s `pom.xml` file in Anypoint Studio.
