This article presents a possible use case and corresponding sample flow that you can support. This can be a helpful jumping off point as you plan your implementation.
When integrating with Wix Portfolio, you can configure a site's portfolio settings.
Call Get Portfolio Settings to retrieve the current portfolio settings.
Call Update Portfolio Settings to update the portfolio settings as desired.