This article presents possible use cases and corresponding sample flows that you can support. It provides a useful starting point as you plan your implementation.
You can use the Wix Portfolio APIs to organize and showcase property listings on a site, where each listing represents a project. You can also group listings into collections based on property types, such as "Luxury Homes" or "Beachfront Properties."
To organize property listings on a portfolio site:
Call Update Portfolio Settings to define the portfolio settings for the property listings site.
Call Create Collection for each property type, such as "Luxury Homes" or "Beachfront Properties." Save each collection ID for later steps.
Listen for the Project Created and Project Item Created events to detect when the Wix user creates new projects and project items. Save each project ID for a later step.
The Wix user creates projects for each property listing using Wix Portfolio, adding media items such as images and videos. The events from step 3 trigger automatically each time a project or project item is created.
Analyze each project's details and media items, then call Update Project with the relevant project ID and collection ID to assign it to a collection.