Migration guide: MerchantProductOffersRestApi

Edit on GitHub

Upgrading from version 1.* to version 2.0.0

In this new version of the MerchantProductOffersRestApi module, we have split ProductOffer and Merchant context. You can find more details about the changes on the MerchantProductOffersRestApi module release page.

This release is a part of the ProductOffer and Merchant context leakage concept migration. When you upgrade this module version, you should also update all other installed modules in your project to use the same concept as well as to avoid inconsistent behavior.

To upgrade to the new version of the module, do the following:

  1. Upgrade the MerchantProductOffersRestApi module to the new version:
composer require spryker/merchant-product-offers-rest-api: "^2.0.0" --update-with-dependencies
  1. Update the generated classes:
console transfer:generate

Estimated migration time: 5 min