Migrate TaxAppRestApi to API Platform

Edit on GitHub

This document describes how to migrate the TaxAppRestApi Glue module to the API Platform TaxApp module.

Prerequisites

Complete the cross-cutting changes described in Migrate Glue REST API to API Platform before proceeding.

Overview

The TaxAppRestApi module provided a webhook processor endpoint for tax calculation callbacks from external tax services. This is now served by the API Platform TaxApp module.

1. Update module dependencies

composer require spryker/tax-app:"^X.Y.Z"
Version

Use the version that includes the API Platform resources. Check the module changelog for the exact version.

2. Regenerate transfers and API resources

docker/sdk cli console transfer:generate
docker/sdk cli glue api:generate
docker/sdk cli glue cache:clear

Relationship plugin status

The TaxAppRestApi module did not register any relationship plugins. No relationship changes are needed.