From 9a8a97b395ea59e9e53939aed30d53cde540c477 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 25 Feb 2026 15:33:14 +0000 Subject: [PATCH] fix: rename hook type from products-recommendation to product-recommendations Updated hook type naming convention across documentation and changelog: - Changed plural "products" to singular "product" - Changed singular "recommendation" to plural "recommendations" https://claude.ai/code/session_01V9W6yascuDSpsftkS2bwKZ --- CHANGELOG.md | 4 ++-- apps/about-apps/components/external-product-catalog.md | 4 ++-- docs/apps/about-apps/components/external-product-catalog.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a29d908..77d98d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -217,7 +217,7 @@ This changelog covers breaking changes, new features, and significant updates to ## 2026-01-23 Pricing API -- New `POST /v1/public/external-catalog/products` and `POST /v1/public/external-catalog/products-recommendation` public endpoints were added +- New `POST /v1/public/external-catalog/products` and `POST /v1/public/external-catalog/product-recommendations` public endpoints were added ## 2026-01-22 Automation API @@ -455,7 +455,7 @@ This changelog covers breaking changes, new features, and significant updates to ## 2025-11-25 Pricing API -- New `POST /v1/public/integration/{integrationId}/products-recommendation` endpoint was added +- New `POST /v1/public/integration/{integrationId}/product-recommendations` endpoint was added ## 2025-11-25 Pricing API External Catalog diff --git a/apps/about-apps/components/external-product-catalog.md b/apps/about-apps/components/external-product-catalog.md index 2672656..cd0074c 100644 --- a/apps/about-apps/components/external-product-catalog.md +++ b/apps/about-apps/components/external-product-catalog.md @@ -29,7 +29,7 @@ They typically rely on your API for the execution of any necessary logic and exp The interface supports two types of data exchange, depending on the block being used in the journey: - **Products**: Returns an array of products (`type: "products"`). -- **Product Recommendations**: Returns a source product and a list of offer products (`type: "products-recommendation"`). +- **Product Recommendations**: Returns a source product and a list of offer products (`type: "product-recommendations"`). ### Template Variables @@ -100,7 +100,7 @@ Never hardcode sensitive credentials in your configuration. Always store API key After your External Product Catalog component is configured and the app is installed, it can be used within epilot's Journeys. Currently we support seamless integration of the external product catalog into the journey via Product Blocks and Product Recommendations Blocks (beta). -When a journey creator adds a **Product Block** or **Product Recommendations Block** in a journey, they can select the integration as the source for products. Only hooks that are supported for the selected block type will be available (e.g. only `products` hook for Product Block, only `products-recommendation` hook for Product Recommendations Block). +When a journey creator adds a **Product Block** or **Product Recommendations Block** in a journey, they can select the integration as the source for products. Only hooks that are supported for the selected block type will be available (e.g. only `products` hook for Product Block, only `product-recommendations` hook for Product Recommendations Block). diff --git a/docs/apps/about-apps/components/external-product-catalog.md b/docs/apps/about-apps/components/external-product-catalog.md index 2672656..cd0074c 100644 --- a/docs/apps/about-apps/components/external-product-catalog.md +++ b/docs/apps/about-apps/components/external-product-catalog.md @@ -29,7 +29,7 @@ They typically rely on your API for the execution of any necessary logic and exp The interface supports two types of data exchange, depending on the block being used in the journey: - **Products**: Returns an array of products (`type: "products"`). -- **Product Recommendations**: Returns a source product and a list of offer products (`type: "products-recommendation"`). +- **Product Recommendations**: Returns a source product and a list of offer products (`type: "product-recommendations"`). ### Template Variables @@ -100,7 +100,7 @@ Never hardcode sensitive credentials in your configuration. Always store API key After your External Product Catalog component is configured and the app is installed, it can be used within epilot's Journeys. Currently we support seamless integration of the external product catalog into the journey via Product Blocks and Product Recommendations Blocks (beta). -When a journey creator adds a **Product Block** or **Product Recommendations Block** in a journey, they can select the integration as the source for products. Only hooks that are supported for the selected block type will be available (e.g. only `products` hook for Product Block, only `products-recommendation` hook for Product Recommendations Block). +When a journey creator adds a **Product Block** or **Product Recommendations Block** in a journey, they can select the integration as the source for products. Only hooks that are supported for the selected block type will be available (e.g. only `products` hook for Product Block, only `product-recommendations` hook for Product Recommendations Block).