Custom Catalog REST API

The optional package mageb2b/custom-catalog-api exposes named catalog management and assignment services through Magento Web API.

composer require mageb2b/custom-catalog-api:*
php bin/magento setup:upgrade
php bin/magento cache:flush

Catalog records

Method Endpoint
GET /V1/customcatalog/catalog/:id
GET /V1/customcatalog/catalog/search
POST /V1/customcatalog/catalog
PUT /V1/customcatalog/catalog/:id
DELETE /V1/customcatalog/catalog/:id

Assignments

Catalog-centric routes assign and unassign products, customers and customer groups below /V1/customcatalog/catalog/:catalogId/....

Customer-centric routes manage catalogs below /V1/customcatalog/customer/:customerId/catalogs/.... Customer-group routes use /V1/customcatalog/customer-group/:customerGroupId/catalogs/.... Assignment reads include the store ID because customer and group assignments are store-view scoped.

Create a Magento integration with only the Custom Catalog resources it needs. After a synchronization, verify one affected customer in the storefront and process partial failures rather than treating an HTTP success as proof that every assignment changed.