The item-based widgets such as Frequently bought together, Frequently viewed together, Similar products, Top picks for you, Bestseller and Experience-Driven Recommendations use the unique identifier of the item on your site to show relevant recommendations.
Endpoints
Production: https://pathways.dxpapi.com/api/v2/widgets/item/{widget_id}
Staging: https://pathways-staging.dxpapi.com/api/v2/widgets/item/{widget_id}
The widget_id can be found in the Widget Configurator in the Dashboard.
Using item_ids with Similar Products
Using multiple item_ids (comma-separated values) is currently not supported for Similar Products recommendation widgets due to the limitation in the legacy More Like This widget (now Similar Products).
For more detailed information of any of the following API parameters, refer to the Recommendations and Pathways parameters reference.