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: manage/manage_customer_group for reads, save/save_customer_group for writes and delete/delete_customer_group for deletes.

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

Display preferences

Adjust how this website is displayed. Changes apply immediately.

Text size
Text spacing
Reading aids

Follows the pointer. Move it with Alt + Up/Down outside input fields. Hidden while a dialog is open.

Uses the voices provided by your browser, which may use an online service. Reading starts only when you press Read aloud.

Your choices are saved in this browser for this website.