REST API

The API package exposes separate CRUD and search routes for customer and customer-group category prices.

composer require mageb2b/pricesystem-categoryprice-api:*
php bin/magento setup:upgrade
php bin/magento cache:flush
Resource Method and endpoint
Read customer record GET /V1/pricesystem/categoryprice/:id
Search customer records GET /V1/pricesystem/categoryprice/search
Create customer record POST /V1/pricesystem/categoryprice
Update customer record PUT /V1/pricesystem/categoryprice/:id
Delete customer record DELETE /V1/pricesystem/categoryprice/:id
Read group record GET /V1/pricesystem/categoryprice/customergroup/:id
Search group records GET /V1/pricesystem/categoryprice/customergroup/search
Create group record POST /V1/pricesystem/categoryprice/customergroup
Update group record PUT /V1/pricesystem/categoryprice/customergroup/:id
Delete group record DELETE /V1/pricesystem/categoryprice/customergroup/:id

Search routes accept Magento searchCriteria parameters. Use a Magento integration with the matching Category Price ACL permissions.

These endpoints manage records. The Pricesystem REST API provides calculated-price operations.